61-rc3.1
This commit is contained in:
@@ -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 ;;
|
||||||
|
|||||||
@@ -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"
|
||||||
@@ -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,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
@@ -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
@@ -1 +1 @@
|
|||||||
61-rc3
|
61-rc3.1
|
||||||
Reference in New Issue
Block a user