1 # This shell snippet appends useful esp-idf tools to your PATH environment
2 # variable. This means you can run esp-idf tools without needing to give the
5 # Use this script like this:
7 # . ${IDF_PATH}/add_path.sh
9 if [ -z ${IDF_PATH} ]; then
10 echo "IDF_PATH must be set before including this script."
12 IDF_ADD_PATHS_EXTRAS="${IDF_PATH}/components/esptool_py/esptool:${IDF_PATH}/components/espcoredump:${IDF_PATH}/components/partition_table/"
13 export PATH="${PATH}:${IDF_ADD_PATHS_EXTRAS}"
14 echo "Added to PATH: ${IDF_ADD_PATHS_EXTRAS}"