this post was submitted on 27 Nov 2021
4 points (100.0% liked)

Rust Programming

8438 readers
26 users here now

founded 5 years ago
MODERATORS
top 3 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 3 points 3 years ago (2 children)

Rust doesn't just run on arduino boards, but most AVR chips. (you need some memory though)

Also those AVR chips come as DIP, take 5V and programmers are cheap so no need to buy expensive arduino boards really.

But if you wan't to do embedded Rust you should really get some ARM or RISC-V chips, they are better supported, run faster, have more memory and peripherals and some have quite extensive HAL crates for fast prototyping.

[โ€“] [email protected] 3 points 3 years ago* (last edited 3 years ago)

The day RISC-V replaces proprietary PIC, AVR, and ESP as the microcontroller architecture of choice will make me, and the hobby electronics community, extremely happy.

Too many microcontrollers, especially the cheaper ones, can only be programmed with the company's proprietary IDE and their proprietary version of C or assembly. AVR actually seems to be an exception to this which is why the Arduino and similar products chose them for their open source board.

[โ€“] [email protected] 1 points 3 years ago

I've been using RPPAL to work on a Pi 4 and it works pretty well. Has good defaults & support for all the interfaces I'm using (GPIO, SPI). Good experience overall (once I figured out cross-compiling).