blob: 6d5031cf9c1e6b81658307da3a7b5f88acfecbb2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# 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`
|