Note: Use the GNU/Make with arm-none-eabi-gcc and cmake tools.
- CMake the FreeRTOS and compiler to the static library.
- Go into the project and go into the FreeRTOS directory.
cd FreeRTOS/Buildcmake ..maketo generate thelibSTM32F7xx_FreeRTOS.a
- Check that
libSTM32F7xx_HAL_Drivers.afile in the Drivers/Build/lib/ , if not in the folder then:
cd Drivers/Buildcmake ..make
- Compiler the user source
cd Buildcmake ..make- that could generate the blinky.bin and blinky.hex files
-
Plug your stm32f7 board into your PC, and make sure you got the st-link tools, if you didn't have the tools, you can go to the site ST-LINKV1/V2 to download the tools.
-
Go into the Build/bin/
make flash- you can see the program writing the flash
-
Here wo go. let's conquer the STM32F7!