CONFIG_DEFAULT_PSRAM_CS_IO

PSRAM CS IO number

Type: int

Help

The PSRAM CS IO can be any unused GPIO, user can config it
based on hardware design.

Direct dependencies

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

(Includes any dependencies from ifs and menus.)

Default

  • 26

Kconfig definition

At <SoC>/xtensa/esp32s2/Kconfig.soc:140

Included via Kconfig:8Kconfig.zephyr:38<SoC>/Kconfig:9

Menu path: (Top) → SoC/CPU/Configuration Selection → ESP32S2 → Support for external, SPI-connected RAM → SPI RAM config → PSRAM clock and cs IO for ESP32S2

config DEFAULT_PSRAM_CS_IO
    int "PSRAM CS IO number"
    range 0 33
    default 26
    depends on ESP_SPIRAM && ESP_SPIRAM && SOC_ESP32S2 && <choice>
    help
      The PSRAM CS IO can be any unused GPIO, user can config it
      based on hardware design.

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