Files

106 lines
3.4 KiB
TOML
Raw Permalink Normal View History

2025-02-24 23:16:48 +01:00
[workspace]
2025-06-27 16:41:18 +02:00
members = [
"tflite_demo",
"lsm6ds3tr_demo",
"bluetooth_demo",
"blinky",
"bluetooth_recorder",
]
resolver = "2"
2025-02-24 23:16:48 +01:00
[workspace.features]
2025-06-27 16:41:18 +02:00
nrf52840 = ["embassy-nrf/nrf52840", "nrf-sdc/nrf52840"]
2025-02-24 23:16:48 +01:00
2025-06-27 16:41:18 +02:00
defmt = [
"dep:defmt",
"trouble-host/defmt",
"bt-hci/defmt",
"embedded-io/defmt-03",
"embedded-hal/defmt-03",
2025-02-24 23:16:48 +01:00
]
2025-06-27 16:41:18 +02:00
security = ["trouble-host/security"]
2025-02-24 23:16:48 +01:00
[workspace.dependencies]
embassy-futures = { version = "0.1.0" }
embassy-usb = { version = "0.3.0", features = ["defmt"] }
embassy-executor = { version = "0.7.0", features = [
2025-06-27 16:41:18 +02:00
# "task-arena-size-32768",
2025-02-24 23:16:48 +01:00
"arch-cortex-m",
"executor-thread",
"executor-interrupt",
"defmt",
] }
embassy-time = { version = "0.4.0", features = [
"defmt",
"defmt-timestamp-uptime",
] }
embassy-nrf = { version = "0.3.1", features = [
"defmt",
"nrf52840",
"time-driver-rtc1",
"gpiote",
"unstable-pac",
"time",
"reset-pin-as-gpio",
] }
embassy-embedded-hal = "0.3.0"
2025-06-27 16:41:18 +02:00
embassy-sync = { version = "0.7.0" }
futures = { version = "0.3", default-features = false, features = [
"async-await",
] }
nrf-sdc = { version = "0.1.0", default-features = false, features = [
2025-02-24 23:16:48 +01:00
"defmt",
2025-06-27 16:41:18 +02:00
"peripheral",
"central",
"nrf52",
2025-02-24 23:16:48 +01:00
] }
2025-06-27 16:41:18 +02:00
nrf-mpsl = { version = "0.1.0", default-features = false, features = [
2025-02-24 23:16:48 +01:00
"defmt",
"critical-section-impl",
2025-06-27 16:41:18 +02:00
"nrf52",
] }
bt-hci = { version = "0.3", default-features = false, features = ["defmt"] }
trouble-host = { version = "0.2.0", features = ["derive", "scan"] }
trouble-example-apps = { version = "0.1.0", path = "trouble-example-apps", features = [
"defmt",
] }
defmt = "1.0.1"
defmt-rtt = "1.0.0"
# cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
cortex-m = { version = "0.7.6" }
cortex-m-rt = "0.7.5"
panic-probe = { version = "0.3", features = ["print-defmt"] }
rand = { version = "0.8.5", default-features = false }
static_cell = "2.0.0"
rand_core = { version = "0.6" }
rand_chacha = { version = "0.3", default-features = false }
libm = "0.2.15"
panic-halt = "1.0.0"
heapless = "0.8.0"
lsm6ds3tr = { git = "https://hax.avoid.sh/PetActivityMonitor/lsm6ds3tr.git", rev = "b368f6200c3ec9a84114e8ca137eb5fe0aa08e29", features = [
"defmt",
2025-02-24 23:16:48 +01:00
] }
2025-06-27 16:41:18 +02:00
assign-resources = "0.4.1"
2025-02-24 23:16:48 +01:00
fixed = "1.24.0"
atomic-pool = "1.0.1"
2025-06-27 16:41:18 +02:00
critical-once-cell = "0.2.0"
microflow = { version = "0.1.3" }
[patch.crates-io]
nrf-sdc = { git = "https://github.com/alexmoon/nrf-sdc.git", rev = "7be9b853e15ca0404d65c623d1ec5795fd96c204" }
nrf-mpsl = { git = "https://github.com/alexmoon/nrf-sdc.git", rev = "7be9b853e15ca0404d65c623d1ec5795fd96c204" }
embassy-executor = { git = "https://github.com/embassy-rs/embassy.git", rev = "f35aa4005a63e8d478b2b95aaa2bfb316b72dece" }
embassy-nrf = { git = "https://github.com/embassy-rs/embassy.git", rev = "f35aa4005a63e8d478b2b95aaa2bfb316b72dece" }
embassy-sync = { git = "https://github.com/embassy-rs/embassy.git", rev = "f35aa4005a63e8d478b2b95aaa2bfb316b72dece" }
embassy-futures = { git = "https://github.com/embassy-rs/embassy.git", rev = "f35aa4005a63e8d478b2b95aaa2bfb316b72dece" }
embassy-time = { git = "https://github.com/embassy-rs/embassy.git", rev = "f35aa4005a63e8d478b2b95aaa2bfb316b72dece" }
embassy-time-driver = { git = "https://github.com/embassy-rs/embassy.git", rev = "f35aa4005a63e8d478b2b95aaa2bfb316b72dece" }
embassy-embedded-hal = { git = "https://github.com/embassy-rs/embassy.git", rev = "f35aa4005a63e8d478b2b95aaa2bfb316b72dece" }