kevinmehall / usb

Minimalist portable USB device stack for SAMD21, LPC1800, LPC4300, Xmega
MIT License
100 stars 20 forks source link

Missing definitions #9

Closed wbasser closed 7 years ago

wbasser commented 7 years ago

In 'usb_samd.h', there is a reference to 'extern UsbDeviceDescriptor usb_endpoints[];', however, I cannot find the definition of the variable type 'UsbDeviceScriptor' anywhere in the project?

What am I missing

kevinmehall commented 7 years ago

It is included through io.h from the device header files from Atmel, either as part of ASF, or I've stashed a copy here: https://github.com/avrxml/sam0

You're presumably already using these headers to be able to do pretty much anything at all with the hardware.