The Cranky Sysadmin A world of technology, fun, and ignorant rants.

December 8, 2017

Rust for Microcontrollers

Filed under: Arduino,Programming — Cranky Sysadmin @ 2:06 pm

When I started looking at Rust, I liked the fact that it claims to be a memory safe language with no garbage collector. I thought this would be great for microcontrollers. Sadly, at that time there weren’t any microcontroller targets easily available. Things seem to have changed a lot. I’m aware of 3 microcontroller targets available for rust:

  • AVR-Rust which is a functional but early port of rust for Atmel AVR controllers. I’ve been working on some basic examples similar to the basic arduino demos.
  • Rust for Arm Cortex-M microcontrollers. The most polished process is documented here.
  • There is also a crate and some language support for MSP430. There is an issue to track problems with the port.

I’m neither a rust expert, not a microcontroller expert, so I’ve spent a lot of time catching up. Most of my effort has been put toward understanding the AVR-Rust system. It has been fun but I haven’t produced anything noteworthy yet.

No Comments »

No comments yet.

RSS feed for comments on this post.

Leave a comment

Powered by WordPress