CONFIG_DEFAULT_PSRAM_CLK_IO

PSRAM CLK IO number

Type: int

Help

The PSRAM CLOCK 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

  • 30

Kconfig definition

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

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_CLK_IO
    int "PSRAM CLK IO number"
    range 0 33
    default 30
    depends on ESP_SPIRAM && ESP_SPIRAM && SOC_ESP32S2 && <choice>
    help
      The PSRAM CLOCK 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.)