This commit is contained in:
2024-11-13 11:27:31 -07:00
parent b1812ed536
commit 2acfecd794
6 changed files with 10 additions and 35 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
subprocess() { subprocess() {
echo "\nChanging ESPBAUD\n\t1: 9600\n\t2: 115200\n\t3: 230400\n\t4: 460800\n\t5: 1152000\n\t6: 1500000\n\nEnter Selection: " echo -e "\nChanging ESPBAUD\n\t1: 9600\n\t2: 115200\n\t3: 230400\n\t4: 460800\n\t5: 1152000\n\t6: 1500000\n\nEnter Selection: "
read baudRate read baudRate
echo "\n" echo -e "\n"
case $baudRate in case $baudRate in
1) selection=9600 ;; 1) selection=9600 ;;
2) selection=115200 ;; 2) selection=115200 ;;
+3 -3
View File
@@ -1,5 +1,5 @@
subprocess() { subprocess() {
echo "\nChanging ESPTARGET\n" echo -e "\nChanging ESPTARGET\n"
echo "Set esp target (esp32, esp32s3, esp32c6, esp8266, etc)" echo "Set esp target (esp32, esp32s3, esp32c6, esp8266, etc)"
read esp read esp
eval "$1=$esp" eval "$1=$esp"
@@ -11,5 +11,5 @@ subprocess ret
export ESPTARGET="${ret}" export ESPTARGET="${ret}"
echo "\nESPTARGET set to ${ESPTARGET}\n" echo -e "\nESPTARGET set to $ESPTARGET\n"
echo "\nAll done :3\n" echo -e "\nAll done :3\n"
+1 -1
View File
@@ -23,5 +23,5 @@ subprocess ret
export ESPPORT=$ret export ESPPORT=$ret
echo "\nESPPORT set to ${ESPPORT}\n" echo "\nESPPORT set to $ESPPORT\n"
echo "\nAll done :3\n" echo "\nAll done :3\n"
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash #!/bin/bash
echo -e "\nErasing flash on ${ESPPORT}\n" echo -e "\nErasing flash on $ESPPORT\n"
idf.py erase-flash idf.py erase-flash
echo -e "\nAll done :3\n" echo -e "\nAll done :3\n"
+2 -27
View File
@@ -1,32 +1,7 @@
#!/bin/bash #!/bin/bash
echo -e "\nFully Rebuildan~\n" echo -e "\nFully Rebuildan~\n"
echo -e "\nRunning fullclean\n" bash fullclean
idf.py fullclean
echo -e "\nRunning manual delete tasks:"
if [ -f build ]; then
echo -e "\tDeleting build dir"
rm -rf build
else
echo -e "\tNo build dir, skipping delete"
fi
if [ -f sdkconfig ]; then
echo -e "\tDeleting sdkconfig"
rm sdkconfig
else
echo -e "\tNo sdkconfig, skipping delete"
fi
if [ -f sdkconfig.old ]; then
echo -e "\tDeleting sdkconfig.old"
rm sdkconfig.old
else
echo -e "\tNo sdkconfig.old, skipping delete"
fi
echo -e "\nSetting up project for $ESPTARGET\n" echo -e "\nSetting up project for $ESPTARGET\n"
idf.py set-target $ESPTARGET idf.py set-target $ESPTARGET
@@ -39,7 +14,7 @@ if [ "$wipe" == "y" ]; then
echo -e "\nFlash wiped\n" echo -e "\nFlash wiped\n"
fi fi
echo -e "\nRun menuconfig?\n" echo -e "\nRun menuconfig y/n?\n"
read menuconfig read menuconfig
if [ "$wipe" == "y" ]; then if [ "$wipe" == "y" ]; then
echo -e "\n\Executing menuconfig" echo -e "\n\Executing menuconfig"
+1 -1
View File
@@ -1 +1 @@
61-rc3 61-rc3.1