File tree Expand file tree Collapse file tree 2 files changed +19
-6
lines changed
docs/source/getting-started Expand file tree Collapse file tree 2 files changed +19
-6
lines changed Original file line number Diff line number Diff line change 38
38
39
39
export PYTHON=${PYTHON:= $(which python3)}
40
40
41
+ # Toolchain paths
42
+ export SMING_TOOLCHAINS=${SMING_TOOLCHAINS:=/ opt}
43
+
41
44
# Esp8266
42
- export ESP_HOME=${ESP_HOME:=/ opt / esp-quick-toolchain}
45
+ export ESP_HOME=${ESP_HOME:= $SMING_TOOLCHAINS / esp-quick-toolchain}
43
46
44
47
# Esp32
45
- export IDF_PATH=${IDF_PATH:=/ opt / esp-idf}
46
- export IDF_TOOLS_PATH=${IDF_TOOLS_PATH:=/ opt / esp32}
48
+ export IDF_PATH=${IDF_PATH:= $SMING_TOOLCHAINS / esp-idf}
49
+ export IDF_TOOLS_PATH=${IDF_TOOLS_PATH:= $SMING_TOOLCHAINS / esp32}
47
50
48
51
# Rp2040
49
- export PICO_TOOLCHAIN_PATH=${PICO_TOOLCHAIN_PATH:=/ opt / rp2040}
52
+ export PICO_TOOLCHAIN_PATH=${PICO_TOOLCHAIN_PATH:= $SMING_TOOLCHAINS / rp2040}
50
53
51
54
# Provide non-apple CLANG (e.g. for rbpf library)
52
55
if [ -n " $GITHUB_ACTIONS " ] && [ " $( uname) " = " Darwin" ]; then
Original file line number Diff line number Diff line change @@ -11,11 +11,21 @@ and integrated development environments (IDEs) work correctly.
11
11
12
12
You can find a list of these in :source: `Tools/export.sh `.
13
13
14
- For Linux and WSL2, append values to your ``~/.bashrc `` file::
14
+ For Linux and WSL2, append :envvar: ` SMING_HOME ` to your ``~/.bashrc `` file::
15
15
16
16
# All architectures
17
17
export SMING_HOME=/opt/sming/Sming
18
-
18
+
19
+ :envvar: `SMING_HOME ` is the only mandatory environmental variable.
20
+
21
+ If you want to change the location where the toolchain will be downloaded and installed you can append the values below::
22
+
23
+ # Specifies a common toolchains directory
24
+ export SMING_TOOLCHAINS=/opt
25
+
26
+ The :envvar: `SMING_TOOLCHAINS ` is optional. As are the ones below. You can append them to your ``~/.bashrc `` file only
27
+ if you need to change the location of the installed toolchains::
28
+
19
29
# Esp8266
20
30
export ESP_HOME=/opt/esp-quick-toolchain
21
31
You can’t perform that action at this time.
0 commit comments