Skip to content

Commit 7dd148c

Browse files
committed
boot: zephyr: rework stm32h750b_dk board overlay & conf
Following the introduction of stm32h750b-dk 'ext_flash_app' board variant, for storing apps in external Flash and chainloading them with MCUboot that's placed in internal Flash, we need a DT overlay to designate internal Flash & controller as the chosen 'zephyr,flash' & 'zephyr,flash-controller' for the MCUboot Zephyr Application. BOOT_MAX_IMG_SECTORS_AUTO no longer need to be disabled after including the 'soc-nv-flash' compatible in the board's external flash node, & declaring the 'erase-block-size' & 'write-block-size' properties. Signed-off-by: Abderrahmane JARMOUNI <[email protected]>
1 parent 9ca0881 commit 7dd148c

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

boot/zephyr/boards/stm32h750b_dk.conf

Lines changed: 0 additions & 4 deletions
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CONFIG_STM32_MEMMAP=y
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/ {
2+
chosen {
3+
zephyr,flash = &flash0;
4+
zephyr,flash-controller = &flash;
5+
zephyr,code-partition = &boot_partition;
6+
};
7+
};

0 commit comments

Comments
 (0)