Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yeah, we deliberately have a fork of Nim that is purely for adding workarounds when we hit small internal things like that — though most of our changes are upstreamed proper now which is nice!

To answer your follow up question; both - we’re in the process of bringing up firmware for the STM32G0 and L4 microcontrollers, and CubeMX is such a pain to try and bind as-is, we started to play with svd2nim and see if we can’t bring up peripherals that way instead. That’s a less well tread path of course, but it’s promising so far. Only downside is that’s more like Rust’s approach of rebuilding the world, but oh well



Really cool to see your approach, didn't know about svd2nim project. Hopefully i will able be to use your approach for some hobby embedded projects.

Thanks again for taking time for a detailed reply!!


Come hang out in the #embedded channel in the Nim Discord/Matrix/IRC :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: