aboutsummaryrefslogtreecommitdiff
path: root/embassy-boot/nrf/src/lib.rs
diff options
context:
space:
mode:
authorRasmus Melchior Jacobsen <[email protected]>2023-04-05 09:56:40 +0200
committerRasmus Melchior Jacobsen <[email protected]>2023-04-05 09:56:40 +0200
commit05b2b2fb5f0f8d52689057c22dd2fa026d6cc796 (patch)
tree8ec4343140782b6f07fd1b0efeb5e52bba37646f /embassy-boot/nrf/src/lib.rs
parent7e5ead78fed6b9c352852f2619c523f20e7b7fb7 (diff)
Align platform specific bootloaders
Diffstat (limited to 'embassy-boot/nrf/src/lib.rs')
-rw-r--r--embassy-boot/nrf/src/lib.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/embassy-boot/nrf/src/lib.rs b/embassy-boot/nrf/src/lib.rs
index a2176f609..d46ed9f36 100644
--- a/embassy-boot/nrf/src/lib.rs
+++ b/embassy-boot/nrf/src/lib.rs
@@ -30,20 +30,20 @@ impl Default for BootLoader<PAGE_SIZE> {
30 30
31 let active = unsafe { 31 let active = unsafe {
32 Partition::new( 32 Partition::new(
33 &__bootloader_active_start as *const u32 as usize, 33 &__bootloader_active_start as *const u32 as u32,
34 &__bootloader_active_end as *const u32 as usize, 34 &__bootloader_active_end as *const u32 as u32,
35 ) 35 )
36 }; 36 };
37 let dfu = unsafe { 37 let dfu = unsafe {
38 Partition::new( 38 Partition::new(
39 &__bootloader_dfu_start as *const u32 as usize, 39 &__bootloader_dfu_start as *const u32 as u32,
40 &__bootloader_dfu_end as *const u32 as usize, 40 &__bootloader_dfu_end as *const u32 as u32,
41 ) 41 )
42 }; 42 };
43 let state = unsafe { 43 let state = unsafe {
44 Partition::new( 44 Partition::new(
45 &__bootloader_state_start as *const u32 as usize, 45 &__bootloader_state_start as *const u32 as u32,
46 &__bootloader_state_end as *const u32 as usize, 46 &__bootloader_state_end as *const u32 as u32,
47 ) 47 )
48 }; 48 };
49 49