aboutsummaryrefslogtreecommitdiff
path: root/embassy-boot/stm32/src
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/stm32/src
parent7e5ead78fed6b9c352852f2619c523f20e7b7fb7 (diff)
Align platform specific bootloaders
Diffstat (limited to 'embassy-boot/stm32/src')
-rw-r--r--embassy-boot/stm32/src/lib.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/embassy-boot/stm32/src/lib.rs b/embassy-boot/stm32/src/lib.rs
index 1f63fcd63..94404697f 100644
--- a/embassy-boot/stm32/src/lib.rs
+++ b/embassy-boot/stm32/src/lib.rs
@@ -61,20 +61,20 @@ impl<const BUFFER_SIZE: usize> Default for BootLoader<BUFFER_SIZE> {
61 61
62 let active = unsafe { 62 let active = unsafe {
63 Partition::new( 63 Partition::new(
64 &__bootloader_active_start as *const u32 as usize, 64 &__bootloader_active_start as *const u32 as u32,
65 &__bootloader_active_end as *const u32 as usize, 65 &__bootloader_active_end as *const u32 as u32,
66 ) 66 )
67 }; 67 };
68 let dfu = unsafe { 68 let dfu = unsafe {
69 Partition::new( 69 Partition::new(
70 &__bootloader_dfu_start as *const u32 as usize, 70 &__bootloader_dfu_start as *const u32 as u32,
71 &__bootloader_dfu_end as *const u32 as usize, 71 &__bootloader_dfu_end as *const u32 as u32,
72 ) 72 )
73 }; 73 };
74 let state = unsafe { 74 let state = unsafe {
75 Partition::new( 75 Partition::new(
76 &__bootloader_state_start as *const u32 as usize, 76 &__bootloader_state_start as *const u32 as u32,
77 &__bootloader_state_end as *const u32 as usize, 77 &__bootloader_state_end as *const u32 as u32,
78 ) 78 )
79 }; 79 };
80 80