Rust proposal for Platform IO

Why can’t we port Platform IO to Rust ? infact why can’t I code embedded systems in Rust ? I think with a little community effort we can make this happen.

While I’ve not yet programmed with Rust myself, I know that there is a sizable Rust Embedded community, and they have a good standardized build system: cargo.

All major chip vendors are supported: STMicroelectronics, Nordic, Atmel, Espressif, Raspberrypi, NXP, Renesas, Gigadevice, …

See

The build system PlatformIO uses, SCons, doesn’t even have Rust support.

I don’t think porting PlatformIO to build Rust firmwares will be an improvement for the ecosystem when there’s also a strong, standardized accepted build system.

Also see

The hardest part is not Rust. It’s chip vendors. For every MCU family, someone has to maintain many things including Peripheral Access Crates (PACs), startup code, linker scripts, examples and documentation. The C ecosystem gets these almost for free because vendors release C SDKs. Rust developers usually have to build and maintain them separately.

1 Like