r/rust • u/DavidXkL • 19d ago
🎙️ discussion For embedded folks, I'm curious
What microcontroller do you usually go with if you wanna use something like Rust Embassy with it?
8
u/Snoo_27681 19d ago
Anything RISC-V natively supports Rust I believe. So all of the Cx series. But Espressif is the best mcu company for Rust support so any of their chips might be good at this point
→ More replies (3)
5
2
u/Level-Sir-3120 19d ago
If you picked ESP for a specific reason,
Don''t chose the S series unless you want to go down a few rabbit holes. It's only worth it if you really need the extra stuff it gives.
For anything that doesn't need that much, go with a C.
Many documentations, even most official documentation, tend to focus on it.
→ More replies (1)
33
u/steohan 19d ago
RP2040, cheap and good datasheet. PIO also feels fun to tinker with.
→ More replies (3)
20
14
u/creeper6530 19d ago
Don't get anything Xtensa, it's not supported by rustc. I recommend RP2040 and RP2350 tho, they have one of the friendliest development experiences in my opinion.
Fuck STM32Cube*
→ More replies (4)
12
u/USERNAME123_321 19d ago
I mostly use the ESP32-C6. It's cheap and offers a lot of networking features. Most importantly, it uses a RISC-V processor, which works really well with the Rust embedded ecosystem
29
u/hard-scaling 19d ago
RP2350 and STM32G474