chegewara / EspTinyUSB

ESP32S2 native USB library. Implemented few common classes, like MIDI, CDC, HID or DFU (update).
MIT License
475 stars 70 forks source link

can not updload demo to esp32-s2 #89

Closed BruceAKABear closed 1 year ago

BruceAKABear commented 2 years ago

hi when I upload demo to esp32-s2 ,the arduino ide syas : libraries\EspTinyUSB\src/usb_device.hpp:3:10: fatal error: usb/usb_host.h: No such file or directory

how can I use this lib correctly?

my esp32 lib is v2.0.0

touchgadget commented 2 years ago

The latest stable version is 2.0.2.

chegewara commented 2 years ago

Maybe that slash makes a difference on your OS?

usb/usb_host.h

VS

usb\usb_host.h

BruceAKABear commented 2 years ago

thx,may be I should update the esp32 lib version, by the way ,my os is windows10