8a9136e4e4
inline assembly is supported since rust 1.59, we're way past that. enabling this makes the compiled code more compact, and on rp2040 even decreses memory usage by not needing thunks in sram.
29 lines
1.2 KiB
TOML
29 lines
1.2 KiB
TOML
[package]
|
|
edition = "2021"
|
|
name = "embassy-boot-stm32f3-examples"
|
|
version = "0.1.0"
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
[dependencies]
|
|
embassy-sync = { version = "0.2.0", path = "../../../../embassy-sync", features = ["defmt"] }
|
|
embassy-executor = { version = "0.1.0", path = "../../../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "nightly", "integrated-timers"] }
|
|
embassy-time = { version = "0.1.0", path = "../../../../embassy-time", features = ["nightly", "tick-hz-32_768"] }
|
|
embassy-stm32 = { version = "0.1.0", path = "../../../../embassy-stm32", features = ["unstable-traits", "nightly", "stm32f303re", "time-driver-any", "exti"] }
|
|
embassy-boot-stm32 = { version = "0.1.0", path = "../../../../embassy-boot/stm32" }
|
|
embassy-embedded-hal = { version = "0.1.0", path = "../../../../embassy-embedded-hal" }
|
|
|
|
defmt = { version = "0.3", optional = true }
|
|
defmt-rtt = { version = "0.4", optional = true }
|
|
panic-reset = { version = "0.1.1" }
|
|
embedded-hal = { version = "0.2.6" }
|
|
|
|
cortex-m = { version = "0.7.6", features = ["inline-asm", "critical-section-single-core"] }
|
|
cortex-m-rt = "0.7.0"
|
|
|
|
[features]
|
|
defmt = [
|
|
"dep:defmt",
|
|
"embassy-stm32/defmt",
|
|
"embassy-boot-stm32/defmt",
|
|
]
|