USB HID device on ESP32 has a problem!
Port, board and/or hardware
ESP32S3
MicroPython version
I created an issue on USB-LIB but I think the problem must be solved here...
https://github.com/micropython/micropython-lib/issues/1044
Reproduction
The code for reproducing the problem has been tried on MicroPython 1.26.1 and also on the new 1.27 releases.
It is not ESP board related. I tried the examples on different boards with different MicroPython versions.
I can also share Wireshark logs if necessary, but the bug is easily reproducible with the unmodified USB HID device samples from the lib directory.
Expected behaviour
The samples should "just work" also for the ESP32S3 boards.
Observed behaviour
The LED out reports are arriving nicely in the code, but all keystrokes that are sent are arriving with all bytes "zero" at the host. (Confirmed by Wireshark )
Additional Information
See the debug code changes documented in the original lib-issue!
Code of Conduct
Yes, I agree
1.24 breaks USB OTG support
Port, board and/or hardware
ESP32S3
MicroPython version
1.23 / 1.24
Reproduction
Instll kernel, reset, see if it boots
Expected behaviour
Boots
Observed behaviour
Loading firmware 1.24 does not boot using USB-OTG. I don't have serial port. Just USB-OTG, so need kernel to default that on.
Loading firmware 1.23 works as expected.
Additional Information
No, I've provided everything above.
Code of Conduct
Yes, I agree