I get this compilation error when I try to use USB serial COMS on ARM devices. I suppose only PICs are supported?
Code: Select all
In function 'FCD_01_USB_Serial1__Initialise':
warning: implicit declaration of function 'USBDeviceInit'
error: 'USB_BUS_SENSE' undeclared (first use in this function)
error: (Each undeclared identifier is reported only once
error: for each function it appears in.)
warning: implicit declaration of function 'USBGetDeviceState'
error: 'DETACHED_STATE' undeclared (first use in this function)
warning: implicit declaration of function 'USBDeviceAttach'
error: 'USBDeviceState' undeclared (first use in this function)
error: 'CONFIGURED_STATE' undeclared (first use in this function)
Mantas