esp32-usb-v2 icon indicating copy to clipboard operation
esp32-usb-v2 copied to clipboard

hal/usb_hal.h missing in Arduino

Open imakin opened this issue 5 months ago • 1 comments

I tried for ESP32-S2 in linux and got this error. Any clue what is this usb_hal and how to include this?

    src/esp32-usb-v2/src/common/usb_device.cpp:3:10: fatal error: hal/usb_hal.h: No such file or directory
        3 | #include "hal/usb_hal.h"
          |          ^~~~~~~~~~~~~~~
    compilation terminated.
    
    Used library Version Path
    Wire         2.0.0   /home/user/.arduino15/packages/esp32/hardware/esp32/3.0.0/libraries/Wire
    
    Used platform Version Path
    esp32:esp32   3.0.0   /home/user/.arduino15/packages/esp32/hardware/esp32/3.0.0
    Error during build: exit status 1
    make: *** [Makefile:23: compile] Error 1

i also tried the EspTinyUSB library and got the same usb_hal error like that. #https://github.com/chegewara/EspTinyUSB/issues/157

the commit when that file was deleted #https://github.com/espressif/esp-idf/commit/e63bfb24f50b5794d6d5c7d371c1c2f06ec18579

imakin avatar Sep 09 '24 11:09 imakin