mirror of
https://github.com/embassy-rs/embassy.git
synced 2025-09-28 21:01:06 +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
62 lines
1.7 KiB
TOML
62 lines
1.7 KiB
TOML
[package]
|
|
name = "embassy-imxrt-examples"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
license = "MIT or Apache-2.0"
|
|
|
|
[dependencies]
|
|
cortex-m = { version = "0.7.7", features = ["inline-asm", "critical-section-single-core"] }
|
|
cortex-m-rt = "0.7.3"
|
|
defmt = "1.0"
|
|
defmt-rtt = "1.0"
|
|
|
|
embassy-executor = { version = "0.7.0", path = "../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "executor-interrupt", "defmt"] }
|
|
embassy-futures = { version = "0.1.1", path = "../../embassy-futures" }
|
|
embassy-imxrt = { version = "0.1.0", path = "../../embassy-imxrt", features = ["defmt", "mimxrt685s", "unstable-pac", "time", "time-driver-rtc"] }
|
|
embassy-time = { version = "0.4", path = "../../embassy-time" }
|
|
embassy-sync = { version = "0.6.2", path = "../../embassy-sync", features = ["defmt"] }
|
|
embedded-hal-1 = { package = "embedded-hal", version = "1.0" }
|
|
embedded-hal-async = "1.0.0"
|
|
|
|
mimxrt600-fcb = "0.2.2"
|
|
panic-probe = { version = "0.3", features = ["print-defmt"] }
|
|
rand = { version = "0.8.5", default-features = false }
|
|
|
|
# cargo build/run
|
|
[profile.dev]
|
|
codegen-units = 1
|
|
debug = 2
|
|
debug-assertions = true # <-
|
|
incremental = false
|
|
opt-level = 3 # <-
|
|
overflow-checks = true # <-
|
|
|
|
# cargo test
|
|
[profile.test]
|
|
codegen-units = 1
|
|
debug = 2
|
|
debug-assertions = true # <-
|
|
incremental = false
|
|
opt-level = 3 # <-
|
|
overflow-checks = true # <-
|
|
|
|
# cargo build/run --release
|
|
[profile.release]
|
|
codegen-units = 1
|
|
debug = 2
|
|
debug-assertions = false # <-
|
|
incremental = false
|
|
lto = 'fat'
|
|
opt-level = 3 # <-
|
|
overflow-checks = false # <-
|
|
|
|
# cargo test --release
|
|
[profile.bench]
|
|
codegen-units = 1
|
|
debug = 2
|
|
debug-assertions = false # <-
|
|
incremental = false
|
|
lto = 'fat'
|
|
opt-level = 3 # <-
|
|
overflow-checks = false # <-
|