diff options
| author | Felipe Balbi <[email protected]> | 2025-04-03 08:47:25 -0700 |
|---|---|---|
| committer | Felipe Balbi <[email protected]> | 2025-04-09 09:37:45 -0700 |
| commit | aa9a16e569dfb56ce2b689733975f4d854af0b00 (patch) | |
| tree | 865ae0aa84bcb4c438463d34dd567ea07abe98e3 /examples/mimxrt6/Cargo.toml | |
| parent | 0ec3e78c1bb0cdb20749cca4b294cb8a16e7fd43 (diff) | |
Add embassy-imxrt
Adds initial support for MIMXRT600 series MCUs from NXP. Subsequent
PRs will add more drivers.
Diffstat (limited to 'examples/mimxrt6/Cargo.toml')
| -rw-r--r-- | examples/mimxrt6/Cargo.toml | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/examples/mimxrt6/Cargo.toml b/examples/mimxrt6/Cargo.toml new file mode 100644 index 000000000..894ce174c --- /dev/null +++ b/examples/mimxrt6/Cargo.toml | |||
| @@ -0,0 +1,60 @@ | |||
| 1 | [package] | ||
| 2 | name = "embassy-imxrt-examples" | ||
| 3 | version = "0.1.0" | ||
| 4 | edition = "2021" | ||
| 5 | license = "MIT or Apache-2.0" | ||
| 6 | |||
| 7 | [dependencies] | ||
| 8 | cortex-m = { version = "0.7.7", features = ["inline-asm", "critical-section-single-core"] } | ||
| 9 | cortex-m-rt = "0.7.3" | ||
| 10 | defmt = "1.0" | ||
| 11 | defmt-rtt = "1.0" | ||
| 12 | |||
| 13 | embassy-executor = { version = "0.7.0", path = "../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "executor-interrupt", "defmt"] } | ||
| 14 | embassy-futures = { version = "0.1.1", path = "../../embassy-futures" } | ||
| 15 | embassy-imxrt = { version = "0.1.0", path = "../../embassy-imxrt", features = ["defmt", "mimxrt685s", "unstable-pac"] } | ||
| 16 | embassy-sync = { version = "0.6.2", path = "../../embassy-sync", features = ["defmt"] } | ||
| 17 | embedded-hal-1 = { package = "embedded-hal", version = "1.0" } | ||
| 18 | embedded-hal-async = "1.0.0" | ||
| 19 | |||
| 20 | mimxrt600-fcb = "0.1.0" | ||
| 21 | panic-probe = { version = "0.3", features = ["print-defmt"] } | ||
| 22 | rand = { version = "0.8.5", default-features = false } | ||
| 23 | |||
| 24 | # cargo build/run | ||
| 25 | [profile.dev] | ||
| 26 | codegen-units = 1 | ||
| 27 | debug = 2 | ||
| 28 | debug-assertions = true # <- | ||
| 29 | incremental = false | ||
| 30 | opt-level = 3 # <- | ||
| 31 | overflow-checks = true # <- | ||
| 32 | |||
| 33 | # cargo test | ||
| 34 | [profile.test] | ||
| 35 | codegen-units = 1 | ||
| 36 | debug = 2 | ||
| 37 | debug-assertions = true # <- | ||
| 38 | incremental = false | ||
| 39 | opt-level = 3 # <- | ||
| 40 | overflow-checks = true # <- | ||
| 41 | |||
| 42 | # cargo build/run --release | ||
| 43 | [profile.release] | ||
| 44 | codegen-units = 1 | ||
| 45 | debug = 2 | ||
| 46 | debug-assertions = false # <- | ||
| 47 | incremental = false | ||
| 48 | lto = 'fat' | ||
| 49 | opt-level = 3 # <- | ||
| 50 | overflow-checks = false # <- | ||
| 51 | |||
| 52 | # cargo test --release | ||
| 53 | [profile.bench] | ||
| 54 | codegen-units = 1 | ||
| 55 | debug = 2 | ||
| 56 | debug-assertions = false # <- | ||
| 57 | incremental = false | ||
| 58 | lto = 'fat' | ||
| 59 | opt-level = 3 # <- | ||
| 60 | overflow-checks = false # <- | ||
