/stm32f10x-template

stm32f10x cmake and freertos template

Primary LanguageC

STM32F10x-Template with the CMake

Version requirements

  • Use the offical STM32F10x_StdPeriph_Driver V3.5
  • Use the FreeRTOS V8.2.3
  • Use CMake less than V3.1

Dependencies

arm-none-eabi-gcc
arm-none-eabi-gdb
stlink

How to Install

  1. make a directory in the project directory
  1. mkdir build
  2. cd build
  1. cmake the project directory CMakeList.txt
  cmake ..
  1. Build the Source
  make

If you wang to clean the all Build file , you can

  make clean-all

If you install the st-link V1/V2/V2.1, you can

  make flash