This commit is contained in:
2024-11-13 15:43:11 -07:00
parent 7ab9563f8b
commit ccd5ee8bdc
2 changed files with 12 additions and 12 deletions
+11 -11
View File
@@ -16,7 +16,7 @@ if [ -z $ESPIDF_INSTALLDIR ]; then
exit
fi
binDir="${ESPIDF_INSTALLDIR}/.custom_bin"
binDir="$ESPIDF_INSTALLDIR/.custom_bin"
echo -e "\nTTY devices found in dmesg:"
COUNTER=0
@@ -34,7 +34,7 @@ ttyselect=$devarr[(($tty+1))]
echo -e "Set esp target:\n\tOne of: esp32, esp32s2, esp32c3, esp32s3, esp32c2, esp32c6, esp32h2, esp32p4, linux, esp32c5, or esp32c61"
read esp
echo -e "\nSetting environment variables\n"
# echo -e "\nSetting environment variables\n"
export PATH="${ESPIDF_INSTALLDIR}/.custom_bin:${PATH}"
export ESPPORT=$ttyselect
export ESPBAUD=460800
@@ -45,14 +45,14 @@ echo -e "\tesp-install-custom version: $versionData"
echo -e "\tesp-idf commmit hash: $commitHash"
echo -e "\tinstall date: $installDate\n"
echo -e "\nEnvironment Variables:\n"
echo -e "ESPBAUD = ${ESPBAUD}\n"
echo -e "ESPTARGET = ${ESPTARGET}\n"
echo -e "ESPPORT = ${ESPPORT}\n"
echo -e "ESPIDF_INSTALLDIR = ${ESPIDF_INSTALLDIR}\n"
echo -e "binDir = ${binDir}\n"
echo -e "\nEnvironment Variables:"
echo -e "\tESPBAUD = $ESPBAUD"
echo -e "\tESPTARGET = $ESPTARGET"
echo -e "\tESPPORT = $ESPPORT"
echo -e "\tESPIDF_INSTALLDIR = $ESPIDF_INSTALLDIR"
echo -e "\tbinDir = $binDir"
echo -e "Setting alias"
# echo -e "Setting alias"
alias changeport="source ${binDir}/changeport.sh"
alias changebaud="source ${binDir}/changebaud.sh"
alias changeesp="source ${binDir}/changeesp.sh"
@@ -60,8 +60,8 @@ alias monitor="idf.py monitor"
alias flashmonitor="idf.py flash monitor"
alias menuconfig="idf.py menuconfig"
echo -e "Changing dir to ${ESPIDF_INSTALLDIR}"
cd "${ESPIDF_INSTALLDIR}"
# echo -e "Changing dir to $ESPIDF_INSTALLDIR"
# cd $ESPIDF_INSTALLDIR
echo -e "\nAll done :3\n"
+1 -1
View File
@@ -1 +1 @@
61-rc4.4
61-rc4.5