43 lines
1.2 KiB
TOML
43 lines
1.2 KiB
TOML
[package]
|
|
edition = "2021"
|
|
name = "embassy-boot-nrf"
|
|
version = "0.1.0"
|
|
description = "Bootloader lib for nRF chips"
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
[package.metadata.embassy_docs]
|
|
src_base = "https://github.com/embassy-rs/embassy/blob/embassy-boot-nrf-v$VERSION/embassy-boot/nrf/src/"
|
|
src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-boot/nrf/src/"
|
|
features = ["embassy-nrf/nrf52840"]
|
|
target = "thumbv7em-none-eabi"
|
|
|
|
[lib]
|
|
|
|
[dependencies]
|
|
defmt = { version = "0.3", optional = true }
|
|
|
|
embassy-sync = { path = "../../embassy-sync" }
|
|
embassy-nrf = { path = "../../embassy-nrf" }
|
|
embassy-boot = { path = "../boot", default-features = false }
|
|
cortex-m = { version = "0.7.6" }
|
|
cortex-m-rt = { version = "0.7" }
|
|
embedded-storage = "0.3.0"
|
|
embedded-storage-async = { version = "0.4.0", optional = true }
|
|
cfg-if = "1.0.0"
|
|
|
|
nrf-softdevice-mbr = { version = "0.1.0", git = "https://github.com/embassy-rs/nrf-softdevice.git", branch = "master", optional = true }
|
|
|
|
[features]
|
|
defmt = [
|
|
"dep:defmt",
|
|
"embassy-boot/defmt",
|
|
"embassy-nrf/defmt",
|
|
]
|
|
softdevice = [
|
|
"nrf-softdevice-mbr",
|
|
]
|
|
nightly = [
|
|
"dep:embedded-storage-async",
|
|
"embassy-boot/nightly",
|
|
"embassy-nrf/nightly"
|
|
]
|