From 104a0104e3b0cdda906fd9947bdd654fb2cd698b Mon Sep 17 00:00:00 2001 From: Michele Balistreri Date: Fri, 9 Feb 2024 15:18:50 +0100 Subject: [PATCH] merge header sections --- stm32/STM32H573VITX_FLASH.ld | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/stm32/STM32H573VITX_FLASH.ld b/stm32/STM32H573VITX_FLASH.ld index dd2bcd8..6559afb 100644 --- a/stm32/STM32H573VITX_FLASH.ld +++ b/stm32/STM32H573VITX_FLASH.ld @@ -59,17 +59,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .bootloader_header : - { - . = ALIGN(4); - KEEP(*(.fw_verification_key)) - . = ALIGN(4); - } > FLASH - /* The header information */ .header : { . = ALIGN(4); + /* this one is only defined in the booloader */ + KEEP(*(.fw_verification_key)) + /* these are defined in user firmware */ KEEP(*(.fw_signature)) KEEP(*(.fw_version)) . = ALIGN(4);