This commit is contained in:
2025-11-18 09:17:52 -07:00
parent 4097ff6a0f
commit 1795c8b4c5
2 changed files with 3 additions and 12 deletions
+1 -2
View File
@@ -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
+2 -10
View File
@@ -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