aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorxoviat <[email protected]>2025-12-03 18:24:55 -0600
committerxoviat <[email protected]>2025-12-03 18:24:55 -0600
commit2e23e877148d5873ff4e995452325c97707fdfed (patch)
treed2b0ecde2ad486b7efb2bdbdc239ba144c4546d6 /examples
parent14644299141f16e449a92e27dca2d5d1ebfe0951 (diff)
stm32: add wpan dependency to wba examples
Diffstat (limited to 'examples')
-rw-r--r--examples/stm32wba/Cargo.toml6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/stm32wba/Cargo.toml b/examples/stm32wba/Cargo.toml
index 3496b41b0..e071b24f0 100644
--- a/examples/stm32wba/Cargo.toml
+++ b/examples/stm32wba/Cargo.toml
@@ -7,6 +7,7 @@ publish = false
7 7
8[dependencies] 8[dependencies]
9embassy-stm32 = { version = "0.4.0", path = "../../embassy-stm32", features = [ "defmt", "stm32wba55cg", "time-driver-any", "memory-x", "exti"] } 9embassy-stm32 = { version = "0.4.0", path = "../../embassy-stm32", features = [ "defmt", "stm32wba55cg", "time-driver-any", "memory-x", "exti"] }
10embassy-stm32-wpan = { version = "0.1.0", path = "../../embassy-stm32-wpan", features = ["defmt", "stm32wba55cg"] }
10embassy-sync = { version = "0.7.2", path = "../../embassy-sync", features = ["defmt"] } 11embassy-sync = { version = "0.7.2", path = "../../embassy-sync", features = ["defmt"] }
11embassy-executor = { version = "0.9.0", path = "../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "defmt"] } 12embassy-executor = { version = "0.9.0", path = "../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "defmt"] }
12embassy-time = { version = "0.5.0", path = "../../embassy-time", features = ["defmt", "defmt-timestamp-uptime", "tick-hz-32_768"] } 13embassy-time = { version = "0.5.0", path = "../../embassy-time", features = ["defmt", "defmt-timestamp-uptime", "tick-hz-32_768"] }
@@ -22,6 +23,11 @@ panic-probe = { version = "1.0.0", features = ["print-defmt"] }
22heapless = { version = "0.8", default-features = false } 23heapless = { version = "0.8", default-features = false }
23static_cell = "2" 24static_cell = "2"
24 25
26[features]
27default = ["ble", "mac"]
28mac = ["embassy-stm32-wpan/wba_mac", "dep:embassy-net"]
29ble = ["embassy-stm32-wpan/wba_ble"]
30
25[profile.release] 31[profile.release]
26debug = 2 32debug = 2
27 33