stm32f334_template/Cargo.toml
2025-01-13 17:26:00 +03:00

51 lines
1 KiB
TOML

[package]
name = "stm32f334_template"
version = "0.1.0"
edition = "2021"
[dependencies]
embassy-stm32 = { version = "0.2", features = [
"defmt",
"stm32f334c8",
"unstable-pac",
"time-driver-any",
"exti",
"memory-x",
] }
embassy-sync = { version = "0.6.1", features = ["defmt"] }
embassy-executor = { version = "0.7.0", features = [
"arch-cortex-m",
"executor-thread",
"executor-interrupt",
"defmt",
] }
embassy-time = { version = "0.4.0", features = [
"defmt",
"defmt-timestamp-uptime",
"tick-hz-32_768",
] }
embassy-futures = "0.1.1"
embedded-io = { version = "0.6.1" }
embedded-hal-async = "1.0.0"
cortex-m = { version = "0.7.7", features = [
"inline-asm",
"critical-section-single-core",
] }
cortex-m-rt = "0.7.3"
panic-probe = { version = "0.3", features = [
"print-defmt",
# "print-rtt"
] }
defmt = "0.3"
rtt-target = { version = "0.6.1", features = ["defmt"] }
[profile.release]
lto = "fat"
opt-level = "s"
incremental = false
codegen-units = 1
# note: debug = true is okay - debuginfo isn't flashed to the device!
debug = true