858ddf6777
This makes rtt output work right when using `cargo run` in release mode. Debug was already enabled for release builds in some of the examples but not all.
34 lines
1.5 KiB
TOML
34 lines
1.5 KiB
TOML
[package]
|
|
edition = "2021"
|
|
name = "embassy-stm32f7-examples"
|
|
version = "0.1.0"
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
[dependencies]
|
|
# Change stm32f767zi to your chip name, if necessary.
|
|
embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["nightly", "defmt", "stm32f767zi", "unstable-pac", "time-driver-any", "exti"] }
|
|
embassy-sync = { version = "0.2.0", path = "../../embassy-sync", features = ["defmt"] }
|
|
embassy-executor = { version = "0.2.0", path = "../../embassy-executor", features = ["nightly", "arch-cortex-m", "executor-thread", "defmt", "integrated-timers"] }
|
|
embassy-time = { version = "0.1.2", path = "../../embassy-time", features = ["defmt", "defmt-timestamp-uptime", "tick-hz-32_768"] }
|
|
embassy-net = { path = "../../embassy-net", features = ["defmt", "nightly", "tcp", "dhcpv4", "medium-ethernet"] }
|
|
embedded-io = { version = "0.4.0", features = ["async"] }
|
|
embassy-usb = { version = "0.1.0", path = "../../embassy-usb", features = ["defmt"] }
|
|
|
|
defmt = "0.3"
|
|
defmt-rtt = "0.4"
|
|
|
|
cortex-m = { version = "0.7.6", features = ["inline-asm", "critical-section-single-core"] }
|
|
cortex-m-rt = "0.7.0"
|
|
embedded-hal = "0.2.6"
|
|
panic-probe = { version = "0.3", features = ["print-defmt"] }
|
|
futures = { version = "0.3.17", default-features = false, features = ["async-await"] }
|
|
heapless = { version = "0.7.5", default-features = false }
|
|
nb = "1.0.0"
|
|
rand_core = "0.6.3"
|
|
critical-section = "1.1"
|
|
embedded-storage = "0.3.0"
|
|
static_cell = { version = "1.1", features = ["nightly"]}
|
|
|
|
[profile.release]
|
|
debug = 2
|