chegewara / EspTinyUSB

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

hal/usb_hal.h missing in Arduino #157

Open mortenp opened 1 week ago

mortenp commented 1 week ago

For both ESP32S3 andESP32S2, on both MacOS and Windows, I am missing usb_hal.h Boards are up to date with esp32 boards v. 3.0.1

This is the only library where I get this compilation error, but I have no idea whether it's a dependency on another library, or a file I'm supposed to find somewhere else.

/Arduino/libraries/ESP32TinyUSB/src/esptinyusb.cpp:3:10: fatal error: hal/usb_hal.h: No such file or directory 3 | #include "hal/usb_hal.h" | ^~~~~~~ compilation terminated. exit status 1

chegewara commented 1 week ago

Hi, probably my library is not compatible with arduino-esp32 v3.x. Im guessing that this header file change name in esp-idf 5.x.