ed2a87a262
Embassy-boot is a simple bootloader that works together with an application to provide firmware update capabilities with a minimal risk. The bootloader consists of a platform-independent part, which implements the swap algorithm, and a platform-dependent part (currently only for nRF) that provides addition functionality such as watchdog timers softdevice support.
18 lines
420 B
TOML
18 lines
420 B
TOML
[unstable]
|
|
namespaced-features = true
|
|
build-std = ["core"]
|
|
build-std-features = ["panic_immediate_abort"]
|
|
|
|
[target.'cfg(all(target_arch = "arm", target_os = "none"))']
|
|
#runner = "./fruitrunner"
|
|
runner = "probe-run --chip nrf52840_xxAA"
|
|
|
|
rustflags = [
|
|
# Code-size optimizations.
|
|
"-Z", "trap-unreachable=no",
|
|
#"-C", "no-vectorize-loops",
|
|
"-C", "force-frame-pointers=yes",
|
|
]
|
|
|
|
[build]
|
|
target = "thumbv7em-none-eabi"
|