This commit is contained in:
2024-11-12 11:25:47 -07:00
parent 601529345e
commit 4add95da8f
3 changed files with 64 additions and 46 deletions
+8 -2
View File
@@ -5,9 +5,12 @@
# begin esp-idf stuffss I made ################
###############################################
echo "\n=======CUSTOM=======\n"
versionData="versionTAG"
commitHash="commitTagTAG"
installDate="installDateTAG"
if [ -z $ESPIDF_INSTALLDIR ]; then
echo "\nFAIL: ESPIDF_INSTALLDIR environment variable not found!\nReinstall via script or manually add to ~/.zshrc\n"
exit
@@ -15,7 +18,6 @@ fi
binDir="${ESPIDF_INSTALLDIR}/.custom_bin"
echo "TTY devices found in dmesg:"
COUNTER=0
devarr=()
@@ -40,6 +42,10 @@ export ESPPORT="${ttyselect}"
export ESPBAUD=460800
export ESPTARGET=$esp
echo "esp-install-custom version: $versionData"
echo "esp-idf commmit hash: $commitHash"
echo "install date: $installDate"
echo "ESPBAUD = ${ESPBAUD}"
echo "ESPTARGET = ${ESPTARGET}"
echo "ESPPORT = ${ESPPORT}"