zephyr.js
zephyr.js copied to clipboard
WebUSB device can't be found on windows platform
Issue description WebUSB device can't be found on windows platform
Current behavior Board can't be found after connected windows PC.
Expected behavior Device can be found.
Steps to reproduce
Build and flash images into board.
Start WebIDE and connect board.
But works okay on Linux? Works okay with an older ZJS build?
@grgustaf Yes its ZJS related, it got introduced with @zolkis new webusb PR. There is some needed Windows key descriptor in order for chrome to recognize it. If you look at src/ashell/term-webusb.c (before it got deleted by the webusb PR) it contains ms_os_20_descriptor_set, which does that work. I tried adding that to src/ashell/webusb_driver.c but it still didn't work, so its a little more complex than that I guess. Anyway, yes it works on any earlier build before the webusb change, and yes it still works on Linux.