[riot-notifications] [RIOT-OS/RIOT] usbus: Add CDC-ECM (Ethernet Control Model) function (#11077)

Koen Zandberg notifications at github.com
Tue Jun 11 10:59:34 CEST 2019


bergzand commented on this pull request.



> +include ../Makefile.tests_common
+
+USEMODULE += auto_init_gnrc_netif
+USEMODULE += auto_init_usbus
+USEMODULE += gnrc_ipv6_router_default
+USEMODULE += gnrc_icmpv6_echo
+USEMODULE += usbus_cdc_ecm
+USEMODULE += shell
+USEMODULE += shell_commands
+USEMODULE += ps
+
+# Increase the number of network interfaces in case the board under test also provides a network interface
+CFLAGS += -DGNRC_NETIF_NUMOF=2
+
+# pid.codes test VID/PID, not globally unique
+CFLAGS += -DUSB_CONFIG_VID=0x1209 -DUSB_CONFIG_PID=0x0001

I can agree with that, copied the snippet from `examples/usbus_minimal`

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11077#discussion_r292349545
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190611/7422ca27/attachment.html>


More information about the notifications mailing list