2021-11-24 03:18:30 +01:00
|
|
|
[package]
|
2022-06-18 02:15:48 +02:00
|
|
|
edition = "2021"
|
2021-11-24 03:18:30 +01:00
|
|
|
name = "embassy-stm32-tests"
|
|
|
|
version = "0.1.0"
|
2022-10-07 12:41:56 +02:00
|
|
|
license = "MIT OR Apache-2.0"
|
2021-11-24 03:18:30 +01:00
|
|
|
|
2021-12-07 00:28:32 +01:00
|
|
|
[features]
|
2022-04-26 23:57:26 +02:00
|
|
|
stm32f103c8 = ["embassy-stm32/stm32f103c8"] # Blue Pill
|
|
|
|
stm32f429zi = ["embassy-stm32/stm32f429zi"] # Nucleo
|
|
|
|
stm32g071rb = ["embassy-stm32/stm32g071rb"] # Nucleo
|
2023-04-11 13:37:10 +02:00
|
|
|
stm32c031c6 = ["embassy-stm32/stm32c031c6"] # Nucleo
|
2022-04-26 23:57:26 +02:00
|
|
|
stm32g491re = ["embassy-stm32/stm32g491re"] # Nucleo
|
|
|
|
stm32h755zi = ["embassy-stm32/stm32h755zi-cm7"] # Nucleo
|
|
|
|
stm32wb55rg = ["embassy-stm32/stm32wb55rg"] # Nucleo
|
2023-04-10 15:12:47 +02:00
|
|
|
stm32h563zi = ["embassy-stm32/stm32h563zi"] # Nucleo
|
2022-04-26 23:57:26 +02:00
|
|
|
stm32u585ai = ["embassy-stm32/stm32u585ai"] # IoT board
|
2021-12-07 00:28:32 +01:00
|
|
|
|
2021-11-24 03:18:30 +01:00
|
|
|
[dependencies]
|
2023-04-13 23:03:21 +02:00
|
|
|
embassy-sync = { version = "0.2.0", path = "../../embassy-sync", features = ["defmt"] }
|
2023-04-03 01:18:27 +02:00
|
|
|
embassy-executor = { version = "0.1.0", path = "../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "defmt", "integrated-timers"] }
|
2022-09-02 00:58:31 +02:00
|
|
|
embassy-time = { version = "0.1.0", path = "../../embassy-time", features = ["defmt", "tick-hz-32_768"] }
|
2023-04-11 13:37:10 +02:00
|
|
|
embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["nightly", "defmt", "unstable-pac", "memory-x", "time-driver-any"] }
|
2021-11-24 03:18:30 +01:00
|
|
|
|
|
|
|
defmt = "0.3.0"
|
2022-11-29 21:15:24 +01:00
|
|
|
defmt-rtt = "0.4"
|
2021-11-24 03:18:30 +01:00
|
|
|
|
2022-08-14 23:16:06 +02:00
|
|
|
cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
|
2021-11-24 03:18:30 +01:00
|
|
|
cortex-m-rt = "0.7.0"
|
|
|
|
embedded-hal = "0.2.6"
|
2023-04-06 22:25:24 +02:00
|
|
|
embedded-hal-1 = { package = "embedded-hal", version = "=1.0.0-alpha.10" }
|
|
|
|
embedded-hal-async = { version = "=0.2.0-alpha.1" }
|
2021-11-24 03:18:30 +01:00
|
|
|
panic-probe = { version = "0.3.0", features = ["print-defmt"] }
|
|
|
|
|
|
|
|
[profile.dev]
|
|
|
|
debug = 2
|
|
|
|
debug-assertions = true
|
|
|
|
opt-level = 's'
|
|
|
|
overflow-checks = true
|
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
codegen-units = 1
|
|
|
|
debug = 2
|
|
|
|
debug-assertions = false
|
|
|
|
incremental = false
|
|
|
|
lto = "fat"
|
|
|
|
opt-level = 's'
|
|
|
|
overflow-checks = false
|
|
|
|
|
|
|
|
# do not optimize proc-macro crates = faster builds from scratch
|
|
|
|
[profile.dev.build-override]
|
|
|
|
codegen-units = 8
|
|
|
|
debug = false
|
|
|
|
debug-assertions = false
|
|
|
|
opt-level = 0
|
|
|
|
overflow-checks = false
|
|
|
|
|
|
|
|
[profile.release.build-override]
|
|
|
|
codegen-units = 8
|
|
|
|
debug = false
|
|
|
|
debug-assertions = false
|
|
|
|
opt-level = 0
|
|
|
|
overflow-checks = false
|