2017-08-24 11:44:56 +02:00
|
|
|
ifneq (,$(filter saul_default,$(USEMODULE)))
|
|
|
|
USEMODULE += saul_gpio
|
|
|
|
endif
|
2019-09-30 17:17:24 +02:00
|
|
|
|
2020-03-20 10:47:48 +01:00
|
|
|
# use arduino-bootloader only if no other stdio_% other than stdio_cdc_acm
|
|
|
|
# is requested
|
2020-04-02 16:42:33 +02:00
|
|
|
ifeq (,$(filter-out stdio_cdc_acm,$(filter stdio_% slipdev_stdio,$(USEMODULE))))
|
2020-03-20 10:47:48 +01:00
|
|
|
USEMODULE += boards_common_samd21-arduino-bootloader
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter boards_common_samd21-arduino-bootloader,$(USEMODULE)))
|
|
|
|
# setup the samd21 arduino bootloader related dependencies
|
|
|
|
include $(RIOTBOARD)/common/samd21-arduino-bootloader/Makefile.dep
|
|
|
|
endif
|