...
Select submenus for USB 2.0 controller : Device Drivers > USB support > USB support > USB Gadget Support > USB Peripheral Controller. Select <*> for “Sunplus USB 2.0 Device Controller“.
...
Select submenus for USB 3.0 controller : Device Drivers > USB support > USB support >. Select <*> for “DesignWare USB3 DRD Core Support“ and select “Gadget Only mode“ for “DWC3 Mode Selection“. Note that for USB gadget precomposed configurations, there is only 1 UDC configured as a gadget. Here selecting “Gadget Only mode“ for “DWC3 Mode Selection“ will configure USB3 as the serial gadget and selecting “Dual Role mode“ for “DWC3 Mode Selection“ will configure USB2 as the serial gadget due to the USB2 and USB3 device drivers probed sequence.
...
Select submenus for USB Gadget procomposed configurations : Device Drivers > USB support > USB support > USB Gadget Support > USB Gadget precomposed configurations. Select <*> for “Serial Gadget (with CDC ACM and CDC OBEX support)“.
...
Select submenus for USB Gadget Support : Device Drivers > USB support > USB support. Select <*> for “Serial gadget console support“.
...