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

Martine Lenders notifications at github.com
Thu Jun 20 10:26:57 CEST 2019

miri64 commented on this pull request.

> +ssize_t stdio_read(void* buffer, size_t len)
+    (void)buffer;
+    (void)len;
+    return isrpipe_read(&cdc_stdio_isrpipe, buffer, len);
+ssize_t stdio_write(const void* buffer, size_t len)
+    usbus_cdc_acm_submit(&cdcacm, buffer, len);
+    /* Use tsrb and flush */
+    return len;
+void cdcacm_rx_pipe(usbus_t *usbus, usbus_cdcacm_device_t *cdcacm,
+                           uint8_t *data, size_t len)


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190620/e5db2011/attachment.html>

More information about the notifications mailing list