CONFIG_ESP_SPIRAM_SIZE

Size of SPIRAM part

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().

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>) || (ESP_SPIRAM && SOC_ESP32 && <choice: SoC/CPU/Configuration Selection>)

(Includes any dependencies from ifs and menus.)

Kconfig definitions

At <Zephyr>/soc/xtensa/esp32/Kconfig.soc:78

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:36<Zephyr>/soc/Kconfig:7<nRF>/doc/_build/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().

At <Zephyr>/soc/xtensa/esp32/Kconfig.soc:78

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:36<Zephyr>/soc/Kconfig:9

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.)