From abf1deef375052145cb49fe19ef84a29286a0b78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Quentin?= Date: Wed, 5 Feb 2025 09:39:20 +0100 Subject: [PATCH 1/2] ESP32-S2: Fix creation of .rwdata_dummy section --- esp-hal/ld/esp32s2/esp32s2.x | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esp-hal/ld/esp32s2/esp32s2.x b/esp-hal/ld/esp32s2/esp32s2.x index d7be0cbcd31..83869824ab6 100644 --- a/esp-hal/ld/esp32s2/esp32s2.x +++ b/esp-hal/ld/esp32s2/esp32s2.x @@ -18,7 +18,7 @@ INCLUDE exception.x SECTIONS { .rwdata_dummy (NOLOAD) : ALIGN(4) { - . = ORIGIN(RWDATA) + SIZEOF(.rwtext) + SIZEOF(.rwtext.wifi); + . = . + SIZEOF(.rwtext) + SIZEOF(.rwtext.wifi); } > RWDATA } INSERT BEFORE .data; From e88e22c6b2bb3640ca7060e5a6405a0dc06cf3fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Quentin?= Date: Wed, 5 Feb 2025 09:46:39 +0100 Subject: [PATCH 2/2] CHANGELOG.md --- esp-hal/CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/esp-hal/CHANGELOG.md b/esp-hal/CHANGELOG.md index ac319cef4a0..f898da04612 100644 --- a/esp-hal/CHANGELOG.md +++ b/esp-hal/CHANGELOG.md @@ -45,6 +45,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fixed an issue that caused LCD_CAM drivers to turn off their clocks unexpectedly (#3007) - Fixed an issue where DMA-driver peripherals started transferring before the data was ready (#3003) +- ESP32-S2: Fixed linker script (#3096) + ### Removed - Removed `Pin`, `RtcPin` and `RtcPinWithResistors` implementations from `Flex` (#2938)