Difference between revisions of "DESK-MP1-L/Development/Using the STM32CubeMX Configuration file (.ioc)"

From DAVE Developer's Wiki
Jump to: navigation, search
(Created page with "<section begin=History/> {| style="border-collapse:collapse; " !colspan="4" style="width:100%; text-align:left"; border-bottom:solid 2px #ededed"|History |- !style="border-le...")
 
Line 1: Line 1:
<section begin=History/>
+
<section begin="History" />
 
{| style="border-collapse:collapse; "
 
{| style="border-collapse:collapse; "
!colspan="4" style="width:100%; text-align:left"; border-bottom:solid 2px #ededed"|History
+
! colspan="4" style="width:100%; text-align:left" ; border-bottom:solid 2px #ededed" |History
 
|-  
 
|-  
!style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white"|ID#
+
! style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white" |ID#
!style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white"|Issue Date
+
! style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white" |Issue Date
!style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white"|Notes
+
! style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white" |Notes
 
|-
 
|-
|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|{{oldid|TBD|TBD}}
+
| style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000" |{{oldid|TBD|TBD}}
|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|19/07/2023
+
| style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000" |19/07/2023
|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|DESK-MP1-L-1.0.0 release
+
| style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000" |DESK-MP1-L-1.0.0 release
 
|-
 
|-
 
|}
 
|}
<section end=History/>
+
<section end="History" />
 
__FORCETOC__
 
__FORCETOC__
<section begin=Body/>
+
<section begin="Body" />
  
This page details how the U-Boot/Linux Device Tree files are created. The process is illustrated in the following image.
+
This page details how the U-Boot/Linux Device Tree (DT) files are created. The process is illustrated in the following image.
 +
 
 +
[[File:DESK-MP1-L-device-trees-generation.png|center|thumb|800x800px]]
 +
 
 +
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 [[https://wiki.dave.eu/index.php/Product_serial_number|DCSB5000DD1R]].
 +
 
 +
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.

Revision as of 09:52, 3 August 2023

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.