esp-idf/components/esp_system/port
Alexey Lapshin 824c8e0593 feat(esp_system): allow .bss to spill over into L2MEM above 0x4ff40000
This commit introduce SOC_MEM_NON_CONTIGUOUS_SRAM flag (that enebled for
esp32p4). If SOC_MEM_NON_CONTIGUOUS_SRAM is enabled:

- LDFLAGS+=--enable-non-contiguous-regions
- ldgen.py replaces "arrays[*]" from sections.ld.in with objects under
  SURROUND keyword. (e.g. from linker.lf: data -> dram0_data SURROUND(foo))
- "mapping[*]" - refers to all other data

If SOC_MEM_NON_CONTIGUOUS_SRAM, sections.ld.in file should contain at
least one block of code like this (otherwise it does not make sense):

  .dram0.bss (NOLOAD) :
  {
    arrays[dram0_bss]
    mapping[dram0_bss]
  } > sram_low

  .dram1.bss (NOLOAD) :
  {
    /* do not place here arrays[dram0_bss] because it may be splited
     * between segments */
    mapping[dram0_bss]
  } > sram_high
2024-02-28 19:41:25 +04:00
..
arch refactor(system): removed esp_system from astyle ignore list and reformated it 2024-01-30 15:17:15 +08:00
include refactor(system): removed esp_system from astyle ignore list and reformated it 2024-01-30 15:17:15 +08:00
soc Merge branch 'feature/esp32c5_clock_preliminary_support' into 'master' 2024-02-08 11:54:35 +08:00
brownout.c feat(esp32c5): add system related supports 2024-01-02 11:17:11 +08:00
CMakeLists.txt feat(wdt): add multicore support for WDTs on RISCV 2023-10-23 18:26:08 +08:00
cpu_start.c feat(esp_system): allow .bss to spill over into L2MEM above 0x4ff40000 2024-02-28 19:41:25 +04:00
esp_ipc_isr.c refactor(system): removed esp_system from astyle ignore list and reformated it 2024-01-30 15:17:15 +08:00
esp_system_chip.c refactor(system): removed esp_system from astyle ignore list and reformated it 2024-01-30 15:17:15 +08:00
esp_system_linux.c refactor(system): removed esp_system from astyle ignore list and reformated it 2024-01-30 15:17:15 +08:00
panic_handler.c fix(panic): fixed cache error being reported as illegal instruction 2023-12-04 10:49:00 +08:00
usb_console.c refactor(system): removed esp_system from astyle ignore list and reformated it 2024-01-30 15:17:15 +08:00