-
Notifications
You must be signed in to change notification settings - Fork 11
Conversation
…ndpoints. the second (hid) example doesn't work yet.
Related to issue #39 |
The
|
…LE bit in the controller register
One can now use the pico as (raw hid) device. I'll further play with it over the weekend and try to use the CTAPHID protocol with the device impl. @MasterQ32 @mattnite let me know what you think |
This is amazing! One request though, could you please move reusable USB code to this repo? https://github.com/ZigEmbeddedGroup/usb, that way we can take this work and use it on other devices. Add it as a submodule for now, later we'll use the zig package manager. |
How do you want me to pass the usb module to the hal module (within |
Code will be added to the microzig repo directly |
I think microzig needs updating and then this is ready to go |
I've ported the usb bulk example (found in the rp2040 datasheet) to Zig. The Rust implementation of Cliff Biffle with all the comments helped a lot (I copied most of the comments; he did a great job explaining the code).
This is WIP but @MasterQ32 suggested that I open a draft PR.
The device code already works (see loop-back example); I'm currently working on raw HID support.
You can get some USB debug output over UART