diff options
| author | Rasmus Melchior Jacobsen <[email protected]> | 2023-04-05 09:56:40 +0200 |
|---|---|---|
| committer | Rasmus Melchior Jacobsen <[email protected]> | 2023-04-05 09:56:40 +0200 |
| commit | 05b2b2fb5f0f8d52689057c22dd2fa026d6cc796 (patch) | |
| tree | 8ec4343140782b6f07fd1b0efeb5e52bba37646f /embassy-boot/rp/src/lib.rs | |
| parent | 7e5ead78fed6b9c352852f2619c523f20e7b7fb7 (diff) | |
Align platform specific bootloaders
Diffstat (limited to 'embassy-boot/rp/src/lib.rs')
| -rw-r--r-- | embassy-boot/rp/src/lib.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/embassy-boot/rp/src/lib.rs b/embassy-boot/rp/src/lib.rs index 0031efa63..c3cb22299 100644 --- a/embassy-boot/rp/src/lib.rs +++ b/embassy-boot/rp/src/lib.rs | |||
| @@ -66,20 +66,20 @@ impl Default for BootLoader<ERASE_SIZE> { | |||
| 66 | 66 | ||
| 67 | let active = unsafe { | 67 | let active = unsafe { |
| 68 | Partition::new( | 68 | Partition::new( |
| 69 | &__bootloader_active_start as *const u32 as usize, | 69 | &__bootloader_active_start as *const u32 as u32, |
| 70 | &__bootloader_active_end as *const u32 as usize, | 70 | &__bootloader_active_end as *const u32 as u32, |
| 71 | ) | 71 | ) |
| 72 | }; | 72 | }; |
| 73 | let dfu = unsafe { | 73 | let dfu = unsafe { |
| 74 | Partition::new( | 74 | Partition::new( |
| 75 | &__bootloader_dfu_start as *const u32 as usize, | 75 | &__bootloader_dfu_start as *const u32 as u32, |
| 76 | &__bootloader_dfu_end as *const u32 as usize, | 76 | &__bootloader_dfu_end as *const u32 as u32, |
| 77 | ) | 77 | ) |
| 78 | }; | 78 | }; |
| 79 | let state = unsafe { | 79 | let state = unsafe { |
| 80 | Partition::new( | 80 | Partition::new( |
| 81 | &__bootloader_state_start as *const u32 as usize, | 81 | &__bootloader_state_start as *const u32 as u32, |
| 82 | &__bootloader_state_end as *const u32 as usize, | 82 | &__bootloader_state_end as *const u32 as u32, |
| 83 | ) | 83 | ) |
| 84 | }; | 84 | }; |
| 85 | 85 | ||
