Skip to content

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

Notifications You must be signed in to change notification settings

fcayci/stm32f1-rtos

Repository files navigation

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

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published