1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/examples/gnrc_border_router/Makefile.cdc-ecm.conf
Dan Trickey 2c3987def0
examples/gnrc_border_router: add CDC-ECM uplink
Optionally executes pyterm from CDC-ECM start_network.sh

The shell script exits and cleans up instantly unless there is a
blocking program running at the end. Users can supply a serial port to
display in pyterm, or alternatively just wait if it is a "headless"
deployment.
2020-07-17 21:34:56 +01:00

12 lines
309 B
Makefile

# USB Modules
USEMODULE += auto_init_usbus
USEMODULE += usbus_cdc_ecm
ifeq (1,$(USE_DHCPV6))
FLAGS_EXTRAS += --use-dhcpv6
endif
# Configure terminal parameters for UHCP
TERMDEPS += host-tools
TERMPROG ?= sudo sh $(RIOTTOOLS)/usb-cdc-ecm/start_network.sh
TERMFLAGS ?= $(FLAGS_EXTRAS) $(IPV6_PREFIX) $(PORT)