[riot-notifications] [RIOT-OS/RIOT] usbus: Add CDC-ACM (Serial console) function (#11085)

Koen Zandberg notifications at github.com
Tue Jun 25 16:44:30 CEST 2019


bergzand commented on this pull request.



> @@ -46,6 +49,11 @@ void auto_init_usb(void)
     usbus_cdcecm_init(&usbus, &cdcecm);
 #endif
 
+#ifdef MODULE_STDIO_CDC_ACM
+    void usb_cdcacm_stdio_init(usbus_t *usbus);
+    usb_cdcacm_stdio_init(&usbus);

marginally. It increases the chance that all endpoints are already occupied with functionality initialized earlier, but the actual `stdio` handling won't start until the usbus thread has been started.

I'll move it to the top to reduce the risk mentioned above.

-- 
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/11085#discussion_r297226151
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190625/55282bbc/attachment.html>


More information about the notifications mailing list