diff --git a/examples/gnrc_border_router/Makefile b/examples/gnrc_border_router/Makefile index 82f8f7ff94..da4089ad58 100644 --- a/examples/gnrc_border_router/Makefile +++ b/examples/gnrc_border_router/Makefile @@ -28,11 +28,11 @@ BOARD_BLACKLIST += mips-malta pic32-wifire pic32-clicker ruuvitag thingy52 # UART, but not on native, as native has a tap interface towards the host. ifeq (,$(filter native,$(BOARD))) GNRC_NETIF_NUMOF := 2 - USEMODULE += ethos + USEMODULE += stdio_ethos # ethos baudrate can be configured from make command ETHOS_BAUDRATE ?= 115200 - CFLAGS += -DETHOS_BAUDRATE=$(ETHOS_BAUDRATE) -DUSE_ETHOS_FOR_STDIO + CFLAGS += -DETHOS_BAUDRATE=$(ETHOS_BAUDRATE) else GNRC_NETIF_NUMOF := 2 TERMFLAGS += -z [::1]:17754 diff --git a/examples/gnrc_border_router/README.md b/examples/gnrc_border_router/README.md index b9bb82613d..ccefaeda32 100644 --- a/examples/gnrc_border_router/README.md +++ b/examples/gnrc_border_router/README.md @@ -95,8 +95,8 @@ has the following: ```make ifeq (,$(filter native,$(BOARD))) GNRC_NETIF_NUMOF := 2 -USEMODULE += ethos -CFLAGS += '-DETHOS_UART=UART_DEV(0)' -DETHOS_BAUDRATE=115200 -DUSE_ETHOS_FOR_STDIO +USEMODULE += stdio_ethos +CFLAGS += '-DETHOS_UART=UART_DEV(0)' -DETHOS_BAUDRATE=115200 FEATURES_REQUIRED += periph_uart endif # include UHCP client