Skip to content

Commit e40547a

Browse files
authored
Merge pull request #1265 from kkitayam/add_hcd_for_renesas_rx
Add HCD driver for Renesas RX
2 parents 9e99269 + 2b8b8a3 commit e40547a

File tree

5 files changed

+879
-3
lines changed

5 files changed

+879
-3
lines changed

docs/reference/supported.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Supported MCUs
6060
+--------------+---------+-------------+--------+------+-----------+-------------------+--------------+
6161
| Raspberry Pi | RP2040 |||| rp2040 | |
6262
+--------------+-----------------------+--------+------+-----------+-------------------+--------------+
63-
| Renesas | RX 63N, 65N, 72N || || usba | |
63+
| Renesas | RX 63N, 65N, 72N || || usba | |
6464
+--------------+-----------------------+--------+------+-----------+-------------------+--------------+
6565
| Silabs | EFM32GG12 || || dwc2 | |
6666
+--------------+-----------------------+--------+------+-----------+-------------------+--------------+

hw/bsp/rx/boards/rx65n_target/r5f565ne.ld

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
__USTACK_SIZE = 0x00000400;
2-
__ISTACK_SIZE = 0x00000400;
1+
__USTACK_SIZE = 0x00000800;
2+
__ISTACK_SIZE = 0x00000800;
33

44
MEMORY
55
{

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)