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.
|
|
|
|
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 21:03:21 +00:00
|
|
|
embassy-sync = { version = "0.2.0", path = "../../embassy-sync", features = ["defmt"] }
|
2023-08-23 18:34:37 +00:00
|
|
|
embassy-executor = { version = "0.3.0", path = "../../embassy-executor", features = ["nightly", "arch-cortex-m", "executor-thread", "defmt", "integrated-timers"] }
|
2023-07-05 21:54:45 +00:00
|
|
|
embassy-time = { version = "0.1.2", path = "../../embassy-time", features = ["defmt", "defmt-timestamp-uptime", "tick-hz-32_768"] }
|
2023-08-25 17:48:45 +00:00
|
|
|
embassy-net = { version = "0.1.0", path = "../../embassy-net", features = ["defmt", "udp", "proto-ipv6", "medium-ieee802154", "nightly"], 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"] }
|
|
|
|
heapless = { version = "0.7.5", default-features = false }
|
2023-07-19 01:52:03 +00:00
|
|
|
static_cell = { version = "1.1", features = ["nightly"]}
|
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
|