mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
1c0bdede8d
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.
18 lines
728 B
Makefile
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
|