-
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.
Defaults¶
- “” if
WS2812_STRIP
&&LED_STRIP
Kconfig definition¶
At drivers/led_strip/Kconfig.ws2812:32
Included via Kconfig:10
→ Kconfig.zephyr:29
→ drivers/Kconfig:76
→ drivers/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" ifWS2812_STRIP
&&LED_STRIP
default "" ifWS2812_STRIP
&&LED_STRIP
depends onWS2812_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.)