37 lines
711 B
TOML
37 lines
711 B
TOML
[package]
|
|
name = "bootloader"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
defmt = { version = "0.3", optional = true }
|
|
defmt-rtt = { version = "0.4", optional = true }
|
|
|
|
embassy-boot = { version = "0.2" }
|
|
embassy-boot-rp = { version = "0.2" }
|
|
embassy-rp = { version = "0.1" }
|
|
embassy-sync = { version = "0.5" }
|
|
|
|
cortex-m = { version = "0.7", features = [
|
|
"inline-asm",
|
|
"critical-section-single-core",
|
|
] }
|
|
cortex-m-rt = { version = "0.7" }
|
|
embedded-storage = "0.3"
|
|
|
|
[features]
|
|
defmt = [
|
|
"dep:defmt",
|
|
"embassy-boot/defmt",
|
|
"embassy-boot-rp/defmt",
|
|
"embassy-rp/defmt",
|
|
"embassy-sync/defmt",
|
|
]
|
|
debug = ["defmt-rtt", "defmt"]
|
|
|
|
[profile.release]
|
|
debug = true
|
|
opt-level = 's'
|
|
codegen-units = 1
|
|
lto = true
|