diff --git a/custom_bin/rebuild-auto-flashmonitor b/custom_bin/rebuild-auto-flashmonitor index 4b2b6c0..62e7ec7 100644 --- a/custom_bin/rebuild-auto-flashmonitor +++ b/custom_bin/rebuild-auto-flashmonitor @@ -4,7 +4,7 @@ echo -e "\nFully Rebuildan~\n" echo -e "\nFully cleaninnn\n" bash fullclean -echo -e "\nSetting up project for $ESPTARGET\n" -idf.py --preview set-target $ESPTARGET # using idf.py set-target because it sticks to all defaults and doesnt do menuconfig like setup +# use setup script instead +bash setup bash flashmonitor \ No newline at end of file diff --git a/custom_bin/rebuild-interactive b/custom_bin/rebuild-interactive index 2f89782..a8fe840 100644 --- a/custom_bin/rebuild-interactive +++ b/custom_bin/rebuild-interactive @@ -3,17 +3,19 @@ set -e # fail on any error echo -e "\nFully Rebuildan~\n" +# total clean bash fullclean -echo -e "\nSetting up project for $ESPTARGET\n" -idf.py --preview set-target $ESPTARGET +# use setup script instead +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" + # 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" @@ -27,9 +29,10 @@ 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" + # echo -e "\nExecuting save-defconfig\n" + # idf.py --preview save-defconfig + # echo -e "\nDefault Config Saved\n" + bash save-defconfig fi echo -e "\nBuild, Flash, and Monitor Now? y/n"