Merge pull request #13845 from maribu/ws281x
drivers/ws281x: Fix dependencies & doc
This commit is contained in:
commit
3b5067b5d0
@ -794,7 +794,7 @@ ifneq (,$(filter ws281x_%,$(USEMODULE)))
|
||||
endif
|
||||
|
||||
ifneq (,$(filter ws281x,$(USEMODULE)))
|
||||
FEATURES_REQUIRED_ANY += arch_avr8|arch_native
|
||||
FEATURES_REQUIRED_ANY += arch_avr8|arch_esp32|arch_native
|
||||
|
||||
ifeq (,$(filter ws281x_%,$(USEMODULE)))
|
||||
ifneq (,$(filter arch_avr8,$(FEATURES_USED)))
|
||||
|
||||
@ -48,7 +48,17 @@
|
||||
*
|
||||
* ### Usage
|
||||
*
|
||||
* Add the following to your `Makefile` to use:
|
||||
* Add the following to your `Makefile`:
|
||||
*
|
||||
* * Auto-selecting the backend:
|
||||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Makefile
|
||||
* USEMODULE += ws281x
|
||||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
*
|
||||
* This will automatically pull in one of the backends supported by your board.
|
||||
* In case multiple backends apply and the automatic selection does not pick
|
||||
* your preferred backend, you can manually pick your preferred backend as
|
||||
* described below.
|
||||
*
|
||||
* * the ATmega backend:
|
||||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Makefile
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user