This repository was archived by the owner on Jul 6, 2019. It is now read-only.
This repository was archived by the owner on Jul 6, 2019. It is now read-only.
RFC: generate ioregs! macros from SVD files #327
Open
Description
After discussion here it seems that we could save a lot of work if we generate ioregs!
macros from SVD files.
Based on the great work of @posborne I threw together a python script, that generates register definitions for STM32F4. It does not handle more complex cases with enumerated values, though.
One caveat is, that one has to be careful regarding the licenses of the SVD files and check if they are compatible with the Apache license or at least allow derivates to be Apache licensed.
Any ideas on how to integrate such a python generator in the zinc build system?
Metadata
Metadata
Assignees
Labels
No labels