-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Patch SVD file for all tasks and events #3
Labels
nrf52832
Affects `nrf52832-pac`
Comments
I'm fine with this. Does anyone have experience with upstreaming such changes to Nordic? |
Maybe we could ping @terjesc? |
I needed such a patch to get the ADC working on the 52832 and made a python script to patch the sdv here https://github.com/dskleingeld/nrf52832-pac/blob/master/fix_svd.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently it is annoying to use the unsafe
bits()
function when writing to tasks or clearing events.I think the best way to approach this is to patch the SVD for any field with the name
task_
orevent_
. Since for all these fields the behavior is consistent, we could probably get pretty far with a simple regex replace.CC @sajattack @hannobraun
The text was updated successfully, but these errors were encountered: