1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

make: use uart0 for shell on none-newlib platforms

This commit is contained in:
Oleg Hahm 2015-08-04 15:29:06 +02:00
parent 79ac710ee5
commit be95b870c8

View File

@ -185,6 +185,15 @@ ifneq (,$(filter gnrc_pktbuf_%, $(USEMODULE)))
USEMODULE += gnrc_pktbuf # make MODULE_GNRC_PKTBUF macro available for all implementations
endif
ifneq (,$(filter newlib,$(USEMODULE)))
USEMODULE += uart_stdio
else
ifneq (,$(filter shell,$(USEMODULE)))
USEMODULE += uart0
endif
endif
ifneq (,$(filter uart0,$(USEMODULE)))
USEMODULE += posix
endif
@ -239,10 +248,6 @@ ifneq (,$(filter cpp11-compat,$(USEMODULE)))
FEATURES_REQUIRED += cpp
endif
ifneq (,$(filter newlib,$(USEMODULE)))
USEMODULE += uart_stdio
endif
ifneq (,$(filter gnrc_netdev_eth,$(USEMODULE)))
USEMODULE += gnrc_pktbuf
endif