You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The way tud_vendor_control_xfer_cb is linked in Adafruit_USBD_WebUSB.cpp causes runtime-only errors that are remarkably hard to track down, as they cause no compilation hiccups.
Emptying src/arduino/webusb/Adafruit_USBD_WebUSB.* is a workaround.
This platformio thread recomended trying lib_archive = false, which didn't work for me
or using extern "C" {...} around the tud_vendor_control_xfer_cb function, which also didn't work, I think because the function is a class member?
Operating System
Linux
Arduino IDE version
Platformio
Board
pi pico
ArduinoCore version
earlephilower
TinyUSB Library version
latest
Sketch as ATTACHED TXT
Compiled Log as ATTACHED TXT
What happened ?
The way
tud_vendor_control_xfer_cb
is linked in Adafruit_USBD_WebUSB.cpp causes runtime-only errors that are remarkably hard to track down, as they cause no compilation hiccups.Emptying
src/arduino/webusb/Adafruit_USBD_WebUSB.*
is a workaround.This platformio thread recomended trying
lib_archive = false
, which didn't work for meor using
extern "C" {...}
around thetud_vendor_control_xfer_cb
function, which also didn't work, I think because the function is a class member?How to reproduce ?
Try to compile the i2c example in platformio.
Debug Log
No response
Screenshots
No response
The text was updated successfully, but these errors were encountered: