From 3d1f4e112fb3f82ce41da81230aa2a67eb4c9434 Mon Sep 17 00:00:00 2001 From: Martin Luessi Date: Thu, 1 Jun 2023 15:56:27 -0700 Subject: [PATCH] AP_HAL_ChibiOS: Use DTCM for vector table for external flash targets --- libraries/AP_HAL_ChibiOS/hwdef/common/common_extf.ld | 2 +- libraries/AP_HAL_ChibiOS/hwdef/common/common_extf_h750.ld | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/common/common_extf.ld b/libraries/AP_HAL_ChibiOS/hwdef/common/common_extf.ld index 6437c90317..b93d11176e 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/common/common_extf.ld +++ b/libraries/AP_HAL_ChibiOS/hwdef/common/common_extf.ld @@ -73,7 +73,7 @@ SECTIONS __vectors_base__ = .; KEEP(*(.vectors)) __vectors_end__ = .; - } > flashram AT > default_flash + } > dataram AT > default_flash constructors : ALIGN(4) SUBALIGN(4) { diff --git a/libraries/AP_HAL_ChibiOS/hwdef/common/common_extf_h750.ld b/libraries/AP_HAL_ChibiOS/hwdef/common/common_extf_h750.ld index f5279e4c71..e3933a9f3c 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/common/common_extf_h750.ld +++ b/libraries/AP_HAL_ChibiOS/hwdef/common/common_extf_h750.ld @@ -81,7 +81,7 @@ SECTIONS __vectors_base__ = .; KEEP(*(.vectors)) __vectors_end__ = .; - } > flashram AT > default_flash + } > dataram AT > default_flash constructors : ALIGN(4) SUBALIGN(4) {