Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cbridge] Add capability to write MX_Device.h file used for CMSIS-Driver configuration #16

Closed
jkrech opened this issue Dec 5, 2023 · 0 comments · Fixed by #18
Closed
Assignees
Labels
enhancement New feature or request

Comments

@jkrech
Copy link
Member

jkrech commented Dec 5, 2023

Describe The Problem To Be Solved
STM32CubeMX use case: create a C-header file from STM32CubeMX project.ioc file in order to configure CMSIS-Drivers.

(Optional): Suggest A Solution
A python implementation and tests can be found here: https://github.com/DavidLesnjak/MX_Device_Generator_PoC/blob/main/MX_Device_Generator_PoC.py

This needs to be added to the cbridge implementation, at the point when the *.cgen.yml files are generated.

At this point we go for generating a single configuration file MX_Device.h an alternative approach would be to split this up into multiple files, one for each peripheral type.

@jkrech jkrech added the enhancement New feature or request label Dec 5, 2023
@jkrech jkrech assigned thorstendb-ARM and jkrech and unassigned thorstendb-ARM Dec 5, 2023
@jkrech jkrech linked a pull request Dec 12, 2023 that will close this issue
@bgn42 bgn42 closed this as completed in #18 Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

2 participants