summaryrefslogtreecommitdiff
path: root/examples/boot/nrf
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2022-04-28 11:31:35 +0000
committerGitHub <noreply@github.com>2022-04-28 11:31:35 +0000
commitbd488ef0d55a82d58d54284d52d0c35b0925a38a (patch)
tree0eb34a0258b7b99a0988b3bfa1729b1aa448396e /examples/boot/nrf
parentba46df6825f35e0c3beb90f28b61f3dbe46e005e (diff)
parentbd237a1f96680f2cdf411ef2ca80beaa6b09cc6a (diff)
downloadembassy-bd488ef0d55a82d58d54284d52d0c35b0925a38a.zip
Merge #740
740: Allow using separate page sizes for state and dfu r=lulf a=lulf * Less generics on bootloader. Keep PAGE_SIZE as a common multiple of DFU and ACTIVE page sizes. * Document restriction * Add unit tests for different page sizes Co-authored-by: Ulf Lilleengen <lulf@redhat.com>
Diffstat (limited to 'examples/boot/nrf')
-rw-r--r--examples/boot/nrf/src/bin/a.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/boot/nrf/src/bin/a.rs b/examples/boot/nrf/src/bin/a.rs
index caf8140d..2f05c817 100644
--- a/examples/boot/nrf/src/bin/a.rs
+++ b/examples/boot/nrf/src/bin/a.rs
@@ -40,7 +40,7 @@ async fn main(_s: embassy::executor::Spawner, p: Peripherals) {
.unwrap();
offset += chunk.len();
}
- updater.mark_update(&mut nvmc).await.unwrap();
+ updater.update(&mut nvmc).await.unwrap();
led.set_high();
cortex_m::peripheral::SCB::sys_reset();
}