Last edited one week ago

How to create STM32CubeMPU project in STM32CubeIDE

(Redirected from How to get started with STM32CubeIDE from scratch)
Applicable for STM32MP13x lines, STM32MP15x lines, STM32MP21x lines, STM32MP23x lines, STM32MP25x lines

Warning DB.png Important
This article has been written with the example of STM32MP15x lines More info.png but it is also applicable to STM32MP13x lines More info.png and any STM32MP2 series with A35-TD flavor More info green.png

1. Create a new STM32 project using STM32CubeMX[edit | edit source]

Refer to How to create STM32MPU projects with STM32CubeMX


2. Create a project by importing SW4STM32 project in STM32CubeIDE[edit | edit source]

Refer to How to import SW4STM32 project in STM32CubeIDE article.

3. Import a project from the STM32CubeMPU Package[edit | edit source]

To import the STM32CubeMPU firmware project into STM32CubeIDE, go to [File]>[Import...] and select "Import Existing Projects into Workspace" as shown in the figure below and click on [Next >].

Import of firmware project into STM32CubeIDE

Then select the correct project. A project example is by default located at '$HOME\STM32Cube\Repository\STM32Cube_FW_MP1_VX.X.X\Projects\STM32MP257F-EV1\Examples\ADC\ADC_DifferentialMode\STM32CubeIDE

Firmware project selection

After selecting the project, click on [Finish] to import and build the project.