Posts

Subscribe to receive posts in your Atom feed.

Reflections on imxrt-hal (2024)

2024-12-15

I released version 0.5 of imxrt-hal around two years ago. The release produced a package interface that didn't exclusively favor embedded-hal. It also exposes the low-level details of the hardware to the user. Questions about this design decision came up this time last year and again last week.

RT1180 bringup: low-power peripherals

2024-11-30

We're adding support for the i.MXRT1180 in the imxrt-rs project, and we'd like to re-use as many drivers as we can from imxrt-hal. The SVDs for the 1180 describe differences in the LPSPI, LPI2C, and LPUART peripherals. How does that affect the drivers we're using on other i.MXRT MCUs?

Exploring Rust and C++ in embedded software

2023-09-29

CXX provides a safe way to combine Rust and C++ code. Not only does it automate binding generation, but it also lets us build C++ and Rust using cargo, the standard Rust package manager. CXX has experimental support for combining C++ with no_std, no alloc Rust, which should be usable for bare-metal firmware.