diff --git a/esp-hal/CHANGELOG.md b/esp-hal/CHANGELOG.md index 3fa8355ce..34e0e74bf 100644 --- a/esp-hal/CHANGELOG.md +++ b/esp-hal/CHANGELOG.md @@ -38,6 +38,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - SPI: disable and re-enable MISO and MOSI in `start_transfer_dma`, `start_read_bytes_dma` and `start_write_bytes_dma` accordingly (#1894) - TWAI: GPIO pins are not configured as input and output (#1906) - ESP32C6: Make ADC usable after TRNG deinicialization (#1945) +- We should no longer generate 1GB .elf files for ESP32C2 and ESP32C3 (#1962) ### Removed diff --git a/esp-hal/ld/esp32c2/esp32c2.x b/esp-hal/ld/esp32c2/esp32c2.x index dd800c293..e6578dac5 100644 --- a/esp-hal/ld/esp32c2/esp32c2.x +++ b/esp-hal/ld/esp32c2/esp32c2.x @@ -36,14 +36,6 @@ PROVIDE(_mp_hook = default_mp_hook); PROVIDE(_start_trap = default_start_trap); /* esp32c2 fixups */ -SECTIONS { - .text.dummy (NOLOAD) : - { - /* This section is intended to make _stext address work */ - . = ABSOLUTE(_stext); - } > ROTEXT -} -INSERT BEFORE .text; SECTIONS { .trap : ALIGN(4) diff --git a/esp-hal/ld/esp32c3/esp32c3.x b/esp-hal/ld/esp32c3/esp32c3.x index 2584e7a64..f2c3c0340 100644 --- a/esp-hal/ld/esp32c3/esp32c3.x +++ b/esp-hal/ld/esp32c3/esp32c3.x @@ -36,14 +36,6 @@ PROVIDE(_mp_hook = default_mp_hook); PROVIDE(_start_trap = default_start_trap); /* esp32c3 fixups */ -SECTIONS { - .text.dummy (NOLOAD) : - { - /* This section is intended to make _stext address work */ - . = ABSOLUTE(_stext); - } > ROTEXT -} -INSERT BEFORE .text; SECTIONS { .trap : ALIGN(4)