mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-26 15:03:53 +01:00
17 lines
346 B
Makefile
17 lines
346 B
Makefile
SRC = saul.c saul_str.c
|
|
|
|
ifneq (,$(filter saul_gpio,$(USEMODULE)))
|
|
SRC += gpio_saul.c
|
|
endif
|
|
ifneq (,$(filter saul_bat_voltage,$(USEMODULE)))
|
|
SRC += bat_voltage_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
|