We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a91acd commit 6a19018Copy full SHA for 6a19018
add_path.sh
@@ -0,0 +1,19 @@
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
3
+# full path.
4
+#
5
+# Use this script like this:
6
7
+# . ${IDF_PATH}/add_path.sh
8
9
+if [ -z ${IDF_PATH} ]; then
10
+ echo "IDF_PATH must be set before including this script."
11
+else
12
+ IDF_ADD_PATHS_EXTRAS="${IDF_PATH}/components/esptool_py/esptool"
13
+ IDF_ADD_PATHS_EXTRAS="${IDF_ADD_PATHS_EXTRAS}:${IDF_PATH}/components/partition_table/"
14
+ IDF_ADD_PATHS_EXTRAS="${IDF_ADD_PATHS_EXTRAS}:${IDF_PATH}/tools/"
15
+ export PATH="${IDF_ADD_PATHS_EXTRAS}:${PATH}"
16
+ echo "Added to PATH: ${IDF_ADD_PATHS_EXTRAS}"
17
+fi
18
+
19
0 commit comments