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) 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;