This commit is contained in:
2025-11-18 09:11:56 -07:00
parent 92b6c458e6
commit 4097ff6a0f
2 changed files with 13 additions and 10 deletions
+2 -2
View File
@@ -4,7 +4,7 @@ echo -e "\nFully Rebuildan~\n"
echo -e "\nFully cleaninnn\n" echo -e "\nFully cleaninnn\n"
bash fullclean bash fullclean
echo -e "\nSetting up project for $ESPTARGET\n" # use setup script instead
idf.py --preview set-target $ESPTARGET # using idf.py set-target because it sticks to all defaults and doesnt do menuconfig like setup bash setup
bash flashmonitor bash flashmonitor
+11 -8
View File
@@ -3,17 +3,19 @@ set -e # fail on any error
echo -e "\nFully Rebuildan~\n" echo -e "\nFully Rebuildan~\n"
# total clean
bash fullclean bash fullclean
echo -e "\nSetting up project for $ESPTARGET\n" # use setup script instead
idf.py --preview set-target $ESPTARGET setup
echo -e "\nErase flash? y/n" echo -e "\nErase flash? y/n"
read wipe read wipe
if [ "$wipe" == "y" ]; then if [ "$wipe" == "y" ]; then
echo -e "\nExecuting erase-flash\n" # echo -e "\nExecuting erase-flash\n"
idf.py --preview erase-flash # idf.py --preview erase-flash
echo -e "\nFlash wiped\n" # echo -e "\nFlash wiped\n"
bash erase-flash
fi fi
echo -e "\nRun menuconfig y/n?\n" echo -e "\nRun menuconfig y/n?\n"
@@ -27,9 +29,10 @@ fi
echo -e "\nSave as Default Config? y/n?\n" echo -e "\nSave as Default Config? y/n?\n"
read defconfig read defconfig
if [ "$defconfig" == "y" ]; then if [ "$defconfig" == "y" ]; then
echo -e "\nExecuting save-defconfig\n" # echo -e "\nExecuting save-defconfig\n"
idf.py --preview save-defconfig # idf.py --preview save-defconfig
echo -e "\nDefault Config Saved\n" # echo -e "\nDefault Config Saved\n"
bash save-defconfig
fi fi
echo -e "\nBuild, Flash, and Monitor Now? y/n" echo -e "\nBuild, Flash, and Monitor Now? y/n"