Skip to content
Snippets Groups Projects
Commit be95b870 authored by Oleg Hahm's avatar Oleg Hahm
Browse files

make: use uart0 for shell on none-newlib platforms

parent 79ac710e
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment