mirror of
https://github.com/embassy-rs/embassy.git
synced 2025-09-27 12:20:37 +00:00

Adds initial support for MIMXRT600 series MCUs from NXP. Subsequent PRs will add more drivers.
578 B
578 B
embassy-imxrt-examples
Introduction
These examples illustrates how to use the embassy-imxrt HAL.
Adding Examples
Add uniquely named example to src/bin
like adc.rs
Build
cd
to examples folder
cargo build --bin <example_name>
for example, cargo build --bin adc
Run
Assuming RT685 is powered and connected to Jlink debug probe and the latest probe-rs is installed via
$ cargo install probe-rs-tools --git https://github.com/probe-rs/probe-rs --locked
cd
to examples folder
cargo run --bin <example_name>
for example, cargo run --bin adc