mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
d196c7c4a6
In analogy to the existing GPIO mappings, this provides (write-only) SAUL entries for PWM'd LEDs in a single-LED (as SAUL_ACT_DIMMER) and an RGB (as SAUL_ACT_RGB_LED) mode. Co-authored-by: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
14 lines
263 B
Makefile
14 lines
263 B
Makefile
SRC = saul.c saul_str.c
|
|
|
|
ifneq (,$(filter saul_gpio,$(USEMODULE)))
|
|
SRC += gpio_saul.c
|
|
endif
|
|
ifneq (,$(filter saul_adc,$(USEMODULE)))
|
|
SRC += adc_saul.c
|
|
endif
|
|
ifneq (,$(filter saul_pwm,$(USEMODULE)))
|
|
SRC += pwm_saul.c
|
|
endif
|
|
|
|
include $(RIOTBASE)/Makefile.base
|