Thanks for your interest in I.MX RT series. I'd like to provide service for you.
There is an example in the SDK of our partner EmbeddedArtists that should meet your needs, please refer to it. The path is : \boards\evkbmimxrt1060\usb_examples\usb_device_composite_cdc_vcom_cdc_vcom
I'm very sorry that I shouldn't have expressed myself clearly.
What is needed is that both USB1 and USB2 are configured as CDC virtual serial ports, not USB1 CDC virtualized as 2 serial ports. Can you help me with this?
The uTasker project allows dual CDC device on both of the HSUSBs (as well as CDC device/host mixtures).
The attached binary is a complete project which shows two CDC devices on the MIMXRT1060-EVK - loadable via ISP: - HSUSB1 can be connected to a terminal emulator and has a command line interface on it (in the USB menu the command "usb-serial" will also transform it into a USB-LPUART bridge with LPUART speed control via the terminal emulator setting - the LPUART is the one on the MIMXRT1060-EVK VCOM port). - HSUSB2 can be connected to and just does a simple echo back of all received input.