Bare-metal programming for a STM32F1-based board. (Cortex-M3)
Tested on EasyMx Pro v7 board with STM32F107 chip.
- Toolchain - GNU ARM Toolchain
- (Windows only) - MinGW and MSYS
- Programmer - STLink
- Browse into any of the project directory
cd systick
and runmake
to compile.
Cleaning...
Building systick.c
text data bss dec hex filename
384 0 0 384 180 systick.elf
Successfully finished...
- Run
make burn
to program the chip.
...
...
Flash written and verified! jolly good!
- systick - SysTick Timer example
- clock - An example to bump the clock speed to 72 Mhz
- ext_int - An external interrupt example to toggle LEDs using button presses. Uses EXTI0 and EXTI1 modules.
- timer - An timer example to toggle LEDs in 1 second intervals. Uses Timer3 module.