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

Koen Zandberg notifications at github.com
Mon Sep 30 21:33:35 CEST 2019


@dylad Not sure I can reproduce your issue, this is what I get on a samr21-xpro:
```ShellSession
> ps
2019-09-30 21:31:18,232 #  ps
2019-09-30 21:31:18,234 #       pid | name                 | state    Q | pri | stack  ( used) | base addr  | current     
2019-09-30 21:31:18,235 #         - | isr_stack            | -        - |   - |    512 (  148) | 0x20000000 | 0x200001b8
2019-09-30 21:31:18,236 #         1 | idle                 | pending  Q |  15 |    256 (  156) | 0x200004f8 | 0x2000055c 
2019-09-30 21:31:18,237 #         2 | main                 | running  Q |   7 |   1536 (  788) | 0x200005f8 | 0x200008e4 
2019-09-30 21:31:18,238 #         3 | usbus                | bl anyfl _ |   1 |   1024 (  448) | 0x20000bf8 | 0x20000efc 
2019-09-30 21:31:18,238 #           | SUM                  |            |     |   3328 ( 1540)
> reboot
2019-09-30 21:31:20,986 # Serial port disconnected, waiting to get reconnected...
2019-09-30 21:31:22,009 # Try to reconnect to /dev/ttyACM2 again...
2019-09-30 21:31:22,010 # Reconnected to serial port /dev/ttyACM2
2019-09-30 21:31:22,011 #  rebootmain(): This is RIOT! (Version: 2019.10-devel-1127-gc6447b-pr/usb/cdcacm)
2019-09-30 21:31:22,012 # RIOT USB CDC ACM shell test
> ps
2019-09-30 21:31:23,192 #  ps
2019-09-30 21:31:23,194 #       pid | name                 | state    Q | pri | stack  ( used) | base addr  | current     
2019-09-30 21:31:23,195 #         - | isr_stack            | -        - |   - |    512 (  148) | 0x20000000 | 0x200001b8
2019-09-30 21:31:23,196 #         1 | idle                 | pending  Q |  15 |    256 (  156) | 0x200004f8 | 0x2000055c 
2019-09-30 21:31:23,197 #         2 | main                 | running  Q |   7 |   1536 (  788) | 0x200005f8 | 0x200008e4 
2019-09-30 21:31:23,198 #         3 | usbus                | bl anyfl _ |   1 |   1024 (  448) | 0x20000bf8 | 0x20000efc 
2019-09-30 21:31:23,198 #           | SUM                  |            |     |   3328 ( 1540)
```

I expect the semi-garbled reboot at `2019-09-30 21:31:22,011` to be caused by buffering by pyterm.

-- 
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#issuecomment-536717076
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190930/464b180a/attachment.htm>


More information about the notifications mailing list