Skip to content

Commit

Permalink
Move ISR vtables from SRAM to IRAM to free up some SRAM
Browse files Browse the repository at this point in the history
  • Loading branch information
MitchBradley committed Jun 10, 2024
1 parent cfea542 commit 75cb9eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions FluidNC/ld/esp32/sections.ld
Original file line number Diff line number Diff line change
Expand Up @@ -558,8 +558,6 @@ SECTIONS
*libspi_flash.a:spi_flash_chip_winbond.*(.rodata .rodata.*)
*libspi_flash.a:spi_flash_rom_patch.*(.rodata .rodata.*)

INCLUDE vtable_in_dram.ld

_data_end = ABSOLUTE(.);
. = ALIGN(4);
} > dram0_0_seg
Expand Down Expand Up @@ -777,6 +775,8 @@ SECTIONS
*(.iram2.coredump .iram2.coredump.*)
_coredump_iram_end = ABSOLUTE(.);

INCLUDE vtable_in_dram.ld

_iram_data_end = ABSOLUTE(.);
} > iram0_0_seg

Expand Down

0 comments on commit 75cb9eb

Please sign in to comment.