Dario Nieuwenhuis d23d5d6a4c
Merge pull request #4224 from felipebalbi/button
imxrt: add button example
2025-06-01 12:20:01 +00:00
..
2025-04-09 09:37:45 -07:00
2025-05-21 08:08:37 -07:00
2025-04-09 09:37:45 -07:00
2025-05-22 13:29:55 +08:00
2025-04-10 10:15:44 -07:00
2025-04-09 09:37:45 -07:00

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