diff --git a/esp-idf-tools-cmd.sh b/esp-idf-tools-cmd.sh index 2a37265..b573515 100644 --- a/esp-idf-tools-cmd.sh +++ b/esp-idf-tools-cmd.sh @@ -378,7 +378,7 @@ function handleDownloadInstall() { # if gitDataLog file doesnt exist, initialize with header if [[ ! -f "$versionData" ]]; then writeToLog "date&time ddmmYYYY H:M:S (unix seconds) | esp-idf branch | esp-idf-tools version | action" - echo "date&time ddmmYYYY H:M:S (unix seconds) | esp-idf branch | esp-idf-tools version | actio" > "$versionData"; + echo "date&time ddmmYYYY H:M:S (unix seconds) | esp-idf branch | esp-idf-tools version | action" > "$versionData"; fi # date&time ddmmYYYY H:M:S (unix seconds) | esp-idf branch | esp-idf-tools version | action @@ -552,6 +552,8 @@ elif [[ "$arg" == "interactive" || "$arg" == "install" || "$arg" == "i" ]]; then if [ ! -z $readIdfGet ]; then idfGet="$readIdfGet" + else + idfGet="download" fi writeToLog "\n === New $action ===\n" diff --git a/todo.txt b/todo.txt index 0950833..d8cd2ab 100644 --- a/todo.txt +++ b/todo.txt @@ -1,38 +1,37 @@ -export -changeport -erase-flash -setup -espinfo -changetarget -changebaud -clean -fullclean -help-esp-tools -flashmonitor -monitor -step-flash-monitor -menuconfig -imagesize -create-project -rebuildfull -chipinfo -esp-install-monitor -esp-install-logs -run-esp-cmd [help h -h --help] -run-esp-cmd [t test] +x export [with and without uart in dmesg] +x changeport [/dev/ttyX] +x erase-flash +x setup +x build +x espinfo +x changeesp [esp chip] +x changebaud [baud] +x clean +x fullclean +x flashmonitor +x monitor +x step-flash-monitor +x menuconfig +x imagesize +x create-project +x rebuildfull +x chipinfo +x esp-install-monitor +x esp-install-logs +x help-esp-tools +x run-esp-cmd [help h -h --help] +x run-esp-cmd [t test] run-esp-cmd [n nuke] -run-esp-cmd [i interactive install] -run-esp-cmd [c cron] +x run-esp-cmd [i interactive install] +x run-esp-cmd [c cron] fresh install from nothing -x audit readme - x maybe pretty up - +next: remove unneeded code - add new stuff to error checking - -x support bashhhh (experimental) + esp device +parse chipinfo to be pretty +support bashhhh (experimental) x text export and changeesp x test help on cmd, help-esp-tools