79 lines
2.1 KiB
TOML
79 lines
2.1 KiB
TOML
|
[workspace]
|
||
|
members = ["tflite_demo", "lsm6ds3tr_demo"]
|
||
|
|
||
|
[workspace.features]
|
||
|
default = ["ble-l2cap", "ble-gatt-server", "ble-gatt-client", "ble-sec"]
|
||
|
|
||
|
ble-l2cap = ["nrf-softdevice/ble-l2cap"]
|
||
|
ble-gatt-server = ["nrf-softdevice/ble-gatt-server"]
|
||
|
ble-gatt-client = ["nrf-softdevice/ble-gatt-client"]
|
||
|
ble-sec = ["nrf-softdevice/ble-sec"]
|
||
|
|
||
|
nrf52840 = [
|
||
|
"embassy-nrf/nrf52840",
|
||
|
"nrf-softdevice/nrf52840",
|
||
|
"nrf-softdevice/s140",
|
||
|
"dep:nrf-softdevice-s140",
|
||
|
]
|
||
|
|
||
|
[workspace.dependencies]
|
||
|
assign-resources = "0.4.1"
|
||
|
embassy-futures = { version = "0.1.0" }
|
||
|
embassy-usb = { version = "0.3.0", features = ["defmt"] }
|
||
|
embassy-executor = { version = "0.7.0", features = [
|
||
|
"task-arena-size-32768",
|
||
|
"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"
|
||
|
cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
|
||
|
cortex-m-rt = "0.7.0"
|
||
|
defmt = "0.3"
|
||
|
defmt-rtt = "0.4"
|
||
|
panic-probe = { version = "0.3", features = ["print-defmt"] }
|
||
|
nrf52840-hal = "0.16.0"
|
||
|
usb-device = "0.2.7"
|
||
|
usbd-serial = "0.1.0"
|
||
|
microflow = { path = "../microflow-rs" }
|
||
|
nalgebra = { version = "0.33.2", default-features = false, features = [
|
||
|
"macros",
|
||
|
] }
|
||
|
libm = "0.2"
|
||
|
panic-halt = "1.0.0"
|
||
|
heapless = "0.8.0"
|
||
|
lsm6ds3tr = { git = "https://avoid.sh/PetActivityMonitor/lsm6ds3tr.git", rev = "b368f6200c3ec9a84114e8ca137eb5fe0aa08e29", features = [
|
||
|
"defmt",
|
||
|
] }
|
||
|
embassy-sync = { version = "0.5.0" }
|
||
|
embedded-storage = "0.3.0"
|
||
|
embedded-hal = "1.0.0"
|
||
|
embedded-hal-async = { version = "1.0.0" }
|
||
|
embedded-alloc = "0.6.0"
|
||
|
nrf-softdevice = { version = "0.1.0", features = [
|
||
|
"defmt",
|
||
|
"ble-peripheral",
|
||
|
"ble-central",
|
||
|
"critical-section-impl",
|
||
|
"nrf52840",
|
||
|
"s140",
|
||
|
] }
|
||
|
nrf-softdevice-s140 = { version = "0.1.1" }
|
||
|
fixed = "1.24.0"
|
||
|
atomic-pool = "1.0.1"
|
||
|
static_cell = "2.0.0"
|