This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_ESP_HEAP_SEARCH_ALL_REGIONS

Search for all available heap regions

Type: bool

Help

This configuration enables searching all available heap
regions. If the region of desired capability is exhausted,
memory will be allocated from other available region.

Direct dependencies

ESP_SPIRAM && SOC_ESP32 && <choice: SoC/CPU/Configuration Selection>

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

At soc/xtensa/esp32/Kconfig.soc:51

Included via Kconfig:8Kconfig.zephyr:36soc/Kconfig:9

Menu path: (Top) → SoC/CPU/Configuration Selection → ESP32 → Support for external, SPI-connected RAM

config ESP_HEAP_SEARCH_ALL_REGIONS
    bool "Search for all available heap regions"
    default y
    depends on ESP_SPIRAM && SOC_ESP32 && <choice>
    help
      This configuration enables searching all available heap
      regions. If the region of desired capability is exhausted,
      memory will be allocated from other available region.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)