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:
parent
79ac710ee5
commit
be95b870c8
13
Makefile.dep
13
Makefile.dep
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user