Skip to content
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

USB Host Stack not functional with UX_HOST_STANDALONE defined #167

Open
Ryzee119 opened this issue Jun 2, 2024 · 0 comments
Open

USB Host Stack not functional with UX_HOST_STANDALONE defined #167

Ryzee119 opened this issue Jun 2, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Ryzee119
Copy link

Ryzee119 commented Jun 2, 2024

Describe the bug
The USB Host Stack does not function when trying to use it with UX_HOST_STANDALONE..

To Reproduce
Steps to reproduce the behavior:

  1. Compile project with UX_HOST_STANDALONE
  2. I happened to be using the OHCI backend but would be valid for any backend.

Some issues that I identified early in the device state machine:

_ux_host_stack_rh_port_rese does not return a UX_STATE value. So the status value is invalid here.

status = _ux_host_stack_rh_port_reset(device);

‎_ux_host_stack_rh_port_reset‎ also returns UX_PORT_RESET_FAILED because it fails the check on actual_flags as _ux_host_event_flags_get is stubbed out.

status = _ux_host_event_flags_get(&hcd_ohci -> ux_hcd_ohci_event_flags_group,

Not sure if this is intended to function with UX_HOST_STANDALONE or its for testing only?

@Ryzee119 Ryzee119 added the bug Something isn't working label Jun 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant