mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
824c8e0593
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 |
||
---|---|---|
.. | ||
include/soc | ||
ld | ||
adc_periph.c | ||
ana_cmpr_periph.c | ||
dma2d_periph.c | ||
gdma_periph.c | ||
gpio_periph.c | ||
i2c_periph.c | ||
i2s_periph.c | ||
interrupts.c | ||
lcd_periph.c | ||
ledc_periph.c | ||
mcpwm_periph.c | ||
mipi_csi_periph.c | ||
mipi_dsi_periph.c | ||
mpi_periph.c | ||
parlio_periph.c | ||
pcnt_periph.c | ||
rmt_periph.c | ||
rtc_io_periph.c | ||
sdio_slave_periph.c | ||
sdm_periph.c | ||
sdmmc_periph.c | ||
spi_periph.c | ||
temperature_sensor_periph.c | ||
timer_periph.c | ||
touch_sensor_periph.c | ||
twai_periph.c | ||
uart_periph.c |