Skip to content

Commit

Permalink
Fix 1GB elfs
Browse files Browse the repository at this point in the history
  • Loading branch information
bugadani committed Aug 16, 2024
1 parent 6127f5d commit bb18e94
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 16 deletions.
1 change: 1 addition & 0 deletions esp-hal/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,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

Expand Down
8 changes: 0 additions & 8 deletions esp-hal/ld/esp32c2/esp32c2.x
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
8 changes: 0 additions & 8 deletions esp-hal/ld/esp32c3/esp32c3.x
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit bb18e94

Please sign in to comment.