Skip to content

Commit 0dc3153

Browse files
nvincent-vosslohcarlescufi
authored andcommitted
soc: stm32h7: define rom offset when using mcuboot
Set rom offset to 0x400 if application is compiled with CONFIG_BOOTLOADER_MCUBOOT. Please note that mcuboot is not yet supported on stm32h7 devices Signed-off-by: Nicolas VINCENT <[email protected]>
1 parent 5b46335 commit 0dc3153

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

soc/arm/st_stm32/stm32h7/Kconfig.defconfig.series

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ config DMA_STM32_V1
1616
default y
1717
depends on DMA_STM32
1818

19+
config ROM_START_OFFSET
20+
default 0x400 if BOOTLOADER_MCUBOOT
21+
default 0x0 if !BOOTLOADER_MCUBOOT
22+
1923
if ENTROPY_GENERATOR
2024

2125
config ENTROPY_STM32_RNG

0 commit comments

Comments
 (0)