Skip to content

SchumyHao/wrtnode2r_stm32

Repository files navigation

In the ununtu 14.04 x86_64

There is an example in the linux.In the windows you can see the rt-thread's document.

Install arm cross-compiler.

Install python and scons
sudo apt-get install python scons
Install gcc-arm-none-eabi
sudo add-apt-repository ppa:terry.guo/gcc-arm-embedded

sudo apt-get update

sudo apt-get install gcc-arm-none-eabi

Download the rt-thread and WRTnode-stm32 in the same directory

git@github.com:RT-Thread/rt-thread.git

git clone git@github.com:WRTnode/wrtnode2r_stm32.git\

Configure the WRTnode-stm32

  • 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.

Compile and Clean

complie
scons -j 4
clean
scons --clean

Work in MDK5

Install software
Install python2.7 scons and set PATH in Windows
Make MDK5 project
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.

About

source code of stm32 on wrtnode2r

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published