Skip to content
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
@niclashoyer

Description

@niclashoyer

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions