mirror of
https://github.com/embassy-rs/embassy.git
synced 2025-09-28 04:40:39 +00:00

Version 0.2+ allows for the user to provide custom FCB for their platform. By default, FCB should work on MIMXRT685s EVK, by NXP. Based on PR by James Munns on the original "out-of-tree" copy of embassy-imxrt: https://github.com/OpenDevicePartnership/embassy-imxrt/pull/387
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