The latest development version of this page may be more current than this released 1.14.1 version.
CONFIG_WS2812_STRIP

Enable WS2812 (and compatible) LED strip driver

Type: bool

Help

Enable LED strip driver for daisy chains of WS2812-ish (or WS2812B, WS2813, SK6812, or compatible) devices. These devices have a one-wire communications interface which encodes bits using pulses. Short pulses indicate zero bits, and long pulses indicate ones; refer to the chip datasheets for precise specifications. To implement this in a multitasking operating system, this driver generates the pulses using a SPI peripheral.

Direct dependencies

SPI && LED_STRIP

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

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At drivers/led_strip/Kconfig.ws2812:11

Included via Kconfig:10Kconfig.zephyr:35drivers/Kconfig:74drivers/led_strip/Kconfig:35

Menu path: (top menu) → Device Drivers → LED strip drivers

menuconfig WS2812_STRIP
    bool
    prompt "Enable WS2812 (and compatible) LED strip driver" if SPI && LED_STRIP
    depends on SPI && LED_STRIP
    help
      Enable LED strip driver for daisy chains of WS2812-ish
      (or WS2812B, WS2813, SK6812, or compatible) devices.
      These devices have a one-wire communications interface
      which encodes bits using pulses. Short pulses indicate
      zero bits, and long pulses indicate ones; refer to the
      chip datasheets for precise specifications. To implement
      this in a multitasking operating system, this driver
      generates the pulses using a SPI peripheral.

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