2022-04-20 11:49:59 +00:00
|
|
|
[package]
|
2022-05-02 13:14:10 +00:00
|
|
|
edition = "2021"
|
2022-04-20 11:49:59 +00:00
|
|
|
name = "embassy-boot-stm32"
|
|
|
|
version = "0.1.0"
|
2022-06-24 17:56:15 +00:00
|
|
|
description = "Bootloader lib for STM32 chips"
|
2022-10-07 10:41:56 +00:00
|
|
|
license = "MIT OR Apache-2.0"
|
2022-06-24 17:56:15 +00:00
|
|
|
|
2022-08-15 18:40:41 +00:00
|
|
|
[package.metadata.embassy_docs]
|
|
|
|
src_base = "https://github.com/embassy-rs/embassy/blob/embassy-boot-nrf-v$VERSION/embassy-boot/stm32/src/"
|
|
|
|
src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-boot/stm32/src/"
|
|
|
|
features = ["embassy-stm32/stm32f429zi"]
|
|
|
|
target = "thumbv7em-none-eabi"
|
|
|
|
|
2022-06-24 17:56:15 +00:00
|
|
|
[lib]
|
2022-04-20 11:49:59 +00:00
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
defmt = { version = "0.3", optional = true }
|
2022-11-29 20:15:24 +00:00
|
|
|
defmt-rtt = { version = "0.4", optional = true }
|
2022-06-30 12:45:59 +00:00
|
|
|
log = { version = "0.4", optional = true }
|
2022-04-20 11:49:59 +00:00
|
|
|
|
2022-08-22 19:46:09 +00:00
|
|
|
embassy-sync = { path = "../../embassy-sync" }
|
2023-04-20 08:04:41 +00:00
|
|
|
embassy-stm32 = { path = "../../embassy-stm32", default-features = false }
|
2022-04-20 11:49:59 +00:00
|
|
|
embassy-boot = { path = "../boot", default-features = false }
|
2022-08-14 21:16:06 +00:00
|
|
|
cortex-m = { version = "0.7.6" }
|
2022-04-20 11:49:59 +00:00
|
|
|
cortex-m-rt = { version = "0.7" }
|
|
|
|
embedded-storage = "0.3.0"
|
2023-04-20 08:04:41 +00:00
|
|
|
embedded-storage-async = { version = "0.4.0", optional = true }
|
2022-04-20 11:49:59 +00:00
|
|
|
cfg-if = "1.0.0"
|
|
|
|
|
|
|
|
[features]
|
|
|
|
defmt = [
|
|
|
|
"dep:defmt",
|
|
|
|
"embassy-boot/defmt",
|
|
|
|
"embassy-stm32/defmt",
|
|
|
|
]
|
2022-06-30 12:45:59 +00:00
|
|
|
log = [
|
|
|
|
"dep:log",
|
|
|
|
"embassy-boot/log",
|
|
|
|
"embassy-stm32/log",
|
|
|
|
]
|
2022-04-20 11:49:59 +00:00
|
|
|
debug = ["defmt-rtt"]
|
2023-04-20 08:04:41 +00:00
|
|
|
nightly = [
|
|
|
|
"dep:embedded-storage-async",
|
|
|
|
"embassy-boot/nightly",
|
|
|
|
"embassy-stm32/nightly"
|
|
|
|
]
|
2022-04-20 11:49:59 +00:00
|
|
|
|
|
|
|
[profile.dev]
|
|
|
|
debug = 2
|
|
|
|
debug-assertions = true
|
|
|
|
incremental = false
|
|
|
|
opt-level = 'z'
|
|
|
|
overflow-checks = true
|
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
codegen-units = 1
|
|
|
|
debug = 2
|
|
|
|
debug-assertions = false
|
|
|
|
incremental = false
|
|
|
|
lto = 'fat'
|
|
|
|
opt-level = 'z'
|
|
|
|
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
|