fix ESPTARGET

This commit is contained in:
2024-10-15 01:52:04 -06:00
parent 0f21b03a1f
commit de42d5f13d
2 changed files with 9 additions and 10 deletions
+8 -9
View File
@@ -18,25 +18,24 @@ echo "\nEnter TTY Number You'd Like:"
read tty
ttyselect=$devarr[(($tty+1))]
echo "Set esp target (esp32, esp32s3, esp32c6, esp8266, etc)"
read esp
ESPPORT="$ttyselect"
echo "Changing dir to ~/esp"
cd ~/esp
echo "Setting environment variables"
echo "Adding Custom bins to PATH:"
export PATH=~/esp/.custom_bin:$PATH
echo "ESPPORT = $ESPPORT"
export ESPPORT
export ESPBAUD=921600
echo "ESPBAUD = $ESPBAUD"
echo "Adding Custom bins to PATH:"
export PATH=~/esp/.custom_bin:$PATH
echo "Set esp target (esp32, esp32s3, esp32c6, esp8266, etc)"
read $esp
export ESPTARGET=$esp
echo "ESPTARGET = $ESPTARGET"
echo "Changing dir to ~/esp"
cd ~/esp
echo "All done :3 Enjoy your esp-idf environment"
###############################################