Skip to content

Commit

Permalink
boards/feather-nrf52840-sense: Expose saul ws281x
Browse files Browse the repository at this point in the history
  • Loading branch information
MrKevinWeiss committed Apr 11, 2024
1 parent 0a96e36 commit 8a15b8c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions boards/feather-nrf52840-sense/Makefile.dep
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ ifneq (,$(filter saul_default,$(USEMODULE)))
USEMODULE += lsm6dsxx
USEMODULE += saul_gpio
USEMODULE += sht3x
USEMODULE += ws281x
endif

# include common nrf52 dependencies
Expand Down
3 changes: 3 additions & 0 deletions boards/feather-nrf52840-sense/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

Check warning on line 98 in boards/feather-nrf52840-sense/include/board.h

View workflow job for this annotation

GitHub Actions / static-tests

line is longer than 100 characters
#endif
#ifndef WS281X_PARAM_NUMOF
#define WS281X_PARAM_NUMOF (1U) /**< Number of LEDs chained */
#endif
/** @} */

#ifdef __cplusplus
Expand Down

0 comments on commit 8a15b8c

Please sign in to comment.