44 lines
2.1 KiB
Diff
44 lines
2.1 KiB
Diff
From b2fe6fc558dd16ac5bace654c69e66e9d5d0004d Mon Sep 17 00:00:00 2001
|
|
From: Martino Facchin <m.facchin@arduino.cc>
|
|
Date: Mon, 14 Nov 2022 16:27:37 +0100
|
|
Subject: [PATCH 191/204] Opta: fix bootloader info
|
|
|
|
---
|
|
.../TOOLCHAIN_GCC_ARM/STM32H747xI_CM7.ld | 6 +++---
|
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_STM32H747xI_CM7/TOOLCHAIN_GCC_ARM/STM32H747xI_CM7.ld b/targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_STM32H747xI_CM7/TOOLCHAIN_GCC_ARM/STM32H747xI_CM7.ld
|
|
index 2914967e38..fc963145e7 100644
|
|
--- a/targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_STM32H747xI_CM7/TOOLCHAIN_GCC_ARM/STM32H747xI_CM7.ld
|
|
+++ b/targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_STM32H747xI_CM7/TOOLCHAIN_GCC_ARM/STM32H747xI_CM7.ld
|
|
@@ -46,7 +46,7 @@ MEMORY
|
|
}
|
|
|
|
|
|
-#if defined(MCUBOOT_BOOTLOADER_BUILD) && ( defined(TARGET_PORTENTA_H7_M7) || defined(TARGET_NICLA_VISION))
|
|
+#if defined(MCUBOOT_BOOTLOADER_BUILD) && ( defined(TARGET_PORTENTA_H7_M7) || defined(TARGET_NICLA_VISION) || defined(TARGET_OPTA))
|
|
_ConfigStart = 0x0802F000;
|
|
_IdentificationStart = 0x080002F0;
|
|
_EncryptKeyStart = 0x08000300;
|
|
@@ -88,7 +88,7 @@ SECTIONS
|
|
.text :
|
|
{
|
|
KEEP(*(.isr_vector))
|
|
-#if defined(MCUBOOT_BOOTLOADER_BUILD) && ( defined(TARGET_PORTENTA_H7_M7) || defined(TARGET_NICLA_VISION))
|
|
+#if defined(MCUBOOT_BOOTLOADER_BUILD) && ( defined(TARGET_PORTENTA_H7_M7) || defined(TARGET_NICLA_VISION) || defined(TARGET_OPTA))
|
|
. = ABSOLUTE(0x080002F0);
|
|
KEEP(*(.bootloader_identification))
|
|
KEEP(*(.signing_key))
|
|
@@ -113,7 +113,7 @@ SECTIONS
|
|
*(SORT(.dtors.*))
|
|
*(.dtors)
|
|
|
|
-#if (defined(MCUBOOT_BOOTLOADER_BUILD) || defined(BOOTLOADER_BUILD)) && (defined(TARGET_PORTENTA_H7_M7) || defined(TARGET_NICLA_VISION))
|
|
+#if (defined(MCUBOOT_BOOTLOADER_BUILD) || defined(BOOTLOADER_BUILD)) && (defined(TARGET_PORTENTA_H7_M7) || defined(TARGET_NICLA_VISION) || defined(TARGET_OPTA))
|
|
*ltrans0*.o(.rodata*)
|
|
*ltrans1*.o(.rodata*)
|
|
*ltrans2*.o(.rodata*)
|
|
--
|
|
2.39.1
|
|
|