This is a simple project template for the STM32 Discovery, an evaluation board with the STM32F100RB microcontroller (128 KB Flash, 8 KB RAM).
This repository is based on jeremyherbert/stm32-template.
- GCC based ARM Toolchain, i.e. Sourcery CodeBench Lite Edition or summon-arm-toolchain
- STM32 Discovery programmer tool, i.e. texane/stlink
- Put all your source files
*.cintosrc/ - Put all your header files
*.hintoinc/ - Add the name of every source file with its name and the
.oextension to theOBJS=…line in theMakefile
- To compile your project and generate the corresponding
.binfirmware, runmake. - Run
make flashto write the generated.binfile to the STM32 flash memory. make gdb-serverandmake gdb-clientcan be used to invoke the debugger service and client.