-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PIO USB v0.6.0 no longer enumerates devices #122
Comments
I should not that this is happening while using the Adafruit Tiny USB library. |
set the optimize option to something other than |
This works but breaks other libraries (like NeoPixel). |
👋 can you explain how to do that? fwiw: i stumbled upon this with similar experience, |
In the Arduino IDE it's under "Tools->Optimize" |
@sekigon-gonnoc (with CC: to @hathach ) , is it possible to apply a local area "no-optimize" effect by using |
Compiling and running capture_hid_report on
results in the same behaviour: no devices enumerated. (I am not familiar with cmake so I may well be). Output from
|
More info. I tried a fully unoptimized build I seem to get as far as the device being recognised as connected, but all endpoints are NULL:
i.e. The device connected to the pico is a PS3 dual shock 3 controller. Standard pin connections (GP0 and GP1), as before the device enumerates (at least it has valid endpoints) with |
I am experiencing something similar. I tried running the
However, with latest main (fe9133f) and exactly the same changes done by me, the enumeration fails:
|
Same results here:
v0.6.1 / master
@sekigon-gonnoc please can you reopen this issue? |
I guess I'm having the same issue, I'm first-time user of pico-pio-usb. After setting up the library and trying to use it as usb host on gpio pins 2,3 on pico_w with pico-sdk 2.0 and pico-pio-usb 6.1, it doesn't work as described here. I guess we need some deeper debugging. Changing optimization flags to gcc (gcc 13.2.1 arm-none-eabi) does not help. |
I have just started playing with this library, so I can't speak for how it was in v0.5.3, but I am experiencing much the same as the recent commenters.
|
@shuffle2 I tried adding it in a few different places but it didn't seem to help at all. |
I have the same problem . Using any 0.6.* version USB enumeration fails. |
This particular example (capture hid report) has been deprecated. It's not really supposed to be functional anymore. |
After upgrading the PIO USB library to version 0.6.0 the callback for a HID device mounting (
void tuh_hid_mount_cb
) no longer works.The text was updated successfully, but these errors were encountered: