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