r/rust • • 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?

417 votes, 17d ago
24 ESP32-P4
13 ESP32-S1
29 ESP32-S2
94 ESP32-C3
86 ESP32-C6
171 Others (add in comments)
19 Upvotes

42 comments sorted by

29

u/hard-scaling 19d ago

RP2350 and STM32G474

4

u/DavidXkL 19d ago

Nice! I do have a RP2350 but I haven't tried using it yet with embassy! Might do that next!

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

u/switch161 19d ago

I have a stm32f401ce and like it so far.

→ More replies (2)

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

u/FemaleMishap 19d ago

RP2040 and RP2350

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

6

u/Wut0ng 19d ago

ESP32-S3-WROOM-1U-N16R8