This is the documentation for the latest (master) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.
CONFIG_SPI_2

SPI port 2

Type: bool

Help

Enable SPI controller port 2.

Direct dependencies

(SPI_DW && SPI && BOARD_HSDK) || (SPI && BOARD_HEXIWEAR_K64) || SPI

(Includes any dependencies from ifs and menus.)

Defaults

  • y

  • n

Kconfig definitions

At boards/arc/hsdk/Kconfig.defconfig:42

Included via Kconfig:8Kconfig.zephyr:24

Menu path: (Top)

config SPI_2
    bool
    default y
    depends on SPI_DW && SPI && BOARD_HSDK

At boards/arm/hexiwear_k64/Kconfig.defconfig:57

Included via Kconfig:8Kconfig.zephyr:24

Menu path: (Top)

config SPI_2
    bool
    default n
    depends on SPI && BOARD_HEXIWEAR_K64

At drivers/spi/Kconfig:73

Included via Kconfig:8Kconfig.zephyr:32drivers/Kconfig:36

Menu path: (Top) → Device Drivers → SPI hardware bus support

config SPI_2
    bool "SPI port 2"
    depends on SPI
    help
      Enable SPI controller port 2.

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