USB CDC on FRDM-K66F board

Hi. I am trying simple USB CDC example
https://os.mbed.com/docs/mbed-os/v6.2/apis/usbcdc.html
however I receive “This board does not have a hardware USB driver” error.

How can I fix (or properly configure) it.
Thank you,
Igor

HI Igor,

if you look at https://github.com/ARMmbed/mbed-os/blob/master/targets/targets.json you can see that the K64F has USBDEVICE in the ‘device_has_add’ section but the K66F does not, so this would imply that the K66F has not had the USBDEVICE enabled for it yet.

Regards
Anna

Thank you for clarification.
Regards,
Igor