The latest development version of this page may be more current than this released 1.14.0 version.
CONFIG_WS2812_STRIP_MAX_PIXELS

Maximum number of pixels in a strip

Type: int

Help

Set this to the maximum number of pixels you need to control at once. There is an 8x memory penalty associated with each increment of this value, so it’s worth optimizing.

Direct dependencies

WS2812_STRIP && LED_STRIP

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

Defaults

Kconfig definition

At drivers/led_strip/Kconfig.ws2812:26

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

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

config WS2812_STRIP_MAX_PIXELS
    int
    prompt "Maximum number of pixels in a strip" if WS2812_STRIP && LED_STRIP
    default 12 if WS2812_STRIP && LED_STRIP
    depends on WS2812_STRIP && LED_STRIP
    help
      Set this to the maximum number of pixels you need
      to control at once. There is an 8x memory penalty associated
      with each increment of this value, so it's worth optimizing.

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