Hello all,
so.. final year project for university, im using a PIC32 processor as i require a fast processor and USBhost functionality..
i have bought the DM320004 to get started with, as i figured, if i got the USB out the way, i can fret about everything else! now..
iv used the microchip sample code.. "PIC32 ESK USB Host - Mass Storage Simple Demo " found at the bottom of the page above.
my problem is.. everytime i compile, (after redirecting headers etc as the readme says so.. i get..a minimum of 4 errors (only reports some once so could be further issues in the file)
if people have the microchip application libraries, its in [MAL Library Directory]\Microchip\USB\usb_host.c
the errors are:
1) error: 'USB_OVERRIDE_CLIENT_DRIVER_EVENT_DATA' undeclared (first use in this function)
2) error: expected ';' before 'eventData'
3) error: 'eventData' undeclared (first use in this function)
4) error: 'EVENT_OVERRIDE_CLIENT_DRIVER_SELECTION' undeclared (first use in this function)
the reason im confused is because this is a microchip library file.. not one iv written.. but its stopping me understanding how to implement HOST USB for the mass storage device class.
All help appreciated.
Regards
so.. final year project for university, im using a PIC32 processor as i require a fast processor and USBhost functionality..
i have bought the DM320004 to get started with, as i figured, if i got the USB out the way, i can fret about everything else! now..
iv used the microchip sample code.. "PIC32 ESK USB Host - Mass Storage Simple Demo " found at the bottom of the page above.
my problem is.. everytime i compile, (after redirecting headers etc as the readme says so.. i get..a minimum of 4 errors (only reports some once so could be further issues in the file)
if people have the microchip application libraries, its in [MAL Library Directory]\Microchip\USB\usb_host.c
the errors are:
1) error: 'USB_OVERRIDE_CLIENT_DRIVER_EVENT_DATA' undeclared (first use in this function)
2) error: expected ';' before 'eventData'
3) error: 'eventData' undeclared (first use in this function)
4) error: 'EVENT_OVERRIDE_CLIENT_DRIVER_SELECTION' undeclared (first use in this function)
the reason im confused is because this is a microchip library file.. not one iv written.. but its stopping me understanding how to implement HOST USB for the mass storage device class.
All help appreciated.
Regards