-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
When all enabled peripherals in STM32CubeMX are configured to use LL (Low-Layer) drivers only (i.e., no HAL drivers), cbridge fails to generate the MX_Device.h and *cgen.yml files.
Root Cause
STM32CubeMX does not generate the *_hal_msp.c file when no peripheral uses the HAL driver. Since cbridge relies on this file to extract pin configuration data, the generation of related output files fails.
Expected Behavior
Even when only LL drivers are used, cbridge should still be able to generate the required files.
Steps To Reproduce
- From VSCode project lanch STM32CubeMx
- In
Project Manage->Advanced Settings->Driver SelectorsetRCCtoLL - Click
GENERATE CODE - Notice that expected
MX_Device.hand*cgen.ymlare not generated
Affected operating systems
- Windows amd64
- Windows arm64
- Linux amd64
- Linux arm64
- MacOS amd64
- MacOS arm64
Environment
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Backlog