esp-idf/components/heap/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
..
esp32 Use configuration option instead of in components not related to FreeRTOS 2023-11-28 07:49:20 +00:00
esp32c2 change(heap): fix and clean memory caps defination in memory_layout 2023-09-28 07:53:20 +00:00
esp32c3 change(heap): fix and clean memory caps defination in memory_layout 2023-09-28 07:53:20 +00:00
esp32c5 feat(esp32c5): support esptool on esp32c5 beta3 2024-01-09 13:11:11 +08:00
esp32c6 change(heap): fix and clean memory caps defination in memory_layout 2023-09-28 07:53:20 +00:00
esp32h2 change(heap): fix and clean memory caps defination in memory_layout 2023-09-28 07:53:20 +00:00
esp32p4 feat(esp_system): allow .bss to spill over into L2MEM above 0x4ff40000 2024-02-28 19:41:25 +04:00
esp32s2 change(heap): fix and clean memory caps defination in memory_layout 2023-09-28 07:53:20 +00:00
esp32s3 change(heap): fix and clean memory caps defination in memory_layout 2023-09-28 07:53:20 +00:00
memory_layout_utils.c feat(esp32c5): support to build hello world on esp32c5 beta3 2024-01-09 13:11:11 +08:00