35 lines
1.3 KiB
TOML
35 lines
1.3 KiB
TOML
[package]
|
|
edition = "2021"
|
|
name = "embassy-nrf-rtos-trace-examples"
|
|
version = "0.1.0"
|
|
|
|
[features]
|
|
default = ["log", "nightly"]
|
|
nightly = ["embassy-executor/nightly", "embassy-nrf/nightly", "embassy-nrf/unstable-traits"]
|
|
log = [
|
|
"dep:log",
|
|
"embassy-sync/log",
|
|
"embassy-executor/log",
|
|
"embassy-time/log",
|
|
"embassy-nrf/log",
|
|
]
|
|
|
|
[dependencies]
|
|
embassy-sync = { version = "0.1.0", path = "../../embassy-sync" }
|
|
embassy-executor = { version = "0.1.0", path = "../../embassy-executor", features=["rtos-trace", "rtos-trace-interrupt", "integrated-timers"] }
|
|
embassy-time = { version = "0.1.0", path = "../../embassy-time" }
|
|
embassy-nrf = { version = "0.1.0", path = "../../embassy-nrf", features = ["nrf52840", "time-driver-rtc1", "gpiote", "unstable-pac"] }
|
|
|
|
cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
|
|
cortex-m-rt = "0.7.0"
|
|
panic-probe = { version = "0.3" }
|
|
futures = { version = "0.3.17", default-features = false, features = ["async-await"] }
|
|
rand = { version = "0.8.4", default-features = false }
|
|
serde = { version = "1.0.136", default-features = false }
|
|
rtos-trace = "0.1.3"
|
|
systemview-target = { version = "0.1.2", features = ["callbacks-app", "callbacks-os", "log", "cortex-m"] }
|
|
log = { version = "0.4.17", optional = true }
|
|
|
|
[[bin]]
|
|
name = "rtos_trace"
|
|
required-features = ["nightly"]
|