Skip to content

Commit

Permalink
samples: subsys: usb: shell: add support for renesas,ra-uhc
Browse files Browse the repository at this point in the history
Support USBH shell sample for renesas,ra-uhc

Signed-off-by: The Nguyen <[email protected]>
  • Loading branch information
thenguyenyf committed Feb 19, 2025
1 parent 5bdbdb1 commit 42ba590
Show file tree
Hide file tree
Showing 5 changed files with 103 additions and 0 deletions.
23 changes: 23 additions & 0 deletions samples/subsys/usb/shell/boards/ek_ra6m3.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/*
* Copyright (c) 2024 Renesas Electronics Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/

/delete-node/ &zephyr_udc0;

&usbhs {
status = "okay";

zephyr_uhc0: uhc {
status = "okay";
};
};

&usbfs {
status = "okay";

zephyr_udc0: udc {
status = "okay";
};
};
23 changes: 23 additions & 0 deletions samples/subsys/usb/shell/boards/ek_ra6m5.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/*
* Copyright (c) 2024 Renesas Electronics Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/

/delete-node/ &zephyr_udc0;

&usbhs {
status = "okay";

zephyr_uhc0: uhc {
status = "okay";
};
};

&usbfs {
status = "okay";

zephyr_udc0: udc {
status = "okay";
};
};
23 changes: 23 additions & 0 deletions samples/subsys/usb/shell/boards/ek_ra8d1.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/*
* Copyright (c) 2024 Renesas Electronics Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/

/delete-node/ &zephyr_udc0;

&usbhs {
status = "okay";

zephyr_uhc0: uhc {
status = "okay";
};
};

&usbfs {
status = "okay";

zephyr_udc0: udc {
status = "okay";
};
};
23 changes: 23 additions & 0 deletions samples/subsys/usb/shell/boards/ek_ra8m1.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/*
* Copyright (c) 2024 Renesas Electronics Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/

/delete-node/ &zephyr_udc0;

&usbhs {
status = "okay";

zephyr_uhc0: uhc {
status = "okay";
};
};

&usbfs {
status = "okay";

zephyr_udc0: udc {
status = "okay";
};
};
11 changes: 11 additions & 0 deletions samples/subsys/usb/shell/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,17 @@ tests:
harness: keyboard
tags: usb
sample.usbh.shell:
tags:
- usb
platform_allow:
- ek_ra8m1
- ek_ra8d1
- ek_ra6m5
- ek_ra6m3
extra_args:
- CONF_FILE="device_and_host_prj.conf"
build_only: true
sample.usbh.shell.shield:
tags:
- usb
- shield
Expand Down

0 comments on commit 42ba590

Please sign in to comment.