chegewara / EspTinyUSB

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

hal/usb_hal.h missing in Arduino #157

Open mortenp opened 4 months ago

mortenp commented 4 months 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 4 months 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.

sebcbien37 commented 3 months ago

Hi, Will you update your library for esp32 v3 ? It could help me. Thanks.

chegewara commented 3 months ago

Not in the near future, sorry.

imakin commented 2 months ago

hi, i got the same error in that new library https://github.com/chegewara/esp32-usb-v2/issues/12

LJH666666666 commented 1 week ago

Hi, has anyone solved this issue yet? I really need a solution.

sebcbien37 commented 4 days ago

No, I always use the ESP32 lib in 2.0.17