examples/gnrc_border_router: add stdio_ethos dependency
This commit is contained in:
parent
f52d5ebde7
commit
930142fbcf
@ -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.
|
# UART, but not on native, as native has a tap interface towards the host.
|
||||||
ifeq (,$(filter native,$(BOARD)))
|
ifeq (,$(filter native,$(BOARD)))
|
||||||
GNRC_NETIF_NUMOF := 2
|
GNRC_NETIF_NUMOF := 2
|
||||||
USEMODULE += ethos
|
USEMODULE += stdio_ethos
|
||||||
|
|
||||||
# ethos baudrate can be configured from make command
|
# ethos baudrate can be configured from make command
|
||||||
ETHOS_BAUDRATE ?= 115200
|
ETHOS_BAUDRATE ?= 115200
|
||||||
CFLAGS += -DETHOS_BAUDRATE=$(ETHOS_BAUDRATE) -DUSE_ETHOS_FOR_STDIO
|
CFLAGS += -DETHOS_BAUDRATE=$(ETHOS_BAUDRATE)
|
||||||
else
|
else
|
||||||
GNRC_NETIF_NUMOF := 2
|
GNRC_NETIF_NUMOF := 2
|
||||||
TERMFLAGS += -z [::1]:17754
|
TERMFLAGS += -z [::1]:17754
|
||||||
|
|||||||
@ -95,8 +95,8 @@ has the following:
|
|||||||
```make
|
```make
|
||||||
ifeq (,$(filter native,$(BOARD)))
|
ifeq (,$(filter native,$(BOARD)))
|
||||||
GNRC_NETIF_NUMOF := 2
|
GNRC_NETIF_NUMOF := 2
|
||||||
USEMODULE += ethos
|
USEMODULE += stdio_ethos
|
||||||
CFLAGS += '-DETHOS_UART=UART_DEV(0)' -DETHOS_BAUDRATE=115200 -DUSE_ETHOS_FOR_STDIO
|
CFLAGS += '-DETHOS_UART=UART_DEV(0)' -DETHOS_BAUDRATE=115200
|
||||||
FEATURES_REQUIRED += periph_uart
|
FEATURES_REQUIRED += periph_uart
|
||||||
endif
|
endif
|
||||||
# include UHCP client
|
# include UHCP client
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user