2021-06-11 20:58:09 +00:00
|
|
|
[package]
|
2022-06-18 00:15:48 +00:00
|
|
|
edition = "2021"
|
2022-04-08 01:15:27 +00:00
|
|
|
name = "embassy-stm32wb-examples"
|
2021-06-11 20:58:09 +00:00
|
|
|
version = "0.1.0"
|
2022-10-07 10:41:56 +00:00
|
|
|
license = "MIT OR Apache-2.0"
|
2021-06-11 20:58:09 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2023-07-22 20:58:29 +00:00
|
|
|
# Change stm32wb55rg to your chip name in both dependencies, if necessary.
|
2023-11-29 16:23:48 +00:00
|
|
|
embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = [ "defmt", "stm32wb55rg", "time-driver-any", "memory-x", "exti"] }
|
2023-07-22 20:58:29 +00:00
|
|
|
embassy-stm32-wpan = { version = "0.1.0", path = "../../embassy-stm32-wpan", features = ["defmt", "stm32wb55rg"] }
|
2023-12-04 13:03:30 +00:00
|
|
|
embassy-sync = { version = "0.5.0", path = "../../embassy-sync", features = ["defmt"] }
|
2024-01-11 21:57:29 +00:00
|
|
|
embassy-executor = { version = "0.5.0", path = "../../embassy-executor", features = ["task-arena-size-32768", "arch-cortex-m", "executor-thread", "defmt", "integrated-timers"] }
|
|
|
|
embassy-time = { version = "0.3.0", path = "../../embassy-time", features = ["defmt", "defmt-timestamp-uptime", "tick-hz-32_768"] }
|
|
|
|
embassy-net = { version = "0.4.0", path = "../../embassy-net", features = ["defmt", "udp", "proto-ipv6", "medium-ieee802154", ], optional=true }
|
2021-06-11 20:58:09 +00:00
|
|
|
|
2021-11-15 16:19:19 +00:00
|
|
|
defmt = "0.3"
|
2022-11-29 20:15:24 +00:00
|
|
|
defmt-rtt = "0.4"
|
2021-06-11 20:58:09 +00:00
|
|
|
|
2023-04-18 19:07:36 +00:00
|
|
|
cortex-m = { version = "0.7.6", features = ["inline-asm", "critical-section-single-core"] }
|
2021-08-18 22:56:11 +00:00
|
|
|
cortex-m-rt = "0.7.0"
|
2021-09-10 22:10:46 +00:00
|
|
|
embedded-hal = "0.2.6"
|
2021-11-15 16:19:19 +00:00
|
|
|
panic-probe = { version = "0.3", features = ["print-defmt"] }
|
2021-09-10 22:10:46 +00:00
|
|
|
futures = { version = "0.3.17", default-features = false, features = ["async-await"] }
|
2023-11-08 21:59:58 +00:00
|
|
|
heapless = { version = "0.8", default-features = false }
|
2023-12-21 13:57:49 +00:00
|
|
|
static_cell = "2"
|
2023-06-18 23:51:14 +00:00
|
|
|
|
|
|
|
[features]
|
2023-07-10 15:54:48 +00:00
|
|
|
default = ["ble", "mac"]
|
2023-07-16 00:02:04 +00:00
|
|
|
mac = ["embassy-stm32-wpan/mac", "dep:embassy-net"]
|
2023-06-18 23:51:14 +00:00
|
|
|
ble = ["embassy-stm32-wpan/ble"]
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "tl_mbox_ble"
|
|
|
|
required-features = ["ble"]
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "tl_mbox_mac"
|
2023-06-22 14:21:14 +00:00
|
|
|
required-features = ["mac"]
|
|
|
|
|
2023-07-10 15:54:48 +00:00
|
|
|
[[bin]]
|
2023-07-11 15:07:33 +00:00
|
|
|
name = "mac_ffd"
|
2023-07-10 15:54:48 +00:00
|
|
|
required-features = ["mac"]
|
|
|
|
|
2023-07-19 01:52:03 +00:00
|
|
|
[[bin]]
|
|
|
|
name = "mac_ffd_net"
|
|
|
|
required-features = ["mac"]
|
|
|
|
|
2023-06-22 14:21:14 +00:00
|
|
|
[[bin]]
|
|
|
|
name = "eddystone_beacon"
|
2023-06-23 02:05:51 +00:00
|
|
|
required-features = ["ble"]
|
|
|
|
|
2023-07-15 12:37:41 +00:00
|
|
|
[[bin]]
|
|
|
|
name = "gatt_server"
|
2023-07-22 20:58:29 +00:00
|
|
|
required-features = ["ble"]
|
2023-07-27 01:32:40 +00:00
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
debug = 2
|