mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
2c3987def0
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.
12 lines
309 B
Makefile
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)
|