summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorkkitayam <[email protected]>2021-12-27 01:22:57 +0900
committerkkitayam <[email protected]>2021-12-27 21:19:02 +0900
commita76799b085ae157243ed002f8cf11a2d3eb0c6b9 (patch)
tree54d9bef39c3a3c5d94b36a1842cef444f3b8d770 /hw
parenta6789b5d5a3c9e41771e5eb8fdb08182c95fbe08 (diff)
Add hcd for Renesas RX
Diffstat (limited to 'hw')
-rw-r--r--hw/bsp/rx/boards/rx65n_target/rx65n_target.c5
-rw-r--r--hw/bsp/rx/family.mk1
2 files changed, 6 insertions, 0 deletions
diff --git a/hw/bsp/rx/boards/rx65n_target/rx65n_target.c b/hw/bsp/rx/boards/rx65n_target/rx65n_target.c
index ab86bc419..d658ee5dd 100644
--- a/hw/bsp/rx/boards/rx65n_target/rx65n_target.c
+++ b/hw/bsp/rx/boards/rx65n_target/rx65n_target.c
@@ -176,7 +176,12 @@ void INT_Excep_SCI5_RXI5(void)
//--------------------------------------------------------------------+
void INT_Excep_USB0_USBI0(void)
{
+#if TUSB_OPT_HOST_ENABLED
+ tuh_int_handler(0);
+#endif
+#if TUSB_OPT_DEVICE_ENABLED
tud_int_handler(0);
+#endif
}
void board_init(void)
diff --git a/hw/bsp/rx/family.mk b/hw/bsp/rx/family.mk
index 5a8281718..aba05812d 100644
--- a/hw/bsp/rx/family.mk
+++ b/hw/bsp/rx/family.mk
@@ -15,6 +15,7 @@ CFLAGS += \
SRC_C += \
src/portable/renesas/usba/dcd_usba.c \
+ src/portable/renesas/usba/hcd_usba.c \
$(MCU_DIR)/vects.c
INC += \