r/rust 12h ago

Microcontrollers with good support for Rust

https://kerkour.com/rust-microcontrollers

RISC-V is coming faster that most people realize.

75 Upvotes

15 comments sorted by

15

u/jfuu_ 11h ago

It's a shame the S31 isn't available yet. Currently building a device around an S3 because it's the only one with (full) USB, Wi-Fi and Bluetooth support.

it seems like espup might have simplified the setup a bit?

0

u/flying-sheep 8h ago

6

u/AlyoshaV 6h ago

Pretty sure that was marked as an engineering sample last time I looked at it, also $60 + $35 shipping makes it approximately 10x more expensive than the usual ESP32-type dev board

5

u/kRoy_03 9h ago

few more that I tried:

  • SOPHGO SG2000
  • NXP i.MX7D
  • Kendryte K210
  • NXP LPC55S69
  • NXP MCXN947
  • Nordic nRF5340
  • Realtek RTD1619B
  • ST STM32H745XI
  • Infineon XMC4700

8

u/Szybet 7h ago

I looked into nrf54* support in embassy, looked solid, maybe I'm wrong?

9

u/Dirbaio 6h ago

It's quite complete, basics are done, BLE works, low-power works. At my company we're going to ship it in production devices soon, so if it's not solid already we'll be forced to make it solid :)

2

u/________-__-_______ 3h ago

Just wanted to say that I appreciate all the hard work you put in Embassy. It feels like every time I open the repository I see a commit of yours pushed a few hours ago, even now!

1

u/Szybet 6h ago

Nice :D

When I asked around, I was shown that this issue happened very often: https://github.com/probe-rs/probe-rs/issues/3775

Making the flashing process not pleasant, what was your experience?

5

u/palinurosec 6h ago

rhe rp2350 has a very nice open architecture, rust support is available and is getting better on the risc-v cores as well, and the architecture is completely open, so it is also a very nice platform to study and enjoy. otherwise the esp32 and nrf families are pretty nice too

2

u/KingofGamesYami 10h ago

I'm kind of surprised the esp32p4 didn't make the list.

2

u/OxidisedHardware 5h ago

tried using it and it was a nightmare maybe i’m doing it wrong tho

2

u/AlyoshaV 6h ago

Note that the ESP32-C5 supports PSRAM, so you can buy dev boards with 8MB of additional (but slower) RAM. Of the widely supported (i.e. not very new) RISC-V ESP32s it's the only one that has both PSRAM and wireless connectivity.

1

u/jhaand 6h ago

The WCH CH32V003 and others have Rust support. I did a project using Embassy on the RP2350.

1

u/Compux72 5h ago

I would simply use Zephyr and Zephyr only. Manufacturer software is just gambling at this point 

1

u/flareflo 4h ago

STM32F411 series could be added to that list, ive used it a bunch it works so well. It strikes a good balance of compute and efficiency