aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32wb/Cargo.toml
blob: 496500f75694e26139f3d644c4678d23d3cdb3e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
[package]
edition = "2024"
name = "embassy-stm32wb-examples"
version = "0.1.0"
license = "MIT OR Apache-2.0"
publish = false

[dependencies]
# Change stm32wb55rg to your chip name in both dependencies, if necessary.
embassy-stm32 = { version = "0.4.0", path = "../../embassy-stm32", features = [ "defmt", "stm32wb55rg", "time-driver-any", "memory-x", "exti", "low-power-pender"]  }
embassy-stm32-wpan = { version = "0.1.0", path = "../../embassy-stm32-wpan", features = ["defmt", "stm32wb55rg"] }
embassy-sync = { version = "0.7.2", path = "../../embassy-sync", features = ["defmt"] }
embassy-executor = { version = "0.9.0", path = "../../embassy-executor", features = ["defmt"] }
embassy-time = { version = "0.5.0", path = "../../embassy-time", features = ["defmt", "defmt-timestamp-uptime", "tick-hz-32_768"] }
embassy-net = { version = "0.7.1", path = "../../embassy-net", features = ["defmt", "udp", "proto-ipv6", "medium-ieee802154", ], optional = true }

defmt = "1.0.1"
defmt-rtt = "1.0.0"

cortex-m = { version = "0.7.6", features = ["inline-asm", "critical-section-single-core"] }
cortex-m-rt = "0.7.0"
embedded-hal = "1.0.0"
panic-probe = { version = "1.0.0", features = ["print-defmt"] }
heapless = { version = "0.8", default-features = false }
static_cell = "2"

[features]
default = ["ble", "mac"]
mac = ["embassy-stm32-wpan/wb55_mac", "dep:embassy-net"]
ble = ["embassy-stm32-wpan/wb55_ble"]

[[bin]] 
name = "tl_mbox_ble"
required-features = ["ble"]

[[bin]] 
name = "tl_mbox_mac"
required-features = ["mac"]

[[bin]] 
name = "mac_ffd"
required-features = ["mac"]

[[bin]] 
name = "mac_ffd_net"
required-features = ["mac"]

[[bin]] 
name = "eddystone_beacon"
required-features = ["ble"]

[[bin]] 
name = "gatt_server"
required-features = ["ble"]

[profile.release]
debug = 2

[package.metadata.embassy]
build = [
  { target = "thumbv7em-none-eabi", artifact-dir = "out/examples/stm32wb" }
]