mirror of
https://github.com/Matir/skel.git
synced 2026-05-26 05:29:09 -07:00
Function to start using ESP.
This commit is contained in:
@@ -62,3 +62,12 @@ fi
|
||||
|
||||
# Load any local settings
|
||||
if [ -e $HOME/.zshrc.local ] ; then source $HOME/.zshrc.local ; fi
|
||||
|
||||
function start_esp {
|
||||
if [ ! -d ${HOME}/tools/esp ] ; then
|
||||
echo "ESP not installed!" >/dev/stderr
|
||||
return 1
|
||||
fi
|
||||
export PATH="${PATH}:${HOME}/tools/esp/xtensa-esp32-elf/bin"
|
||||
export IDF_PATH="${HOME}/tools/esp/esp-idf"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user