STM32F405 HAL library STM32CUBE development

1. Create a project

1.1 Download software

This project uses STM32CUBE to create a project, you need to download STM32CUBE

Open https://www.st.com/zh/development-tools/stm32cubemx.html#get-software to download the software

You need to register an account to fill in the information. After the download is complete, the installation is very simple and the picture will not be posted.

 1.2 Download the corresponding embedded software package

1.3 Create a project

Click this to create the project

1.4 Modify crystal

 

1.5 increase GPIO

 

1.6 Add serial port

2. Write test code

1.1 Development using VSC

 

 

 

 

 

Guess you like

Origin blog.csdn.net/qq_33259323/article/details/109169495