From 59107e557388967a33cdfe8cd33b94d3aafc25a1 Mon Sep 17 00:00:00 2001 From: Tiago Medicci Serrano Date: Mon, 6 Nov 2023 08:03:28 -0300 Subject: [PATCH] esp32s3: Fix issue regarding IRAM-enabled ISRs by fixing the linker After https://github.com/apache/nuttx/pull/11007/ was merged, the path for some files changed, requiring the linker to be fixed to make it run from the internal memory once again. --- boards/xtensa/esp32s3/common/scripts/legacy_sections.ld | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boards/xtensa/esp32s3/common/scripts/legacy_sections.ld b/boards/xtensa/esp32s3/common/scripts/legacy_sections.ld index 3410ea515c..4324f61818 100644 --- a/boards/xtensa/esp32s3/common/scripts/legacy_sections.ld +++ b/boards/xtensa/esp32s3/common/scripts/legacy_sections.ld @@ -88,7 +88,7 @@ SECTIONS *libarch.a:xtensa_testset.*(.literal .text .literal.* .text.*) #ifdef CONFIG_ESP32S3_BLE - *libc.a:bin/sq_remlast.*(.literal .text .literal.* .text.*) + *libc.a:sq_remlast.*(.literal .text .literal.* .text.*) #endif *libdrivers.a:syslog_flush.*(.literal .text .literal.* .text.*) @@ -121,7 +121,7 @@ SECTIONS *libsched.a:sched_mergepending.*(.literal.nxsched_merge_pending .text.nxsched_merge_pending) *libsched.a:sched_resumescheduler.*(.literal.nxsched_resume_scheduler .text.nxsched_resume_scheduler) - *libc.a:bin/sq_remfirst.*(.literal.sq_remfirst .text.sq_remfirst) + *libc.a:sq_remfirst.*(.literal.sq_remfirst .text.sq_remfirst) #endif *(.wifirxiram .wifirxiram.*)