cpu/atmega_common: use stdio_uart only when no other is defined
This commit is contained in:
parent
04df2bbd8a
commit
67aec8392c
@ -7,8 +7,10 @@ USEMODULE += atmega_common
|
|||||||
# peripheral drivers are linked into the final binary
|
# peripheral drivers are linked into the final binary
|
||||||
USEMODULE += atmega_common_periph
|
USEMODULE += atmega_common_periph
|
||||||
|
|
||||||
# the atmel port uses stdio_uart
|
# the atmel port uses stdio_uart by default
|
||||||
USEMODULE += stdio_uart
|
ifeq (,$(filter stdio_% slipdev_stdio,$(USEMODULE)))
|
||||||
|
USEMODULE += stdio_uart
|
||||||
|
endif
|
||||||
|
|
||||||
# expand atmega_pcint module
|
# expand atmega_pcint module
|
||||||
ifneq (,$(filter atmega_pcint,$(USEMODULE)))
|
ifneq (,$(filter atmega_pcint,$(USEMODULE)))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user