diff --git a/custom_bin/flashmonitor b/custom_bin/flashmonitor index 984ddb9..5ded857 100644 --- a/custom_bin/flashmonitor +++ b/custom_bin/flashmonitor @@ -5,8 +5,7 @@ echo -e "\nFlashing and Monitoring for $ESPTARGET on $ESPPORT\n" # if tehre is no CMakeLists.txt in cwd, setup to defaults with idf.py set-target and not setup as that goes through menuconfig if [ ! -f "./CMakeLists.txt" ]; then - # run the setup tool instead - setup + bash setup fi idf.py --preview flash monitor diff --git a/custom_bin/rebuild-interactive b/custom_bin/rebuild-interactive index a8fe840..bb077d8 100644 --- a/custom_bin/rebuild-interactive +++ b/custom_bin/rebuild-interactive @@ -7,31 +7,23 @@ echo -e "\nFully Rebuildan~\n" bash fullclean # use setup script instead -setup +bash setup echo -e "\nErase flash? y/n" read wipe if [ "$wipe" == "y" ]; then - # echo -e "\nExecuting erase-flash\n" - # idf.py --preview erase-flash - # echo -e "\nFlash wiped\n" bash erase-flash fi echo -e "\nRun menuconfig y/n?\n" read menuconfig if [ "$menuconfig" == "y" ]; then - echo -e "\nExecuting menuconfig\n" - idf.py --preview menuconfig - echo -e "\nConfig Complete\n" + bash menuconfig fi echo -e "\nSave as Default Config? y/n?\n" read defconfig if [ "$defconfig" == "y" ]; then - # echo -e "\nExecuting save-defconfig\n" - # idf.py --preview save-defconfig - # echo -e "\nDefault Config Saved\n" bash save-defconfig fi