diff options
| author | Frostie314159 <[email protected]> | 2024-03-21 14:17:03 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-03-21 14:17:03 +0100 |
| commit | 7efe8e0005ca75c3753081848e8b176f8ac3a9ba (patch) | |
| tree | 3690b3b873b4643a07e29b60bf92596a819d30f0 /examples/boot/bootloader/rp/src | |
| parent | 8707462ec23807782796fbac4295bc5bce9ff136 (diff) | |
| parent | 29d388042cdbd76d46f66ebe58cc580edb4515f8 (diff) | |
Merge branch 'embassy-rs:main' into reset-at-after
Diffstat (limited to 'examples/boot/bootloader/rp/src')
| -rw-r--r-- | examples/boot/bootloader/rp/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/boot/bootloader/rp/src/main.rs b/examples/boot/bootloader/rp/src/main.rs index c0e75d1ea..25b1657b8 100644 --- a/examples/boot/bootloader/rp/src/main.rs +++ b/examples/boot/bootloader/rp/src/main.rs | |||
| @@ -27,7 +27,7 @@ fn main() -> ! { | |||
| 27 | let flash = WatchdogFlash::<FLASH_SIZE>::start(p.FLASH, p.WATCHDOG, Duration::from_secs(8)); | 27 | let flash = WatchdogFlash::<FLASH_SIZE>::start(p.FLASH, p.WATCHDOG, Duration::from_secs(8)); |
| 28 | let flash = Mutex::new(RefCell::new(flash)); | 28 | let flash = Mutex::new(RefCell::new(flash)); |
| 29 | 29 | ||
| 30 | let config = BootLoaderConfig::from_linkerfile_blocking(&flash); | 30 | let config = BootLoaderConfig::from_linkerfile_blocking(&flash, &flash, &flash); |
| 31 | let active_offset = config.active.offset(); | 31 | let active_offset = config.active.offset(); |
| 32 | let bl: BootLoader = BootLoader::prepare(config); | 32 | let bl: BootLoader = BootLoader::prepare(config); |
| 33 | 33 | ||
