STM32CubeMX user interface

UM1718

 

 

Figure 148. Device and peripherals configuration

Select the Project Manager tab to save the project, and to set and configure the boot path

DT56296

Step 4: Overall configuration

Configure the application (Figure 149), then save the project (Figure 150).

174/453

UM1718 Rev 41

UM1718

STM32CubeMX user interface

 

 

Figure 149. Configuring the project

Choose project name and location (the project directory is created automatically)

S- and NS-application code selected by default

IDE selection

The needed files are copied from the selected firmware. Current firmware package version information

Firmware repository, keep it for STM32CubeMX

DT56298V2

Figure 150. Saving the project

Directory and file created in the Cube firmware folder

DT56302V2

UM1718 Rev 41

175/453

STM32CubeMX user interface

UM1718

 

 

Step 5: Boot path selection

The possible first stages are proposed according to selected device and project structure.

Figure 151. Boot path selection

Select boot path

DT56303V2

Select OEM-iRoT for this example

Figure 152. Select OEM-iRoT

Select OEM-iRoT

DT56304V2

176/453

UM1718 Rev 41

UM1718

STM32CubeMX user interface

 

 

Figure 153. First boot path stage

The first stage is shown

DT56305V2

All possible boot paths for the second stage are proposed according to the selected device and project structure.

Select “Secure Application, it generates secure and non-secure codes.

Figure 154. Select Secure Application

Select Secure Application

DT56306V2

UM1718 Rev 41

177/453

STM32CubeMX user interface

UM1718

 

 

Click on FINISH to generate the binary, RoT_Provisioning folder, and sub-folders.

Figure 155. Last boot path stage

 

 

 

Complete boot

 

 

 

path displayed

 

 

Click on FINISH to complete the

 

 

boot path selection and to go

 

 

back to the configuration panel

 

 

 

DT56307V2

 

 

Note:

If a selected boot path is not supported, a warning message is displayed, and the “FINISH”

 

button is grayed out.

Figure 156. Project provisioning

These default files are copied from Cube firmware (installed with STM32CubeMX)

DT56308V2

178/453

UM1718 Rev 41

Соседние файлы в папке STM