Giter Site home page Giter Site logo

wrtnode2r_stm32's Introduction

Working Environment

This project can cross-compiled on Ubuntu, MacOS, Windows. For more infomation about how to compile and build mdk project, you can go though RT-Thread user Manual.

Build tools

Install python and scons

Ubuntu
sudo apt-get install python2.7 scons
MacOS
brew install python scons
Windows

Download & install python2.7 and scons

Install gcc-arm-none-eabi 4.9

Ubuntu
sudo add-apt-repository ppa:terry.guo/gcc-arm-embedded
sudo apt-get update
sudo apt-get install gcc-arm-none-eabi
MacOS
brew install arm-none-eabi-gcc
Windows

Download & install arm-none-eabi-gcc

Clone rt-thread and WRTnode-stm32 source code

git clone https://github.com/RT-Thread/rt-thread.git
git clone https://github.com/WRTnode/wrtnode2r_stm32.git

Configure the WRTnode-stm32

  • Change EXEC_PATH in rtconfig.py as your cross compile tool path.
  • Change RTT_ROOT in SConstruct as your RT-thread root path.

Compile and Clean

complie
scons
clean
scons -c

Work in MDK5

If you want to use scons to build MDK project, make sure you did not open template.uvprojx file.

  • Open CMD window and run

    scons --target=mdk5 -s

  • After that, you will find new mdk project file project.uvprojx.

  • Open it, start compile and debug.

wrtnode2r_stm32's People

Contributors

hongyegb123 avatar schumyhaojl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.