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() {
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
eval "$1=$esp"
return 0
+5 -5
View File
@@ -1,6 +1,6 @@
subprocess() {
echo "\nChanging ESPPORT\n"
echo "TTY devices found in dmesg:"
echo -e "\nChanging ESPPORT\n"
echo -e "TTY devices found in dmesg:"
COUNTER=0
devarr=()
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))
done
echo "\nEnter TTY Number You'd Like:"
echo -e "\nEnter TTY Number You'd Like:"
read tty
sel=$tty+1
@@ -23,5 +23,5 @@ subprocess ret
export ESPPORT=$ret
echo "\nESPPORT set to $ESPPORT\n"
echo "\nAll done :3\n"
echo -e "\nESPPORT set to $ESPPORT\n"
echo -e "\nAll done :3\n"
+3 -3
View File
@@ -14,21 +14,21 @@ fi
if [ -f sdkconfig ]; then
echo -e "\nDeleting sdkconfig\n"
rm sdkconfig
rm -f sdkconfig
else
echo -e "\nNo sdkconfig, skipping delete\n"
fi
if [ -f *.old ]; then
echo -e "\nDeleting *.old\n"
rm *.old
rm -f *.old
else
echo -e "\nNo *.old, skipping delete\n"
fi
if [ -f *.bak ]; then
echo -e "\nDeleting *.bak\n"
rm *.bak
rm -f *.bak
else
echo -e "\nNo *.bak, skipping delete\n"
fi
+2 -2
View File
@@ -16,8 +16,8 @@ fi
echo -e "\nRun menuconfig y/n?\n"
read menuconfig
if [ "menuconfig" == "y" ]; then
echo -e "\n\Executing menuconfig\n"
if [ "$menuconfig" == "y" ]; then
echo -e "\nExecuting menuconfig\n"
idf.py menuconfig
fi
+2 -2
View File
@@ -2,8 +2,8 @@
echo -e "\nSaving default config\n"
if [ -f ./sdkconfig.defaults ]; then
echo -e "backing up sdkconfig.defaults to sdkconfig.defaults.bak"
cp sdkconfig.defaults sdkconfig.defaults.bak
echo -e "\nbacking up sdkconfig.defaults to sdkconfig.defaults.bak\n"
cp -f sdkconfig.defaults sdkconfig.defaults.bak
else
echo -e "\nNo sdkconfig.defaults found, skipping backup\n"
fi
+1 -1
View File
@@ -24,6 +24,7 @@ x touch up add-to-export-sh.txt
x alias add and document too
x maybe just cat a txt lmao
x test reinstall from zero
x fix dat nuke issue on line ~307 # fixed?
testan:
x bash reinstall-esp-idf.sh help
@@ -57,4 +58,3 @@ standardize the capatilization and format and content of notes
verbosity levels?
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