Opening STM32 Cube IDE

For the STM32 microcontrollers we use, there is a specific IDE that is used to configure the microcontrollers, write code for them, and debug using the hardware. For this bootcamp and when you are writing drivers as a task, you will be using the STM32 CUBE IDE.

  1. Clone your forked bootcamp into a folder

image-20240916-235713.png

 

  1. Import the project (File > Import… > Existing Projects into Workspace > Next)

image-20240916-235935.png

 

  1. Set the root directory to be the folder in which you cloned into. Make sure the nucleof072rb project is checked. Click Finish.

This IDE can generate code to configure the microcontroller’s pins and that is exactly how we will start.

STM32 Cube IDE Device Configuration Tool

Double click on the “nucleof072rb.ioc” file, and this will bring you to the device configuration tool.

First make sure you are in the “Pinout & Configuration” menu and your display matches the one below:

This is the microcontroller chip that is being used in this bootcamp. Note that the project you are given will have some initialized pins (seen above). You do not need to worry about those as they are configured by default.