2022-12-01 17:26:22 +00:00
|
|
|
[package]
|
|
|
|
edition = "2021"
|
|
|
|
name = "embassy-boot-rp"
|
|
|
|
version = "0.1.0"
|
|
|
|
description = "Bootloader lib for RP2040 chips"
|
|
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
|
|
|
|
[package.metadata.embassy_docs]
|
|
|
|
src_base = "https://github.com/embassy-rs/embassy/blob/embassy-boot-rp-v$VERSION/src/"
|
|
|
|
src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-boot/rp/src/"
|
|
|
|
target = "thumbv6m-none-eabi"
|
|
|
|
|
|
|
|
[lib]
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
defmt = { version = "0.3", optional = true }
|
|
|
|
defmt-rtt = { version = "0.4", optional = true }
|
|
|
|
log = { version = "0.4", optional = true }
|
|
|
|
|
2023-10-31 08:18:00 +00:00
|
|
|
embassy-sync = { version = "0.4.0", path = "../../embassy-sync" }
|
2023-04-20 08:04:41 +00:00
|
|
|
embassy-rp = { path = "../../embassy-rp", default-features = false }
|
2022-12-01 17:26:22 +00:00
|
|
|
embassy-boot = { path = "../boot", default-features = false }
|
2023-04-20 08:04:41 +00:00
|
|
|
embassy-time = { path = "../../embassy-time" }
|
2023-01-03 21:58:56 +00:00
|
|
|
|
2022-12-01 17:26:22 +00:00
|
|
|
cortex-m = { version = "0.7.6" }
|
|
|
|
cortex-m-rt = { version = "0.7" }
|
|
|
|
embedded-storage = "0.3.0"
|
2023-11-29 16:23:48 +00:00
|
|
|
embedded-storage-async = { version = "0.4.0" }
|
2022-12-01 17:26:22 +00:00
|
|
|
cfg-if = "1.0.0"
|
|
|
|
|
|
|
|
[features]
|
|
|
|
defmt = [
|
|
|
|
"dep:defmt",
|
|
|
|
"embassy-boot/defmt",
|
|
|
|
"embassy-rp/defmt",
|
|
|
|
]
|
|
|
|
log = [
|
|
|
|
"dep:log",
|
|
|
|
"embassy-boot/log",
|
|
|
|
"embassy-rp/log",
|
|
|
|
]
|
|
|
|
debug = ["defmt-rtt"]
|
|
|
|
|
|
|
|
[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
|