diff options
| author | Badr Bouslikhin <[email protected]> | 2024-02-11 19:35:42 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-02-11 19:35:42 +0100 |
| commit | 2a09996a789af11951131081f0288ddd8b39b126 (patch) | |
| tree | 36906b503e33f5f414c23347d78415cb4cba25dd /examples/boot/bootloader/nrf/src/main.rs | |
| parent | c95bf6895adfcd33b5238c02620e83c6713205ce (diff) | |
| parent | edb3989b577a15bed3d0434f25edc20b6f24bf52 (diff) | |
Merge branch 'embassy-rs:main' into usb-dfu-erase-then-write
Diffstat (limited to 'examples/boot/bootloader/nrf/src/main.rs')
| -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 | ||
