1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/boards/nrf52840dongle/Makefile.dep
chrysn 1c0bdede8d boards/nrf52840dongle: Add support
It includes per-board support for the nrfutil programmer used with its
default bootloader; this is not generalized over Adafruit's boards as
they use incompatible versions of nrfutil.
2020-05-08 14:49:46 +02:00

18 lines
728 B
Makefile

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
# This does not *really* hinge on the choice of stdio, but this ensures
# compatibility with the test suite that uses stdio_null and would conflict
# with bootloader_nrfutil.
# (Having the feature in is generally a good thing because as an indicator
# that it the resulting program is meant to be flashed using nrfutil).
FEATURES_REQUIRED += bootloader_nrfutil
endif
# ... and fall back to the UART-based stdio
include $(RIOTBOARD)/common/nrf52/Makefile.dep