:orphan: .. title:: CONFIG_ESP_HEAP_MIN_EXTRAM_THRESHOLD .. kconfig:: CONFIG_ESP_HEAP_MIN_EXTRAM_THRESHOLD CONFIG_ESP_HEAP_MIN_EXTRAM_THRESHOLD #################################### *Minimum threshold for external RAM allocation* *Minimum threshold for external RAM allocation* Type: ``int`` Help ==== .. code-block:: none 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 ==== .. code-block:: none 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 =================== (\ :kconfig:`ESP_SPIRAM ` && \ :kconfig:`SOC_ESP32 ` && \ :ref:` `) || (\ :kconfig:`ESP_SPIRAM ` && \ :kconfig:`SOC_ESP32 ` && \ :ref:` `) *(Includes any dependencies from ifs and menus.)* Defaults ======== - 8192 - 8192 Kconfig definitions =================== At ``/xtensa/esp32/Kconfig.soc:41`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:38`` → ``/Kconfig:7`` → ``/kconfig/Kconfig.soc:1`` Menu path: (Top) → SoC/CPU/Configuration Selection → ESP32 → Support for external, SPI-connected RAM .. code-block:: kconfig config ESP_HEAP_MIN_EXTRAM_THRESHOLD int "Minimum threshold for external RAM allocation" range 1024 131072 default 8192 depends on ESP_SPIRAM && SOC_ESP32 && 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 ``/xtensa/esp32/Kconfig.soc:41`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:38`` → ``/Kconfig:9`` Menu path: (Top) → SoC/CPU/Configuration Selection → ESP32 → Support for external, SPI-connected RAM .. code-block:: kconfig config ESP_HEAP_MIN_EXTRAM_THRESHOLD int "Minimum threshold for external RAM allocation" range 1024 131072 default 8192 depends on ESP_SPIRAM && SOC_ESP32 && 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.)*