summaryrefslogtreecommitdiff
path: root/bsp
diff options
context:
space:
mode:
authorDaiyuanranfeng <[email protected]>2026-11-19 19:24:30 +0800
committerRbb666 <[email protected]>2026-11-23 09:55:08 +0800
commit8bfdb9714f7e235cbe53498377b414aee94b3666 (patch)
tree7ba5f798c3be9ab9afcaed40606a21d9761752b3 /bsp
parent13291f9f1509ed0368eed7328072ddc8c03743b7 (diff)
[docs][pico] document the GNU Arm toolchain path
Signed-off-by: Daiyuanranfeng <[email protected]>
Diffstat (limited to 'bsp')
-rw-r--r--bsp/raspberry-pico/RP2040/README.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/bsp/raspberry-pico/RP2040/README.md b/bsp/raspberry-pico/RP2040/README.md
index d0b9fd59a0..da1b82c3c5 100644
--- a/bsp/raspberry-pico/RP2040/README.md
+++ b/bsp/raspberry-pico/RP2040/README.md
@@ -39,6 +39,18 @@ pkgs --update
### Step 2: build
+On Linux or WSL, if the GNU Arm toolchain is installed outside `/usr/bin`,
+set `RTT_EXEC_PATH` to the directory containing `arm-none-eabi-gcc` before
+running SCons. For example (replace the path with your installation):
+
+```bash
+export RTT_EXEC_PATH="/opt/arm-gnu-toolchain/bin"
+"$RTT_EXEC_PATH/arm-none-eabi-gcc" --version
+```
+
+The BSP passes this directory to the Pico SDK build as well, so you do
+not need to add toolchain symlinks under `/usr/bin`.
+
```bash
scons -c
scons