mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
1387b736b7
samd21-arduino-bootloader and its dependencies will only be included if no other stdio_% (other than stdio_cdc_acm) is included.
15 lines
504 B
Makefile
15 lines
504 B
Makefile
ifneq (,$(filter saul_default,$(USEMODULE)))
|
|
USEMODULE += saul_gpio
|
|
endif
|
|
|
|
# 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
|