kevinmehall / usb

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

Missing definitions #2

Closed wbasser closed 7 years ago

wbasser commented 7 years ago

Unless I am totally missing something here, I have downloaded the Tessel 2 code as well as the latest USB-master code. Where in the files is UsbDeviceDescriptor defined at? THis is in usb_samd.h

kevinmehall commented 7 years ago

The UsbDeviceDescriptor structure is defined in the Atmel headers for the SAMD21. (The name is quite misleading; this is the per-endpoint SRAM data for the USB device controller, not the device descriptor)

If you're trying to build the Tessel 2 firmware both this library and the headers are git submodules -- run git submodule update --init

wbasser commented 7 years ago

Thanks, I tried searching for it, but no avail. I've created an Atmel Studio solution for it. If you're interested, I would be glad to share it. The end goal is just implement the CDC with an interface to a command line debugger in a project.

On Oct 13, 2016 5:42 PM, "Kevin Mehall" notifications@github.com wrote:

The UsbDeviceDescriptor structure is defined in the Atmel headers for the SAMD21 https://github.com/avrxml/sam0. (The name is quite misleading; this is the per-endpoint SRAM data for the USB device controller, not the device descriptor)

If you're trying to build the Tessel 2 firmware both this library and the headers are git submodules -- run git submodule update --init

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kevinmehall/usb/issues/2#issuecomment-253647354, or mute the thread https://github.com/notifications/unsubscribe-auth/ADeAYpH4bTNJ3E2rrZsRgD16i4cxle5iks5qzqWygaJpZM4KWY0K .