this post was submitted on 17 Jun 2023
0 points (NaN% liked)

Rustlang

36 readers
1 users here now

founded 2 years ago
 

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

top 2 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 1 points 1 year ago (1 children)
[โ€“] [email protected] 1 points 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.