CONFIG_ESP_HEAP_MIN_EXTRAM_THRESHOLD¶
Minimum threshold for external RAM allocation
Minimum threshold for external RAM allocation
Type: int
Help¶
Threshold to decide if memory will be allocated from DRAM
or SPIRAM. If value of allocation size is less than this value,
memory will be allocated from internal RAM.
Help¶
Threshold to decide if memory will be allocated from DRAM
or SPIRAM. If value of allocation size is less than this value,
memory will be allocated from internal RAM.
Direct dependencies¶
(ESP_SPIRAM && SOC_ESP32 && <choice: SoC/CPU/Configuration Selection>) || (ESP_SPIRAM && SOC_ESP32 && <choice: SoC/CPU/Configuration Selection>)
(Includes any dependencies from ifs and menus.)
Defaults¶
- 8192 
- 8192 
Kconfig definitions¶
At <Zephyr SoC>/xtensa/esp32/Kconfig.soc:41
Included via Kconfig:8 → Kconfig.zephyr:38 → <Zephyr SoC>/Kconfig:7 → <BuildDir>/kconfig/Kconfig.soc:1
Menu path: (Top) → SoC/CPU/Configuration Selection → ESP32 → Support for external, SPI-connected RAM
config ESP_HEAP_MIN_EXTRAM_THRESHOLD
    int "Minimum threshold for external RAM allocation"
    range 1024 131072
    default 8192
    depends on ESP_SPIRAM && SOC_ESP32 && <choice>
    help
      Threshold to decide if memory will be allocated from DRAM
      or SPIRAM. If value of allocation size is less than this value,
      memory will be allocated from internal RAM.
At <Zephyr SoC>/xtensa/esp32/Kconfig.soc:41
Included via Kconfig:8 → Kconfig.zephyr:38 → <Zephyr SoC>/Kconfig:9
Menu path: (Top) → SoC/CPU/Configuration Selection → ESP32 → Support for external, SPI-connected RAM
config ESP_HEAP_MIN_EXTRAM_THRESHOLD
    int "Minimum threshold for external RAM allocation"
    range 1024 131072
    default 8192
    depends on ESP_SPIRAM && SOC_ESP32 && <choice>
    help
      Threshold to decide if memory will be allocated from DRAM
      or SPIRAM. If value of allocation size is less than this value,
      memory will be allocated from internal RAM.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)