This is an example project meant to showcase some real-time embedded programming concepts as part of a university assignment. The microcontroller used is a STM32F103C8T6.
The following libraries were used:
- libopencm3, an open-source firmware library for ARM Cortex-M microcontrollers
- FreeRTOS, a real-time operating system for microcontrollers
Furthermore, the toolchain used consisted of:
- GNU ARM Embedded Toolchain, for compilation
- OpenOCD, for debugging and microcontroller programming
Ensure that you have make
installed and the GNU ARM embedded toolchain (arm-none-eabi-gcc
) installed and in your system or user path.
First build libopencm3 by running
make -C libopencm3/
Then, run the following to build the actual project. This will generate a .bin and .elf file for flashing and symbols respectively.
make -C src/