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