This project shows the usage of CubeMX. Refer to the documentation chapter CMSIS-Toolbox > Configure STM32 Devices with CubeMX for details.
- CMSIS-Toolbox 2.3.0 or higher
- Keil MDK 5.37 or higher
- STM32CubeMX 6.11 or higher
Note: later versions will also compile with GCC.
- Required packs are listed in the file
CubeMX.csolution.yml
andCubeMX.cproject.yml
DFP and BSP development packs are available here github.com/Open-CMSIS-Pack/pack-examples. Clone the repo to <working-dir>
and install the packs by executing:
> cpackget add <working-dir>\pack-examples\STM32U5xx_DFP\Keil.STM32U5xx_DFP.pdsc
> cpackget add <working-dir>\pack-examples\B-U585I-IOT02A_BSP\Keil.B-U585I-IOT02A_BSP.pdsc
This command starts STM32CubeMX using the specified context.
> csolution CubeMX.csolution.yml run --generator CubeMX --context CubeMX.Debug+MyBoard
For using CubeMX refer to the documentation chapter CMSIS-Toolbox > Configure STM32 Devices with CubeMX.
> cbuild CubeMX.csolution.yml --packs --update-rte
Note: During the build process required packs may be downloaded.
You may use the debugger of choice for executing this program.