Skip to content

STM32F1-FreeRTOS-Blinky on linux with cmake and make with arm-none-eabi-gcc tools

Notifications You must be signed in to change notification settings

larriti/STM32F7-FreeRTOS-Blinky

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

STM32F7 FreeRTOS blinky on linux

By wangxian


Note: Use the GNU/Make with arm-none-eabi-gcc and cmake tools.

Steps

  1. CMake the FreeRTOS and compiler to the static library.
  • Go into the project and go into the FreeRTOS directory.
  • cd FreeRTOS/Build
  • cmake ..
  • make to generate the libSTM32F7xx_FreeRTOS.a
  1. Check that libSTM32F7xx_HAL_Drivers.a file in the Drivers/Build/lib/ , if not in the folder then:
  • cd Drivers/Build
  • cmake ..
  • make
  1. Compiler the user source
  • cd Build
  • cmake ..
  • make
  • that could generate the blinky.bin and blinky.hex files
  1. 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.

  2. Go into the Build/bin/

    • make flash
    • you can see the program writing the flash
  3. Here wo go. let's conquer the STM32F7!

I'm the green hand.So Sorry for that bad english.

About

STM32F1-FreeRTOS-Blinky on linux with cmake and make with arm-none-eabi-gcc tools

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published