mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
971f0f6fee
This feature is only used to blacklist stdio via CDC ACM. Introduce the `highlevel_stdio` feature instead to indicate that stdio functionality requires a running thread to print anything
17 lines
505 B
Makefile
17 lines
505 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
|
|
endif
|
|
|
|
# enable bootloader reset over USB, requires USB bootloader to be used
|
|
ifneq (,$(filter stdio_cdc_acm,$(USEMODULE)))
|
|
FEATURES_REQUIRED += highlevel_stdio
|
|
USEMODULE += usb_board_reset
|
|
endif
|
|
|
|
include $(RIOTBOARD)/common/nrf52/Makefile.dep
|