Any way to get more than 2 USB CDC endpoints with the SAMD21 and ASF3 ??
Tried setting "#define UDI_CDC_PORT_NB 4" in conf_usb.h but I get this error:
/xdk-asf-3.47.0//common/services/usb/class/cdc/device/udi_cdc_conf.h:99:6: error: #error USBB, UDP, UDPHS and UOTGHS interfaces have not enought endpoints.
# error USBB, UDP, UDPHS and UOTGHS interfaces have not enought endpoints.
Works with 2 CDC endpoints ...
ASF library code seems to only support 2 endpoints for non-XMEGA targets.
What about creating a composite device with two sub-devices each with two ports ?