-
Notifications
You must be signed in to change notification settings - Fork 9.2k
samples: subsys: usb: shell: allow host-only operation #105005
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| CONFIG_SHELL=y | ||
|
|
||
| CONFIG_USB_HOST_STACK=y | ||
| CONFIG_USBH_SHELL=y | ||
|
|
||
| CONFIG_LOG=y | ||
| CONFIG_USBH_LOG_LEVEL_WRN=y | ||
| CONFIG_UHC_DRIVER_LOG_LEVEL_WRN=y |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,31 +1,49 @@ | ||
| sample: | ||
| name: USB support shell sample | ||
| common: | ||
| depends_on: | ||
| - usbd | ||
| tests: | ||
| sample.usbd.shell: | ||
| depends_on: | ||
| - usbd | ||
| tags: | ||
| - usb | ||
| extra_args: | ||
| - FILE_SUFFIX=device | ||
| integration_platforms: | ||
| - nrf52840dk/nrf52840 | ||
| - nrf54h20dk/nrf54h20/cpuapp | ||
| - frdm_k64f | ||
| - mimxrt685_evk/mimxrt685s/cm33 | ||
| - mimxrt1060_evk/mimxrt1062/qspi | ||
| harness: keyboard | ||
| tags: usb | ||
| sample.usbh.shell: | ||
| depends_on: | ||
| - usbh | ||
| tags: | ||
| - usb | ||
| extra_args: | ||
| - FILE_SUFFIX=host | ||
| platform_allow: | ||
| - rd_rw612_bga | ||
| build_only: true | ||
| sample.usbh.shell.shield: | ||
| depends_on: | ||
| - usbd | ||
| tags: | ||
| - usb | ||
| - shield | ||
| extra_args: | ||
| - CONF_FILE="device_and_host_prj.conf" | ||
| - FILE_SUFFIX=device_and_host | ||
| - SHIELD="sparkfun_max3421e" | ||
| platform_allow: | ||
| - nrf52840dk/nrf52840 | ||
| - frdm_k64f | ||
| build_only: true | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. if we take the changes of #105083 for adding the usbh tag nrf52840dk/nrf52840 and frdm_k64f both don't not have that tag, so it wouldn't be tested Might be an idea to have two cases of this, one that depends of the
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good point, there is no tag for shields. |
||
| sample.usbh.shell.virtual: | ||
| tags: usb | ||
| extra_args: CONF_FILE="device_and_host_prj.conf" | ||
| platform_allow: qemu_cortex_m3 | ||
| tags: | ||
| - usb | ||
| extra_args: | ||
| - FILE_SUFFIX=device_and_host | ||
| - EXTRA_DTC_OVERLAY_FILE="virtual.overlay" | ||
| platform_allow: | ||
| - native_sim/native/64 | ||
| build_only: true | ||
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you verify that this board is working?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No as unfortunately not available to the public.
This was used for UVC Host by @AidenHu.
Glad to know which board to use in the meantime this gets ready. Maybe still using the nRF52840 with the shield for now?
(In the meantime, I am hurrying on DWC2 Host...)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's keep rd_rw612_bga, we can replace it with integration_platforms later.