cpu/atmega_common: use stdio_uart only when no other is defined

This commit is contained in:
Leandro Lanzieri 2020-08-14 09:27:51 +02:00
parent 04df2bbd8a
commit 67aec8392c
No known key found for this signature in database
GPG Key ID: 13559905E2EBEAA5

View File

@ -7,8 +7,10 @@ USEMODULE += atmega_common
# peripheral drivers are linked into the final binary
USEMODULE += atmega_common_periph
# the atmel port uses stdio_uart
USEMODULE += stdio_uart
# the atmel port uses stdio_uart by default
ifeq (,$(filter stdio_% slipdev_stdio,$(USEMODULE)))
USEMODULE += stdio_uart
endif
# expand atmega_pcint module
ifneq (,$(filter atmega_pcint,$(USEMODULE)))