...
The following picture illustrates the above hardware set-up for STM32H7-BSB Rev 2A:
...
4. Adding the FreeRTOS Project to STM32CubeIDE
...
Create a separate directory and clone the FreeRTOS project for the STM32H7-SOM from the common STM32CubeH7 repository:
Code Block $ mkdir stm32h7-som $ cd stm32h7-som $ git clone https://gitlab.com/emcraft/STM32H7/STM32CubeH7.git -b master-1.11.0-cubeideemcraft-projects
Start STM32CubeIDE and select a workspace directory. The workspace directory is an arbitrary directory, different from the directory where your source file is located.
Click File->Open Projects from File System:
Select
<STM32CubeH7 path>/Projects/STM32H7_SOM/Applications/FreeRTOS/freertos_stm32h750/SW4STM32/STM32H750-SOMfreertos_stm32h7_som
path and click Finish.
5. Building the Project
In Project Explorer double click to the
freertos_stm32h7_stm32h750som.ioc
file to activate the Device Configuration Tool:Click Project->Generate Code or press Alt-K to generate C-files from the
.ioc
file.Click Project->Build Project or press Ctrl-B to start building.
Select the Console tab and check the output:
If needed, find the executable binaries in the Debug subfolder of the FreeRTOS project directory.
...
Click the Debug button at the top panel:
Apply the launch configuration if prompted:
Select Remember my decision and switch to the Debug Perspective if prompted:
Wait for the STM32CubeIDE to write the firmware image to the target via ST-Link and stop at the
main()
function:Proceed to execute you program with steps, put breakpoints, and examine variables.
...
This section lists known problems and limitations of this project configuration.
...
.
LCD is not supported.
U-Boot environment and reliable upgrade are not available because the U-Boot boot loader has been removed.