ZigEmbeddedGroup / regz

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

Duplicate core peripherals #91

Closed ekoeppen closed 1 year ago

ekoeppen commented 1 year ago

Using the SVD file for STM32F0x0, duplicate core peripherals get created:

///  System Control Space
pub const NVIC = @intToPtr(*volatile types.peripherals.SCS, 0xe000e100);
///  Nested Vectored Interrupt Controller
pub const NVIC = @intToPtr(*volatile types.peripherals.NVIC, 0xe000e100);
///  System Control Space
pub const SCB = @intToPtr(*volatile types.peripherals.SCS, 0xe000ed00);
///  System control block
pub const SCB = @intToPtr(*volatile types.peripherals.SCB, 0xe000ed00);