adafruit / Adafruit_TinyUSB_Arduino

Arduino library for TinyUSB
MIT License
449 stars 119 forks source link

cant verify correctly error: missing Adafruit_USBD_CDC.h file eventhough i have it. #410

Closed fabiendostie closed 3 months ago

fabiendostie commented 3 months ago

Operating System

MacOS

Arduino IDE version

2.3.2

Board

Seeduino Xiao samd21

ArduinoCore version

1.8.5

TinyUSB Library version

Adafruit TinyUSB 3.1.1

Sketch as ATTACHED TXT

https://github.com/fabiendostie/Adafruit_TinyUSB_Issue/blob/main/Xiao_samd21_midi_HC-sr04.ino

Compiled Log as ATTACHED TXT

In file included from /private/var/folders/k0/hjpsy66n3hg335tq13ylq_jc0000gn/T/arduino/sketches/4F23009D6D78F625C1DD46B58E7A6D24/sketch/ultrasonicMIDI_v2.ino.cpp:1:0:
/Users/lefab/Library/Arduino15/packages/Seeeduino/hardware/samd/1.8.5/cores/arduino/Arduino.h:173:10: fatal error: Adafruit_USBD_CDC.h: No such file or directory
 #include "Adafruit_USBD_CDC.h"
          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1

Compilation error: exit status 1

What happened ?

I cant seem to be able to compile my project because of a missing Adafruit_USBD_CDC.h file. The thing is that, the file in question is on my system: /Users/lefab/Documents/Arduino/libraries/Adafruit_TinyUSB_Library/src/arduino/Adafruit_USBD_CDC.h So I'm a little puzzled.

How to reproduce ?

Just load the info file and try to verify the sketch.

Debug Log

I do not know how to produce this

Screenshots

Screenshot 2024-03-22 at 23 28 04 Screenshot 2024-03-22 at 23 31 26 Screenshot 2024-03-22 at 23 33 36
hathach commented 3 months ago

Board is not supported, check with board maker for support

fabiendostie commented 3 months ago

The Xiao samd21? I've seen it in the list, and actually had it working for a different project using this library.

-- . | Fabien Dostie | .///Coloriste Resolve | Montage Online VR-HD .//Compositing | VR Stitching + editing ./DIT | DMT | V/A AQTIS 514 IATSE 667 .Tech. Scène IATSE 56 C: 438.357.3462 W: fabiendostie.com

On Sat, Mar 23, 2024, 00:02 Ha Thach @.***> wrote:

Board is not supported, check with board maker for support

— Reply to this email directly, view it on GitHub https://github.com/adafruit/Adafruit_TinyUSB_Arduino/issues/410#issuecomment-2016336230, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM22A2OVW2GW54YKWW6RY53YZT5GVAVCNFSM6AAAAABFEJ5JSGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJWGMZTMMRTGA . You are receiving this because you authored the thread.Message ID: @.***>