diff --git a/boards/feather-nrf52840-sense/Makefile.dep b/boards/feather-nrf52840-sense/Makefile.dep index d7a8038212..c52f9ec66b 100644 --- a/boards/feather-nrf52840-sense/Makefile.dep +++ b/boards/feather-nrf52840-sense/Makefile.dep @@ -5,6 +5,7 @@ ifneq (,$(filter saul_default,$(USEMODULE))) USEMODULE += lsm6dsxx USEMODULE += saul_gpio USEMODULE += sht3x + USEMODULE += ws281x endif # include common nrf52 dependencies diff --git a/boards/feather-nrf52840-sense/include/board.h b/boards/feather-nrf52840-sense/include/board.h index 27de7b8414..fbdfc325da 100644 --- a/boards/feather-nrf52840-sense/include/board.h +++ b/boards/feather-nrf52840-sense/include/board.h @@ -97,6 +97,9 @@ extern "C" { #ifndef WS281X_PARAM_PIN #define WS281X_PARAM_PIN GPIO_PIN(0, 16) /**< GPIO pin connected to the data pin of the first LED */ #endif +#ifndef WS281X_PARAM_NUMOF +#define WS281X_PARAM_NUMOF (1U) /**< Number of LEDs chained */ +#endif /** @} */ #ifdef __cplusplus