You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thanks for the interest. Note that if you don't specifically need the functions defined in core_cm4.h, you don't need to do this work, and you can already use svd2nim with your STM32 SVD file, which will produce a fully standalone nim module for register access.
Unfortunately I don't have much time to put into this at the moment. Maybe a bit later.
If you want to have a try, it's not too hard, just manually writing {.importc.} definitions for all the functions defined in core_cmh4.h. You can probably find a guide online on C FFI in nim.
You can also have a look at how I wrapped core_cm0plus:
Looking for support of the STM32F429x
I'd potentially be interested in doing this if you have any guidance on how.
The text was updated successfully, but these errors were encountered: