examples/gnrc_border_router: move board deps in Makefile.board.dep
This commit is contained in:
parent
b7a786394f
commit
6d5f64bd14
@ -13,17 +13,13 @@ BOARD_BLACKLIST += pic32-wifire pic32-clicker ruuvitag thingy52
|
|||||||
# use ethos (ethernet over serial) for network communication and stdio over
|
# use ethos (ethernet over serial) for network communication and stdio over
|
||||||
# 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
|
|
||||||
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)
|
CFLAGS += -DETHOS_BAUDRATE=$(ETHOS_BAUDRATE)
|
||||||
else
|
else
|
||||||
GNRC_NETIF_NUMOF := 2
|
|
||||||
TERMFLAGS += -z [::1]:17754
|
TERMFLAGS += -z [::1]:17754
|
||||||
USEMODULE += socket_zep
|
|
||||||
endif
|
endif
|
||||||
|
GNRC_NETIF_NUMOF := 2
|
||||||
|
|
||||||
# SLIP legacy compatibility
|
# SLIP legacy compatibility
|
||||||
# Uncomment the lines below if you want to use SLIP with this example and don't
|
# Uncomment the lines below if you want to use SLIP with this example and don't
|
||||||
|
|||||||
6
examples/gnrc_border_router/Makefile.board.dep
Normal file
6
examples/gnrc_border_router/Makefile.board.dep
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
# Put board specific dependencies here
|
||||||
|
ifeq (,$(filter native,$(BOARD)))
|
||||||
|
USEMODULE += stdio_ethos
|
||||||
|
else
|
||||||
|
USEMODULE += socket_zep
|
||||||
|
endif
|
||||||
Loading…
x
Reference in New Issue
Block a user