Fix 1GB elfs (#1962)

This commit is contained in:
Dániel Buga 2024-08-19 16:46:30 +02:00 committed by GitHub
parent 70491b9e37
commit 05582d3ca9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 1 additions and 16 deletions

View File

@ -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) - 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) - TWAI: GPIO pins are not configured as input and output (#1906)
- ESP32C6: Make ADC usable after TRNG deinicialization (#1945) - ESP32C6: Make ADC usable after TRNG deinicialization (#1945)
- We should no longer generate 1GB .elf files for ESP32C2 and ESP32C3 (#1962)
### Removed ### Removed

View File

@ -36,14 +36,6 @@ PROVIDE(_mp_hook = default_mp_hook);
PROVIDE(_start_trap = default_start_trap); PROVIDE(_start_trap = default_start_trap);
/* esp32c2 fixups */ /* esp32c2 fixups */
SECTIONS {
.text.dummy (NOLOAD) :
{
/* This section is intended to make _stext address work */
. = ABSOLUTE(_stext);
} > ROTEXT
}
INSERT BEFORE .text;
SECTIONS { SECTIONS {
.trap : ALIGN(4) .trap : ALIGN(4)

View File

@ -36,14 +36,6 @@ PROVIDE(_mp_hook = default_mp_hook);
PROVIDE(_start_trap = default_start_trap); PROVIDE(_start_trap = default_start_trap);
/* esp32c3 fixups */ /* esp32c3 fixups */
SECTIONS {
.text.dummy (NOLOAD) :
{
/* This section is intended to make _stext address work */
. = ABSOLUTE(_stext);
} > ROTEXT
}
INSERT BEFORE .text;
SECTIONS { SECTIONS {
.trap : ALIGN(4) .trap : ALIGN(4)