ref: bcef7a17e2be0e0b20c4235e0b68986b58ebc155 stm32f4discovery/README.md -rw-r--r-- 1.2 KiB
bcef7a17 — berfr Add simple accelerometer library and test file 6 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 project
make main.bin
make flash


# 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.