7 ms·
I was able to make a hacky fix for that. If you get the `svd2rust` source code and modify `generate.rs` on line 756 you can get it to generate a library file an
by doctor_stopsign 9y ago
I was able to make a hacky fix for that. If you get the `svd2rust` source code and modify `generate.rs` on line 756 you can get it to generate a library file and not panic.
There are still a ton of warnings that pop up, and I haven't yet tested it on an MCU but in theory it should work.
- yammajr 9y agoI did exactly the same thing, but I'm not totally happy with it. Good for fooling around with, but not convinced I'd want to push something using it into production without a bit of further investigation.