DESK-MP1-L/Development/Using the STM32CubeMX Configuration file (.ioc)

From DAVE Developer's Wiki
Jump to: navigation, search
History
ID# Issue Date Notes

TBD

19/07/2023 DESK-MP1-L-1.0.0 release



This page details how the U-Boot/Linux Device Tree (DT) files are created. The process is illustrated in the following image.

DESK-MP1-L-device-trees-generation.png

The first step consists of creating a .ioc file with the help of the [https://www.st.com/en/development-tools/stm32cubemx.html STM32CubeMX ] tool. The file is named DCSB5000DD1R.ioc because it is strictly associated with the hardware configuration of the SBC ETRA included in the evaluation kit, whose model version is indeed [[1]].

STM32CubeMX is then used for exporting a set of intermediate files including the Device Trees. These DTs are subsequently tweaked by hand to add further hardware-specific stuff that it is not possible to handle with STM32CubeMX. The final DTs, along with other files, are eventually pushed to the GitLab repositories accessible by the customers.