The Embedded Working Group Newsletter - 6
2018-07-01This is the sixth newsletter of the Embedded WG where we highlight new progress, celebrate cool projects, thank the community, and advertise projects that need help!
This newsletter covers the past ~6 weeks.
If you want to mention something in the next newsletter, make sure to leave a comment on the issue.
Highlights
- Jacob Creedon gave an introduction talk about using Rust with embedded systems at the Teardown Conference in Portland, check out Jacob's Slides or the Video of Jacob's Talk
- The Embedded WG's own theJPster talked about the Monotron at RustFest Paris, you can see JP's Slides, or check out the Video of JP's Talk
- Jorge Aparicio, Vadzim Dambrouski and Hanno Braun from the embedded WG also attended RustFest Paris and the following impl days. They worked towards embedded Rust on stable, better embedded Rust tooling and better MSP430 support; gave away some hardware; and chatted with lots of people interested in embedded Rust.
- The
#[panic_implementation]
feature has landed and has been proposed for stabilization (FCP merge). This feature lets you define the behavior ofpanic!
in#[no_std]
context and it's the final piece for making embedded Rust development possible on the stable channel. :tada: - The Discovery book has been updated to work with the preview of stable embedded Rust.
- A new
llvm-tools
rustup component is now available on recent nightly releases. It contains LLVM tools to inspect Rust binaries regardless of their target architecture. One set of tools for ARM Cortex-M, MSP430, x86_64 and other architectures!
Embedded Projects
If you have an embedded project or blog post you would like to have featured in the Embedded WG Newsletter, make sure to mention it on the tracking issue for the next newsletter, we would love to show it off!
- rudihorn shared light-cli, a lightweight, no_std, and heapless CLI tool
- Paolo Teti shared ti-hercules-bsp, a board support package for Texas Instruments TMS570 MCUs, used by safety critical industries such as automotive and aerospace
- Marcel Buesing posted their driver crate for the bme680 environmental sensor
- Roy Smeding is working on support for the stm32f334 chip from STMicro
- The Embedded WG's own Jonathan Soo announced his project, Bobbin SDK, a set of tools to make it easier to share code between different chips from the same or different vendors
- Eitan Mosenkis did a major update of their esp-rs script which produces a project to compile Rust code for the ESP8266 via the mrustc Rust to C compiler.
- Hanno Braun released v0.2 of lpc82x-hal, which includes a radical simplification of the API, allowing for stronger compile-time state guarantees. Check out the lpc82x-hal announcement for more info!
embedded-hal
Ecosystem Crates
As part of the Weekly Driver Initiative, crates that are part of the embedded-hal
ecosystem are now tracked in the Awesome Embedded Rust repository. Here is a current snapshot of what is available there:
Type | Status | Count |
---|---|---|
Device Crates | released | 14 |
HAL Impl Crates | released | 11 |
Board Support Crates | released | 6 |
Driver Crates Released | released | 9 |
Driver Crates WIP | WIP | 30 |
Help Wanted
- We are seeking input about the user interface the
cargo-binutils
subcommands should expose. These subcommands provide access to the LLVM tools provided by thellvm-tools
rustup component mentioned above. - Are you using embedded Rust in production? We are collecting commercial testimonials about embedded Rust for the webpage the embedded WG will have on the revamped rust-lang.org website. Even if you can't give details about the product you are building we would still love to hear from you!