Skip to content

Commit 92907dc

Browse files
committed
STM32H747: linker: set bootloader_info section for all bootloaders
1 parent a316902 commit 92907dc

File tree

1 file changed

+1
-1
lines changed
  • targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_STM32H747xI_CM7/TOOLCHAIN_GCC_ARM

1 file changed

+1
-1
lines changed

targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_STM32H747xI_CM7/TOOLCHAIN_GCC_ARM/STM32H747xI_CM7.ld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ SECTIONS
113113
*(SORT(.dtors.*))
114114
*(.dtors)
115115

116-
#if defined(MCUBOOT_BOOTLOADER_BUILD) && ( defined(TARGET_PORTENTA_H7_M7) || defined(TARGET_NICLA_VISION))
116+
#if (defined(MCUBOOT_BOOTLOADER_BUILD) || defined(BOOTLOADER_BUILD)) && (defined(TARGET_PORTENTA_H7_M7) || defined(TARGET_NICLA_VISION))
117117
*ltrans0*.o(.rodata*)
118118
*ltrans1*.o(.rodata*)
119119
*ltrans2*.o(.rodata*)

0 commit comments

Comments
 (0)