CONFIG_WS2812_STRIP_SPI_DEV_NAME

SPI master to use to drive the strip

Type: string

Help

Specify the device name of the SPI master which the WS2812 driver should use to control the LED strip. The MOSI pin of this SPI peripheral should be connected to the signal pin for the first chip in the strip. Examples: SPI_0, SPI_1, etc.

Direct dependencies

WS2812_STRIP && LED_STRIP

(Includes any dependencies from if’s and menus.)

Defaults

Kconfig definition

At drivers/led_strip/Kconfig.ws2812:32

Included via Kconfig:10Kconfig.zephyr:29drivers/Kconfig:76drivers/led_strip/Kconfig:46

Menu path: (top menu) → Device Drivers → LED strip drivers → Enable WS2812 (and compatible) LED strip driver

config WS2812_STRIP_SPI_DEV_NAME
    string
    prompt "SPI master to use to drive the strip" if WS2812_STRIP && LED_STRIP
    default "" if WS2812_STRIP && LED_STRIP
    depends on WS2812_STRIP && LED_STRIP
    help
      Specify the device name of the SPI master which the
      WS2812 driver should use to control the LED strip.
      The MOSI pin of this SPI peripheral should be connected
      to the signal pin for the first chip in the strip.
      Examples: SPI_0, SPI_1, etc.

(Definitions include propagated dependencies, including from if’s and menus.)