2022-12-01 18:26:22 +01:00
|
|
|
[package]
|
|
|
|
edition = "2021"
|
|
|
|
name = "rp-bootloader-example"
|
|
|
|
version = "0.1.0"
|
|
|
|
description = "Example bootloader for RP2040 chips"
|
|
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
defmt = { version = "0.3", optional = true }
|
|
|
|
defmt-rtt = { version = "0.4", optional = true }
|
|
|
|
|
2023-05-29 21:30:28 +02:00
|
|
|
embassy-rp = { path = "../../../../embassy-rp", features = ["nightly"] }
|
|
|
|
embassy-boot-rp = { path = "../../../../embassy-boot/rp" }
|
2023-05-30 14:03:31 +02:00
|
|
|
embassy-sync = { path = "../../../../embassy-sync" }
|
2023-01-03 22:58:56 +01:00
|
|
|
embassy-time = { path = "../../../../embassy-time", features = ["nightly"] }
|
|
|
|
|
2023-04-18 21:07:36 +02:00
|
|
|
cortex-m = { version = "0.7.6", features = ["inline-asm", "critical-section-single-core"] }
|
2022-12-01 18:26:22 +01:00
|
|
|
cortex-m-rt = { version = "0.7" }
|
|
|
|
embedded-storage = "0.3.0"
|
2023-03-06 22:08:47 +01:00
|
|
|
embedded-storage-async = "0.4.0"
|
2022-12-01 18:26:22 +01:00
|
|
|
cfg-if = "1.0.0"
|
|
|
|
|
|
|
|
[features]
|
|
|
|
defmt = [
|
|
|
|
"dep:defmt",
|
|
|
|
"embassy-boot-rp/defmt",
|
|
|
|
"embassy-rp/defmt",
|
|
|
|
]
|
|
|
|
debug = ["defmt-rtt", "defmt"]
|
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
debug = true
|
2023-06-01 02:22:46 +02:00
|
|
|
opt-level = 's'
|