Skip to content

hongyegb123/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

About

source code of stm32 on wrtnode2r

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 66.0%
  • Assembly 18.3%
  • C++ 11.9%
  • HTML 3.3%
  • Python 0.5%