The acm.ino build is fine when it is in use with Arduino Core 2.0.1
However, Espressif have recently released the 2.0.2 one and, unfortunately, we've got a regression -
$ arduino --verify --verbose-build acm.ino
< ... skipped ... >
..... /home/user/Arduino/libraries/EspTinyUSB/src/host/common/usb_host.cpp -o /tmp/arduino/libraries/EspTinyUSB/host/common/usb_host.cpp.o
/home/user/Arduino/libraries/EspTinyUSB/src/host/common/usb_host.cpp: In member function 'bool USBhost::init(bool)':
/home/user/Arduino/libraries/EspTinyUSB/src/host/common/usb_host.cpp:68:31: error: 'const usb_host_client_config_t' has no non-static data member named 'client_event_callback'
.max_num_event_msg = 5};
^
unfortunately, I am currently facing the same problem. I am building a flightcontroller based on ESP32 S2 following the gamepad example. Is there no solution for this yet?
Thank you so much for this great library!
The acm.ino build is fine when it is in use with Arduino Core 2.0.1 However, Espressif have recently released the 2.0.2 one and, unfortunately, we've got a regression -