-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Type pipe_handle_t not found in HID class #449
Comments
Yeah, it is unfortunately a legacy/obsolete code from host stack. In short When I could manage my time, I will try to resume the work with host stack later on. Thanks for reporting the issue. |
Hi there, |
I will try to look at the host stack asap to clean this up. Will let you know when it is ready, keep watching. |
@hathach just started porting the HID class to the restructured host stack and compilation now passes successfully. Initialization seems to work, but there is no USB interrupt when pressing a key on a keyboard. Do you have any idea how to fix this? You may have a look on my code on the branch "zybo" in the forked repository at my account here on GitHub. I'd really appreciate if you find some time to help me fixing this. |
Just introduced FreeRTOS into the project, since the Zynq-7000 platform is having problems when used in NO-OS mode. Now the keyboard is detected successfully all the tile, though some minor errors appear. Only the Interrupt mode seems to be not working yet. Looks like everything is registered fine, but no interrupts occur. |
@Mister-Mojo I would love to help, but I have no idea with the issue you are mentioning. If you could submit a PR for zynq7000 I could try it out to see what is wrong with the stack. |
Set up
examples/host/cdc_msc_hid/
Describe the bug
Hey there, we are currently working on porting TinyUSB to the APU of the Xilinx Zybo to use a USB keyboard on it. The host driver seems to work okay so far. However, we are struggling with the HID class driver. When compiling the example code, there appears the following error:
Seems like the type pipe_handle_t was never defined, since we could not find it anywhere. Do you have any hints about the intention of this type?
To reproduce
To reproduce the behaviour, it should be sufficient to use any board with host capability and compile the firmware
examples/host/cdc_msc_hid/
with the parameterCFG_TUH_HID_KEYBOARD
set to 1 in the tusb_config.We'd really appreciate your help in fixing this issue. We're really looking forward to hearing from you!
The text was updated successfully, but these errors were encountered: