Use Rust in Arduino

#1

I believe that we can use Rust in Arduino, but how do we set this up?

#2

Arduino is based on AVR, and AVR support in Rust is a work in progress:

4 Likes
#3

Cool can’t wait to use Rust with Arduino one day.

#4

You could propable use the Arduino Due which is based on a arm cortex M3

#5

Can you code in Rust and is Rust stable enough to be used on Aurduinos?

#6

Yes :slight_smile: https://crates.io/crates/sam3x8e

1 Like
#7

Would this also be compatable with a Rasbbery Pi or the Odroid without changing the code?

Can you use sam3x8e on a Raspberry Pi or an Odroid
#8

How do I upload an executable to the Due?

1 Like
#9

You could do that with a openocd /gdb or something similar. Take a look at https://docs.rust-embedded.org/book/start/hardware.html, as MCU the due is equipped with a Atmel SAM3X8E ARM Cortex-M3.

#10

Thanks get uploaded with your help :sunglasses: