diff options
| author | Ulf Lilleengen <[email protected]> | 2024-02-09 19:33:51 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-02-09 19:33:51 +0000 |
| commit | c4f3e0dfd505889066f2ea1706d6da3aa244395b (patch) | |
| tree | 3ed5b87ab0adbd453c4a9490e667a800dbed3170 /examples/boot/bootloader/nrf | |
| parent | fd9318f205946a636656ed720aa34d7524e14870 (diff) | |
| parent | 74fbe27a87fc95f75f8c9251520a8dea889159cc (diff) | |
Merge pull request #2540 from badrbouslikhin/bootloader-modular-flash-partitions
feat: enhance bootloader for multiple flash support
Diffstat (limited to 'examples/boot/bootloader/nrf')
| -rw-r--r-- | examples/boot/bootloader/nrf/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/boot/bootloader/nrf/src/main.rs b/examples/boot/bootloader/nrf/src/main.rs index 74e2e293f..67c700437 100644 --- a/examples/boot/bootloader/nrf/src/main.rs +++ b/examples/boot/bootloader/nrf/src/main.rs | |||
| @@ -31,7 +31,7 @@ fn main() -> ! { | |||
| 31 | let flash = WatchdogFlash::start(Nvmc::new(p.NVMC), p.WDT, wdt_config); | 31 | let flash = WatchdogFlash::start(Nvmc::new(p.NVMC), p.WDT, wdt_config); |
| 32 | let flash = Mutex::new(RefCell::new(flash)); | 32 | let flash = Mutex::new(RefCell::new(flash)); |
| 33 | 33 | ||
| 34 | let config = BootLoaderConfig::from_linkerfile_blocking(&flash); | 34 | let config = BootLoaderConfig::from_linkerfile_blocking(&flash, &flash, &flash); |
| 35 | let active_offset = config.active.offset(); | 35 | let active_offset = config.active.offset(); |
| 36 | let bl: BootLoader = BootLoader::prepare(config); | 36 | let bl: BootLoader = BootLoader::prepare(config); |
| 37 | 37 | ||
