diff options
author | Matous Hybl <hyblmatous@gmail.com> | 2022-05-03 16:16:37 +0200 |
---|---|---|
committer | Matous Hybl <hyblmatous@gmail.com> | 2022-05-06 21:57:15 +0200 |
commit | 6d56f772e11eaae7495e08ba55d9c98d11e0ac09 (patch) | |
tree | 90b0b7466020cfa8fb0db7990599883ec86d9328 /embassy-boot | |
parent | f3700b4e42fbb0e0e4876307ba5533b7b215f5e3 (diff) | |
download | embassy-6d56f772e11eaae7495e08ba55d9c98d11e0ac09.zip |
Add F7 flash and bootloader support
Diffstat (limited to 'embassy-boot')
-rw-r--r-- | embassy-boot/stm32/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-boot/stm32/src/lib.rs b/embassy-boot/stm32/src/lib.rs index 82e32a97..48512534 100644 --- a/embassy-boot/stm32/src/lib.rs +++ b/embassy-boot/stm32/src/lib.rs @@ -67,7 +67,7 @@ impl<const PAGE_SIZE: usize> BootLoader<PAGE_SIZE> { [(); <<F as FlashProvider>::ACTIVE as FlashConfig>::FLASH::ERASE_SIZE]:, { match self.boot.prepare_boot(flash) { - Ok(_) => self.boot.boot_address(), + Ok(_) => embassy_stm32::flash::FLASH_BASE + self.boot.boot_address(), Err(_) => panic!("boot prepare error!"), } } |