ZigEmbeddedGroup / microzig

Unified abstraction layer and HAL for several microcontrollers
zlib License
1.26k stars 102 forks source link

adding NVIC registers for cortex m0+, fixing little bug with stringToEnum #281

Closed freiguy1 closed 3 weeks ago

freiguy1 commented 3 weeks ago

Hi! Am working on a hobby project with a stm32g030, and have just been trying to get interrupts working. Turns out I needed NVIC registers. This change adds the NVIC registers. I wrote it by hand; if it can be generated, that'd avoid any of my math mistakes!