2020-09-22 18:03:43 +02:00
|
|
|
[package]
|
2022-03-10 01:05:33 +01:00
|
|
|
edition = "2021"
|
2021-01-01 22:41:59 +01:00
|
|
|
name = "embassy-nrf-examples"
|
2020-09-22 18:03:43 +02:00
|
|
|
version = "0.1.0"
|
|
|
|
|
2022-02-12 00:24:04 +01:00
|
|
|
[features]
|
2022-08-16 07:17:28 +02:00
|
|
|
default = ["defmt", "nightly"]
|
2022-07-29 21:58:35 +02:00
|
|
|
nightly = ["embassy-executor/nightly", "embassy-nrf/nightly", "embassy-nrf/unstable-traits", "embassy-usb", "embassy-usb-serial", "embassy-usb-hid", "embassy-usb-ncm", "embedded-io/async", "embassy-net"]
|
2022-08-16 07:17:28 +02:00
|
|
|
defmt = [
|
|
|
|
"dep:defmt",
|
|
|
|
"dep:defmt-rtt",
|
|
|
|
"embassy-util/defmt",
|
|
|
|
"embassy-executor/defmt",
|
|
|
|
"embassy-executor/defmt-timestamp-uptime",
|
|
|
|
"embassy-nrf/defmt",
|
|
|
|
"embassy-net/defmt",
|
|
|
|
"embassy-usb/defmt",
|
|
|
|
"embassy-usb-serial/defmt",
|
|
|
|
"embassy-usb-hid/defmt",
|
|
|
|
"embassy-usb-ncm/defmt",
|
|
|
|
"panic-probe/print-defmt",
|
|
|
|
]
|
|
|
|
log = [
|
|
|
|
"dep:log",
|
|
|
|
"embassy-util/log",
|
|
|
|
"embassy-executor/log",
|
|
|
|
"embassy-nrf/log",
|
|
|
|
"embassy-net/log",
|
|
|
|
"embassy-usb-ncm/log",
|
|
|
|
# Currently broken:
|
|
|
|
# "embassy-usb/log",
|
|
|
|
# "embassy-usb-serial/log",
|
|
|
|
# "embassy-usb-hid/log",
|
|
|
|
]
|
|
|
|
rtos-trace = [
|
|
|
|
"dep:rtos-trace",
|
|
|
|
"dep:systemview-target",
|
|
|
|
"embassy-executor/rtos-trace",
|
|
|
|
"embassy-executor/rtos-trace-interrupt",
|
|
|
|
]
|
2020-09-22 18:03:43 +02:00
|
|
|
|
|
|
|
[dependencies]
|
2022-08-16 07:17:28 +02:00
|
|
|
embassy-util = { version = "0.1.0", path = "../../embassy-util" }
|
|
|
|
embassy-executor = { version = "0.1.0", path = "../../embassy-executor" }
|
|
|
|
embassy-nrf = { version = "0.1.0", path = "../../embassy-nrf", features = ["nrf52840", "time-driver-rtc1", "gpiote", "unstable-pac"] }
|
|
|
|
embassy-net = { version = "0.1.0", path = "../../embassy-net", features = ["tcp", "dhcpv4", "medium-ethernet", "pool-16"], optional = true }
|
|
|
|
embassy-usb = { version = "0.1.0", path = "../../embassy-usb", optional = true }
|
|
|
|
embassy-usb-serial = { version = "0.1.0", path = "../../embassy-usb-serial", optional = true }
|
|
|
|
embassy-usb-hid = { version = "0.1.0", path = "../../embassy-usb-hid", optional = true }
|
|
|
|
embassy-usb-ncm = { version = "0.1.0", path = "../../embassy-usb-ncm", optional = true }
|
2022-05-19 00:13:31 +02:00
|
|
|
embedded-io = "0.3.0"
|
2020-11-01 17:17:24 +01:00
|
|
|
|
2022-08-16 07:17:28 +02:00
|
|
|
defmt = { version = "0.3", optional = true }
|
|
|
|
defmt-rtt = { version = "0.3", optional = true }
|
2020-11-01 17:17:24 +01:00
|
|
|
|
2021-11-15 20:11:08 +01:00
|
|
|
cortex-m = "0.7.3"
|
2021-08-19 17:11:17 +02:00
|
|
|
cortex-m-rt = "0.7.0"
|
2022-08-16 07:17:28 +02:00
|
|
|
panic-probe = { version = "0.3" }
|
2021-09-11 00:10:46 +02:00
|
|
|
futures = { version = "0.3.17", default-features = false, features = ["async-await"] }
|
2021-06-29 09:26:16 +02:00
|
|
|
rand = { version = "0.8.4", default-features = false }
|
2022-02-07 12:35:58 +01:00
|
|
|
embedded-storage = "0.3.0"
|
2022-03-29 21:18:43 +02:00
|
|
|
usbd-hid = "0.5.2"
|
|
|
|
serde = { version = "1.0.136", default-features = false }
|
2022-08-16 07:17:28 +02:00
|
|
|
rtos-trace = { version = "0.1.3", optional = true }
|
|
|
|
systemview-target = { version = "0.1.1", optional = true, features = ["callbacks-app", "callbacks-os", "log", "cortex-m"] }
|
|
|
|
log = { version = "0.4.17", optional = true }
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "rtos_trace"
|
2022-08-16 07:20:07 +02:00
|
|
|
required-features = ["nightly", "rtos-trace"]
|
2022-08-16 07:17:28 +02:00
|
|
|
|
|
|
|
[patch.crates-io]
|
|
|
|
rtos-trace = { git = "https://gitlab.com/quentinmit/rtos-trace.git", branch = "build-fix" }
|
|
|
|
systemview-target = { git = "https://gitlab.com/quentinmit/rtos-trace.git", branch = "build-fix" }
|