ZigEmbeddedGroup / regz

Generate zig code from ATDF or SVD files for microcontrollers.
MIT License
82 stars 29 forks source link

A quick fix for ATDF codegen and register groups #59

Closed mattnite closed 1 year ago

mattnite commented 1 year ago

The current code was expecting register groups and peripherals to have a 1:1 ratio, however the register groups under modules are more like templates which are used to instantiate peripherals. This does the minimal amount of refactoring in order for this to work and unblock some users.

fixes #58