Skip to content

Commit a76799b

Browse files
committed
Add hcd for Renesas RX
1 parent a6789b5 commit a76799b

File tree

3 files changed

+875
-0
lines changed

3 files changed

+875
-0
lines changed

hw/bsp/rx/boards/rx65n_target/rx65n_target.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,12 @@ void INT_Excep_SCI5_RXI5(void)
176176
//--------------------------------------------------------------------+
177177
void INT_Excep_USB0_USBI0(void)
178178
{
179+
#if TUSB_OPT_HOST_ENABLED
180+
tuh_int_handler(0);
181+
#endif
182+
#if TUSB_OPT_DEVICE_ENABLED
179183
tud_int_handler(0);
184+
#endif
180185
}
181186

182187
void board_init(void)

hw/bsp/rx/family.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ CFLAGS += \
1515

1616
SRC_C += \
1717
src/portable/renesas/usba/dcd_usba.c \
18+
src/portable/renesas/usba/hcd_usba.c \
1819
$(MCU_DIR)/vects.c
1920

2021
INC += \

0 commit comments

Comments
 (0)