source code of stm32 on wrtnode2r
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\
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.