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

#rust

  • plasmarobo@kbin.socialOP
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    @BeliefPropagator

    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.