Cannot locate Raspberry Pi 4 toolchain when building with scons

Created at 2021-12-24 13:57:55

I am trying to build RT-Thread from the Raspberry Pi 4 64bit Board Support Package:

Derrick@DESKTOP-GGC7P0I C:\Derrick\GitHub\RT-Thread\rt-thread_Mine\bsp\raspberry-pi\raspi4-64
> scons
scons: Reading SConscript files ...
Error: the toolchain path (/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-elf/bin/) is not exist, please check 'EXEC_PATH' in path or rtconfig.py.

Why am I getting that error? What is scons looking for in that directory? Where can I download that toolchain for the Raspberry Pi 4?

More

Follower
0
Views
828
davidticker
davidticker 2021-12-27

Download the error reporting toolchain of [gcc-arm-8.3-2019.03-x86_64-aarch64-elf], and unzip the toolchain, then modify [rtconfig.py] file under [C:DerrickGitHubRT-Threadrt-thread_Minebspraspberry-piraspi4-64],and modify the [/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-elf/bin/] path into the correct path.

2 Answers
DerrickLau
DerrickLau 2022-01-24

I made a video of what I did to resolve for others to follow:
https://youtu.be/Gz9amRmX0DY

raspberry #raspberrypi #raspberrypi4 #raspberrypico #rapi #rapi4 #embedded #rtos #rtthread #rt-thread #realtime

Write Your Answer

Log in to publish your answer.,Click here to log in.

Create
Post

Share