> My evenings for the past couple weeks were spent (re)writing this: > <https://github.com/auxym/svd2nim>
Fantastic! I'm looking forward to digging into it next week. Luckily my day job now includes writing Nim on embedded devices. :-) > It seems to be working, I have a test that checks all register addresses > against those in a reference C header (generated by ARM's tool, SVDConv). The > API is detailed in the readme. Interesting, did you go with the C-struct model or use the setter/getter pattern you discussed before?