This commit is contained in:
2024-11-13 12:24:17 -07:00
parent 22af71965c
commit 880153c0da
7 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
subprocess() { subprocess() {
echo -e "\nChanging ESPTARGET\n" echo -e "\nChanging ESPTARGET\n"
echo "Set esp target (esp32, esp32s3, esp32c6, esp8266, etc)" echo -e "Set esp target (esp32, esp32s3, esp32c6, esp8266, etc)"
read esp read esp
eval "$1=$esp" eval "$1=$esp"
return 0 return 0
+5 -5
View File
@@ -1,6 +1,6 @@
subprocess() { subprocess() {
echo "\nChanging ESPPORT\n" echo -e "\nChanging ESPPORT\n"
echo "TTY devices found in dmesg:" echo -e "TTY devices found in dmesg:"
COUNTER=0 COUNTER=0
devarr=() devarr=()
for line in $(dmesg | tail -50 | grep -o -E "tty[A-Z]{3}[0-9]{0,2}" | sort -u); do for line in $(dmesg | tail -50 | grep -o -E "tty[A-Z]{3}[0-9]{0,2}" | sort -u); do
@@ -9,7 +9,7 @@ subprocess() {
COUNTER=$((COUNTER+1)) COUNTER=$((COUNTER+1))
done done
echo "\nEnter TTY Number You'd Like:" echo -e "\nEnter TTY Number You'd Like:"
read tty read tty
sel=$tty+1 sel=$tty+1
@@ -23,5 +23,5 @@ subprocess ret
export ESPPORT=$ret export ESPPORT=$ret
echo "\nESPPORT set to $ESPPORT\n" echo -e "\nESPPORT set to $ESPPORT\n"
echo "\nAll done :3\n" echo -e "\nAll done :3\n"
+3 -3
View File
@@ -14,21 +14,21 @@ fi
if [ -f sdkconfig ]; then if [ -f sdkconfig ]; then
echo -e "\nDeleting sdkconfig\n" echo -e "\nDeleting sdkconfig\n"
rm sdkconfig rm -f sdkconfig
else else
echo -e "\nNo sdkconfig, skipping delete\n" echo -e "\nNo sdkconfig, skipping delete\n"
fi fi
if [ -f *.old ]; then if [ -f *.old ]; then
echo -e "\nDeleting *.old\n" echo -e "\nDeleting *.old\n"
rm *.old rm -f *.old
else else
echo -e "\nNo *.old, skipping delete\n" echo -e "\nNo *.old, skipping delete\n"
fi fi
if [ -f *.bak ]; then if [ -f *.bak ]; then
echo -e "\nDeleting *.bak\n" echo -e "\nDeleting *.bak\n"
rm *.bak rm -f *.bak
else else
echo -e "\nNo *.bak, skipping delete\n" echo -e "\nNo *.bak, skipping delete\n"
fi fi
+2 -2
View File
@@ -16,8 +16,8 @@ fi
echo -e "\nRun menuconfig y/n?\n" echo -e "\nRun menuconfig y/n?\n"
read menuconfig read menuconfig
if [ "menuconfig" == "y" ]; then if [ "$menuconfig" == "y" ]; then
echo -e "\n\Executing menuconfig\n" echo -e "\nExecuting menuconfig\n"
idf.py menuconfig idf.py menuconfig
fi fi
+2 -2
View File
@@ -2,8 +2,8 @@
echo -e "\nSaving default config\n" echo -e "\nSaving default config\n"
if [ -f ./sdkconfig.defaults ]; then if [ -f ./sdkconfig.defaults ]; then
echo -e "backing up sdkconfig.defaults to sdkconfig.defaults.bak" echo -e "\nbacking up sdkconfig.defaults to sdkconfig.defaults.bak\n"
cp sdkconfig.defaults sdkconfig.defaults.bak cp -f sdkconfig.defaults sdkconfig.defaults.bak
else else
echo -e "\nNo sdkconfig.defaults found, skipping backup\n" echo -e "\nNo sdkconfig.defaults found, skipping backup\n"
fi fi
+1 -1
View File
@@ -24,6 +24,7 @@ x touch up add-to-export-sh.txt
x alias add and document too x alias add and document too
x maybe just cat a txt lmao x maybe just cat a txt lmao
x test reinstall from zero x test reinstall from zero
x fix dat nuke issue on line ~307 # fixed?
testan: testan:
x bash reinstall-esp-idf.sh help x bash reinstall-esp-idf.sh help
@@ -57,4 +58,3 @@ standardize the capatilization and format and content of notes
verbosity levels? verbosity levels?
less verbose on git commands and installers? less verbose on git commands and installers?
fix dat nuke issue on line ~307 # fixed?
+1 -1
View File
@@ -1 +1 @@
61-rc3.2 61-rc4