2019-10-13 17:18:08 +02:00
|
|
|
ifneq (,$(filter saul_default,$(USEMODULE)))
|
|
|
|
USEMODULE += saul_gpio
|
|
|
|
endif
|
2019-10-22 19:01:53 +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
|
|
|
|
ifeq (,$(filter-out stdio_cdc_acm,$(filter stdio_%,$(USEMODULE))))
|
|
|
|
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
|