STM32CubeMX primary use (LED2 blinks in Example)

First, the establishment project

1.1 Create a directory to store project preparation (do not have Chinese as much as possible)

1.2

1.3 Configuring GPIO function

LED2 of PE6 now pins from the board is connected to the LED2 blinks

 

 

 

 1.4 Configuring debug port

 

 

  A clock tree configured MCU 1.5

 

 

1.6 Save STM32CubeMX project

 

 1.7 perfect Keil code and configuration

 

 

 

 

 

 

 

 

 

Guess you like

Origin www.cnblogs.com/jsit-dj-it/p/12024472.html