From f8b11691655be1c07aa774bd7ecad7c6b298d04f Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 5 Sep 2022 09:30:32 +1000 Subject: [PATCH] HAL_ChibiOS: rename ecc_raw to apsec_data --- libraries/AP_HAL_ChibiOS/hwdef/common/common.ld | 2 +- libraries/AP_HAL_ChibiOS/hwdef/common/common_extf.ld | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/common/common.ld b/libraries/AP_HAL_ChibiOS/hwdef/common/common.ld index b85455a4a1..2ef25a8248 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/common/common.ld +++ b/libraries/AP_HAL_ChibiOS/hwdef/common/common.ld @@ -72,7 +72,7 @@ SECTIONS { /* we want app_descriptor near the start of flash so a false positive isn't found by the bootloader (eg. ROMFS) */ - KEEP(*(.ecc_raw)); + KEEP(*(.apsec_data)); KEEP(*(.app_descriptor)); *(.text) *(.text.*) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/common/common_extf.ld b/libraries/AP_HAL_ChibiOS/hwdef/common/common_extf.ld index c8f7626603..07b4530b26 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/common/common_extf.ld +++ b/libraries/AP_HAL_ChibiOS/hwdef/common/common_extf.ld @@ -220,7 +220,7 @@ SECTIONS positive isn't found by the bootloader (eg. ROMFS) */ KEEP(*libch.a:vectors.o); KEEP(*libch.a:crt0_v7m.o); - KEEP(*(.ecc_raw)); + KEEP(*(.apsec_data)); KEEP(*(.app_descriptor)); *(.text) *(.text.*)