RT-Thread for LS
https://github.com/riscv/riscv-tools
sudo apt-get install scons
Follow the tutorial form the link: https://www.scons.org/
- Open the file
rtconfig.py
- Find the
EXEC_PATH
below thetoolchains path
- Add your toolchain path after the
EXEC_PATH
cd RT-Thread && scons
When it completed,the console will print the informations like this:
riscv64-unknown-elf-size rtthread.elf
text data bss dec hex filename
44725 1365 6007 52097 cb81 rtthread.elf
scons: done building targets.
Then you can load thertthread.elf
into your board