linusreM / GD32V-Virtual-COM-Port

A working test for USB serial on the GD32VF103 chips. Tested on Longan Nano
17 stars 4 forks source link

GD32V Virtual COM with LCD Demo #3

Closed loboris closed 4 years ago

loboris commented 4 years ago

More complete demo of using CDC/ACM with Longan Nano display.

A small change to the USB descriptors was also made so that the device does not apear as modem device which activates the Modem Manager on Linux (some AT commands are sent to the device, which is not desirable)

For more information see the branch README.md

linusreM commented 4 years ago

Thanks for some much needed additions! Especially the readme needed some attention. Good call on the modem issue as well. The example code is a nice demo, should prove useful! Though I will probably in the near future break out some of the code in main into functions or a separate utility file. I'd like to keep main fairly easy to get a good overview of, especially the usb related stuff.