This repository contains sample projects for my stm32tpl library. All projects also use scmRTOS embedded operating system.
To clone the repository with submodules use
git clone --recursive https://github.com/antongus/stm32tpl-samples.git
- GCC cross-compiler for ARM Cortex-M controllers (I use gcc-arm-embedded);
- openocd tool (openocd)
- enter to a directory of the project you interested;
- type
makeon shell prompt to build the project; - type
make programto load program into microcontroller.
Instead of typing commands on shell prompt one can use Eclipse CDT IDE to build project and flash microcontroller.
Just import the Eclipse project and select build and program from "Build Targets" window.