I recently took a closer look at why the ChibiOS shell prompt would often not appear correctly on the USB virtual serial device, and wrote down the individual problems that I found, and solution I settled on:
https://michael.stapelberg.ch/posts/202 ... l-cdc-acm/
This issue was reproducible across platforms (ST32, KINETIS, MIMXRT1062), and the workaround works on Linux, macOS and Windows.
Perhaps this is something to apply to the other demos that use a USB virtual serial device, too?
Hope this helps a few people