2019-09-13 07:25:08 +02:00
|
|
|
ifneq (,$(filter saul_default,$(USEMODULE)))
|
|
|
|
USEMODULE += saul_gpio
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq (,$(filter-out stdio_cdc_acm,$(filter stdio_% slipdev_stdio,$(USEMODULE))))
|
|
|
|
# Use stdio_cdc_acm only if no other stdio is requested explicitly.
|
|
|
|
USEMODULE += stdio_cdc_acm
|
2020-06-10 23:07:40 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
# enable bootloader reset over USB, requires USB bootloader to be used
|
|
|
|
ifneq (,$(filter stdio_cdc_acm,$(USEMODULE)))
|
2019-09-13 07:25:08 +02:00
|
|
|
FEATURES_REQUIRED += bootloader_nrfutil
|
2020-06-10 23:07:40 +02:00
|
|
|
USEMODULE += usb_board_reset
|
2019-09-13 07:25:08 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
include $(RIOTBOARD)/common/nrf52/Makefile.dep
|