-
CONFIG_ESP_SPIRAM_SIZE
¶
Size of SPIRAM part
Type: int
Help¶
Specify size of SPIRAM part.
NOTE: If SPIRAM size is greater than 4MB, only
lower 4MB can be allocated using k_malloc().
Direct dependencies¶
ESP_SPIRAM
&& SOC_ESP32
&& <choice: SoC/CPU/Configuration Selection>
(Includes any dependencies from ifs and menus.)
Defaults¶
2097152 if
SPIRAM_TYPE_ESPPSRAM16
4194304 if
SPIRAM_TYPE_ESPPSRAM32
8388608 if
SPIRAM_TYPE_ESPPSRAM64
Kconfig definition¶
At <Zephyr>/soc/xtensa/esp32/Kconfig.soc:77
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:28
→ <Zephyr>/soc/Kconfig:6
→ <BuildDir>/kconfig/Kconfig.soc:1
Menu path: (Top) → SoC/CPU/Configuration Selection → ESP32 → Support for external, SPI-connected RAM → SPI RAM config
config ESP_SPIRAM_SIZE
int "Size of SPIRAM part"
default 2097152 if SPIRAM_TYPE_ESPPSRAM16
default 4194304 if SPIRAM_TYPE_ESPPSRAM32
default 8388608 if SPIRAM_TYPE_ESPPSRAM64
depends on ESP_SPIRAM && SOC_ESP32 && <choice>
help
Specify size of SPIRAM part.
NOTE: If SPIRAM size is greater than 4MB, only
lower 4MB can be allocated using k_malloc().
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)