There is an example in the linux.In the windows you can see the rt-thread's document.
sudo apt-get install python scons
sudo add-apt-repository ppa:terry.guo/gcc-arm-embedded
sudo apt-get update
sudo apt-get install gcc-arm-none-eabi
[email protected]:RT-Thread/rt-thread.git
git clone [email protected]:WRTnode/wrtnode2r_stm32.git\
- Open the wrtnode2r_stm32/rtconfig.py , change the
'/Users/schumy/gcc-arm-none-eabi/bin'
as "/usr/bin" in the line 16. - Open the wrtnode2r_stm32/SConstruct ,
change "/../rtt" as "/../rt-thread" in the line 8.
scons -j 4
scons --clean
Install python2.7 scons and set PATH in Windows
Open CMD window.
Set RTT_ROOT path in CMD window by using set RTT_ROOT=xxxx
Run scons. scons --target=mdk5 -s
After that, you can open project.uvprojx and start coding.