ref: d78ae37e1648daffc79bdd6e1b366136f2b8e225 stm32f4discovery/README.md -rw-r--r-- 1.4 KiB
d78ae37e — berfr Add console info in readme 5 months ago


This project contains the files and configurations necessary to quickly get running with FreeRTOS on the STM32F4 Discovery board.

Parts of this project are discussed here: https://berfr.me/posts/getting-started-stm32f4-freertos/.


#based on

  • FreeRTOSv10.2.1
  • STM32F4xx_DSP_StdPeriph_Lib_V1.8.0
    • CMSIS V4.00
  • STM32F4-Discovery_FW_V1.1.0


# setup output directory
mkdir bin && cd bin
cmake ..

# build and run example
make blink_leds.elf
make blink_leds.bin-flash


The console.c/console.h code uses the following configuration:

  • UART4 at 115200 bps
  • PC10 as UART4_TX
  • PC11 as UART4_RX


# sync lib files
rsync -a -v --files-from=lib-files-freertos.txt ../embedded-libs/FreeRTOSv10.2.1/ lib/freertos/
rsync -a -v --files-from=lib-files-stm32f4discovery.txt ../embedded-libs/STM32F4-Discovery_FW_V1.1.0/ lib/stm32f4discovery/
rsync -a -v --files-from=lib-files-stm32f4xx.txt ../embedded-libs/STM32F4xx_DSP_StdPeriph_Lib_V1.8.0/ lib/stm32f4xx/


The files under lib/ are licensed according to their specific licenses.

The rest of the project is licensed under the MIT license.