esp-idf/docs/zh_CN/api-guides
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
..
esp-ble-mesh docs(sphinx-lint): Fix issues reported by sphinx-lint before adding it to pre-commit 2024-01-23 15:22:29 +08:00
inc docs: provide CN translation for linux-host-requirements.rst and external-ram-esp32-notes.rst 2023-06-28 16:42:17 +08:00
jtag-debugging docs(esp32c5): add support for building C5 docs 2024-02-01 10:06:41 +08:00
performance docs: Correct coap IPV6 support requirement comments 2024-01-05 12:35:41 +05:30
sleep-current add low power doc and picture 2023-07-06 11:57:38 +00:00
tools docs: add CN translation for idf-monitor 2024-01-31 09:35:44 +01:00
RF_calibration.rst Docs: provide CN translation for three short docs of api-guides 2023-08-04 23:37:26 +08:00
SYSVIEW_FreeRTOS.txt freertos: Remove legacy data types 2022-02-09 23:05:45 +08:00
app_trace.rst docs(sphinx-lint): Fix issues reported by sphinx-lint before adding it to pre-commit 2024-01-23 15:22:29 +08:00
bluetooth.rst docs(sphinx-lint): Fix issues reported by sphinx-lint before adding it to pre-commit 2024-01-23 15:22:29 +08:00
blufi.rst docs: update document format issues 2023-10-14 03:55:41 +08:00
bootloader.rst Docs: update cn trans for config wdt desc 2024-01-31 15:19:17 +08:00
build-system.rst docs(sphinx-lint): Fix issues reported by sphinx-lint before adding it to pre-commit 2024-01-23 15:22:29 +08:00
c.rst docs: Added C documentation page 2023-11-13 10:47:15 +08:00
coexist.rst docs: update CN translation 2024-02-06 09:55:01 +08:00
core_dump.rst feat(esp-coredump): add esp32p4 chip support and doc update 2024-01-03 12:05:34 +01:00
core_dump_internals.rst docs(sphinx-lint): Fix issues reported by sphinx-lint before adding it to pre-commit 2024-01-23 15:22:29 +08:00
cplusplus.rst docs: update format issues left in EN docs 2023-09-15 10:46:25 +00:00
current-consumption-measurement-modules.rst docs(sphinx-lint): Fix issues reported by sphinx-lint before adding it to pre-commit 2024-01-23 15:22:29 +08:00
deep-sleep-stub.rst docs(sphinx-lint): Fix issues reported by sphinx-lint before adding it to pre-commit 2024-01-23 15:22:29 +08:00
dfu.rst docs(sphinx-lint): Fix issues reported by sphinx-lint before adding it to pre-commit 2024-01-23 15:22:29 +08:00
error-handling.rst docs(sphinx-lint): Fix issues reported by sphinx-lint before adding it to pre-commit 2024-01-23 15:22:29 +08:00
esp-wifi-mesh.rst docs(sphinx-lint): Fix issues reported by sphinx-lint before adding it to pre-commit 2024-01-23 15:22:29 +08:00
external-ram.rst Merge branch 'feature/supplicant_bss_extmem' into 'master' 2024-01-11 15:55:14 +08:00
fatal-errors.rst docs(sphinx-lint): Fix issues reported by sphinx-lint before adding it to pre-commit 2024-01-23 15:22:29 +08:00
flash_psram_config.rst docs(sphinx-lint): Fix issues reported by sphinx-lint before adding it to pre-commit 2024-01-23 15:22:29 +08:00
general-notes.rst docs:update CN translation for startup and debugging-example 2021-06-08 11:18:27 +08:00
hardware-abstraction.rst Docs: update cn trans for config wdt desc 2024-01-31 15:19:17 +08:00
hlinterrupts.rst docs(sphinx-lint): Fix issues reported by sphinx-lint before adding it to pre-commit 2024-01-23 15:22:29 +08:00
host-apps.rst docs: Sync up CN and EN versions for files under api-guides and api-references (Nov) 2023-12-11 14:53:05 +08:00
index.rst feat(esp32p4): Add USB-OTG support for ESP32-P4 2024-01-30 15:07:11 +01:00
linker-script-generation.rst feat(esp_system): allow .bss to spill over into L2MEM above 0x4ff40000 2024-02-28 19:41:25 +04:00
low-power-mode.rst docs(sphinx-lint): Fix issues reported by sphinx-lint before adding it to pre-commit 2024-01-23 15:22:29 +08:00
lwip.rst docs: update CN translation 2024-02-06 09:55:01 +08:00
memory-types.rst docs(sphinx-lint): Fix issues reported by sphinx-lint before adding it to pre-commit 2024-01-23 15:22:29 +08:00
openthread.rst docs(sphinx-lint): Fix issues reported by sphinx-lint before adding it to pre-commit 2024-01-23 15:22:29 +08:00
partition-tables.rst docs(esp32c5): add support for building C5 docs 2024-02-01 10:06:41 +08:00
reproducible-builds.rst docs: add documentation about reproducible builds 2022-04-26 11:31:13 +02:00
startup.rst docs(sphinx-lint): Fix issues reported by sphinx-lint before adding it to pre-commit 2024-01-23 15:22:29 +08:00
thread-local-storage.rst Docs: provide CN translation for three short docs of api-guides 2023-08-04 23:37:26 +08:00
unit-tests.rst docs(sphinx-lint): Fix issues reported by sphinx-lint before adding it to pre-commit 2024-01-23 15:22:29 +08:00
usb-otg-console.rst * ets_delay_us(1) has too much overhead; change logic 2021-04-28 16:38:24 +08:00
usb-serial-jtag-console.rst docs(sphinx-lint): Fix issues reported by sphinx-lint before adding it to pre-commit 2024-01-23 15:22:29 +08:00
wifi-security.rst docs: provide CN translation for api-guides/wifi-security.rst 2023-09-07 14:21:07 +08:00
wifi.rst docs:Separate low-power documents 2023-12-01 10:13:19 +08:00
wireshark-user-guide.rst docs(sphinx-lint): Fix issues reported by sphinx-lint before adding it to pre-commit 2024-01-23 15:22:29 +08:00