STM32CubeF4 gcc makefile example for FreeRTOS

Written on October 4, 2016

Tags: STM32 (5)

Following along from my earlier blog post STM32CubeF4 gcc makefile example, I modified the Makefile to work with one of the FreeRTOS examples included in the STM32CubeF4 (v1.13.0). This particular example flashes some LEDs on the STM32F469 Discovery board. The biggest wrinkle I ran into was having to add an _exit function. I grabbed a syscalls.c from elsewhere in the STM32CubeF4 tree and #if 0’d out some timezone functions which were failing to compile. You can find my repository with the Makefile, syscalls.c and instructions here.