dee \
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user