From 7edc421258f410e3652eea733ec0ebc805f19dc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Nohlg=C3=A5rd?= Date: Wed, 4 Oct 2017 13:10:54 +0200 Subject: [PATCH] examples/gnrc_border_router: Use STDIO UART for ethos If ETHOS_UART is not defined, then the default behaviour is to fall back to UART_STDIO_DEV. Fixes broken default configuration on boards which are not using UART0 for STDIO (e.g. Mulle) --- examples/gnrc_border_router/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/gnrc_border_router/Makefile b/examples/gnrc_border_router/Makefile index 53961a91ee..bafd5a0ace 100644 --- a/examples/gnrc_border_router/Makefile +++ b/examples/gnrc_border_router/Makefile @@ -26,7 +26,7 @@ ifeq (,$(filter native,$(BOARD))) # ethos baudrate can be configured from make command ETHOS_BAUDRATE ?= 115200 - CFLAGS += '-DETHOS_UART=UART_DEV(0)' -DETHOS_BAUDRATE=$(ETHOS_BAUDRATE) -DUSE_ETHOS_FOR_STDIO + CFLAGS += -DETHOS_BAUDRATE=$(ETHOS_BAUDRATE) -DUSE_ETHOS_FOR_STDIO FEATURES_REQUIRED += periph_uart endif