GithubHelp home page GithubHelp logo

fcayci / stm32f1-rtos Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 0.0 13 KB

Example project for running the CMSIS-RTOS2 on an STM32F107-based board using GNU Arm toolchain

C 67.50% Makefile 8.82% Assembly 23.68%
c arm cortex-m3 stm32f107 cmsis rtos

stm32f1-rtos's Introduction

stm32f1-rtos

An example project for running the CMSIS-RTOS2 on an STM32F107-based board (Cortex-M3) using gnu arm toolchain. Toggles PORTE pins 14 and 15. Depends on the CMSIS-5 library

Preinstall

Initialize the CMSIS-5 library

  • Run git submodule init
  • Run git submodule update

or

  • Clone the project recursively git clone --recursive https://github.com/fcayci/stm32f1-rtos

Compile

  • Browse into the directory and run make to compile.
Cleaning...
Building main.c
...
   text	   data	    bss	    dec	    hex	filename
  13608	    232	   6252	  20092	   4e7c	main.elf
Cleaning objects...
Successfully finished...

Program

  • Run make burn to program the chip.
...
Flash written and verified! jolly good!

Debug

  • Run st-util from one terminal
  • Run make debug from a second terminal to debug the program.
  • You can turn off tui layout with tui disable if needed

stm32f1-rtos's People

Contributors

fcayci avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 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.