This repository has been archived by the owner on Jul 6, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 100
RFC: generate ioregs! macros from SVD files #327
Comments
related: #326 |
there's little sense to not commit the generated files in tree, really (like I did in #318). |
ah, so we already got the ruby implementation of the svd parser/generator. I'll take a look at it in |
This is also in-progress: https://github.com/posborne/zinc/tree/svd-generator-python. Haven't been able to find much time lately to work on it more. |
Recapping the discussion we had here and in 326, I guess this is how we should proceed.
|
+1 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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?
The text was updated successfully, but these errors were encountered: