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"
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
+11 -8
View File
@@ -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"