I’m working on an embedded project (basically just leds and uarts, nothing crazy), but my flash space is pretty limited (64k) and ram isn’t much either.
I want to experiment with embedded rust, but I also don’t want to reimplement ST’s register layer (low level drivers I guess).
Any neat tools out there to sort of wholesale convert C to rust?
Currently reading Rust Embedded
You must log in or register to comment.
There’s HALs for various processors - e.g. https://github.com/stm32-rs/stm32f4xx-hal
Those are pretty great!
Hopefully the implementation is low level. When I was writing my C version I had to ditch the ST HAL for low-level drivers. That thing is a hot mess, esp when you’re trying to cram a bootloader and app into 64k.