mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
cpu: always rely on stdio.inc.mk for default stdio selection
This commit is contained in:
parent
e38e0b937c
commit
0bd67d98d9
@ -12,11 +12,6 @@ USEMODULE += malloc_thread_safe
|
|||||||
# The AVR-libc provides no strerror, so we provide it via tiny_strerror
|
# The AVR-libc provides no strerror, so we provide it via tiny_strerror
|
||||||
USEMODULE += tiny_strerror_as_strerror
|
USEMODULE += tiny_strerror_as_strerror
|
||||||
|
|
||||||
# the atmel port uses stdio_uart by default
|
|
||||||
ifeq (,$(filter stdio_% slipdev_stdio,$(USEMODULE)))
|
|
||||||
USEMODULE += stdio_uart
|
|
||||||
endif
|
|
||||||
|
|
||||||
# static C++ constructors need guards for thread safe initialization
|
# static C++ constructors need guards for thread safe initialization
|
||||||
ifneq (,$(filter cpp,$(FEATURES_USED)))
|
ifneq (,$(filter cpp,$(FEATURES_USED)))
|
||||||
USEMODULE += cxx_ctor_guards
|
USEMODULE += cxx_ctor_guards
|
||||||
|
@ -16,10 +16,6 @@ ifneq (,$(filter mtd,$(USEMODULE)))
|
|||||||
USEMODULE += periph_flash
|
USEMODULE += periph_flash
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq (,$(filter stdio_% slipdev_stdio,$(USEMODULE)))
|
|
||||||
USEMODULE += stdio_uart
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq (xtensa,$(CPU_ARCH))
|
ifeq (xtensa,$(CPU_ARCH))
|
||||||
USEMODULE += esp_xtensa
|
USEMODULE += esp_xtensa
|
||||||
USEMODULE += xtensa
|
USEMODULE += xtensa
|
||||||
|
@ -2,6 +2,7 @@ STDIO_MODULES = \
|
|||||||
slipdev_stdio \
|
slipdev_stdio \
|
||||||
stdio_cdc_acm \
|
stdio_cdc_acm \
|
||||||
stdio_ethos \
|
stdio_ethos \
|
||||||
|
stdio_native \
|
||||||
stdio_nimble \
|
stdio_nimble \
|
||||||
stdio_null \
|
stdio_null \
|
||||||
stdio_rtt \
|
stdio_rtt \
|
||||||
@ -10,10 +11,9 @@ STDIO_MODULES = \
|
|||||||
stdio_telnet \
|
stdio_telnet \
|
||||||
#
|
#
|
||||||
|
|
||||||
ifneq (,$(filter newlib picolibc,$(USEMODULE)))
|
# select stdio_uart if no other stdio module is slected
|
||||||
ifeq (,$(filter $(STDIO_MODULES),$(USEMODULE)))
|
ifeq (,$(filter $(STDIO_MODULES),$(USEMODULE)))
|
||||||
USEMODULE += stdio_uart
|
USEMODULE += stdio_uart
|
||||||
endif
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter stdio_cdc_acm,$(USEMODULE)))
|
ifneq (,$(filter stdio_cdc_acm,$(USEMODULE)))
|
||||||
|
Loading…
Reference in New Issue
Block a user