1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #16214 from benpicco/examples/gnrc_border_router-eth

examples/gnrc_border_router: enable ethernet uplink
This commit is contained in:
benpicco 2021-04-09 19:36:01 +02:00 committed by GitHub
commit f157be3426
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,8 +11,8 @@ RIOTBASE ?= $(CURDIR)/../..
UPLINK ?= ethos
# Check if the selected Uplink is valid
ifeq (,$(filter ethos slip cdc-ecm wifi,$(UPLINK)))
$(error Supported uplinks are `ethos`, `slip`, `cdc-ecm` and `wifi`)
ifeq (,$(filter ethos slip cdc-ecm wifi ethernet,$(UPLINK)))
$(error Supported uplinks are `ethos`, `slip`, `cdc-ecm`, `ethernet` and `wifi`)
endif
# Set the SSID and password of your WiFi network here
@ -43,7 +43,7 @@ USEMODULE += ps
#USEMODULE += gnrc_ipv6_nib_dns # include RDNSS option handling
# When using a WiFi uplink we should use DHCPv6
ifeq (wifi,$(UPLINK))
ifneq (,$(filter cdc-ecm wifi ethernet,$(UPLINK)))
USE_DHCPV6 ?= 1
else
USE_DHCPV6 ?= 0