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
- Toolchain - GNU ARM Toolchain
- (Windows only) - MinGW and MSYS
- Programmer & Debugger - STLink
- Run
git submodule init - Run
git submodule update
or
- Clone the project recursively
git clone --recursive https://github.com/fcayci/stm32f1-rtos
- Browse into the directory and run
maketo compile.
Cleaning... Building main.c ... text data bss dec hex filename 13608 232 6252 20092 4e7c main.elf Cleaning objects... Successfully finished... - Run
make burnto program the chip.
... Flash written and verified! jolly good! - Run
st-utilfrom one terminal - Run
make debugfrom a second terminal to debug the program. - You can turn off tui layout with
tui disableif needed