Skip to content

Commit bc2127b

Browse files
committed
rename file link to rusb2
1 parent 1117cf5 commit bc2127b

File tree

9 files changed

+13
-20
lines changed

9 files changed

+13
-20
lines changed

.codespell/exclude-file.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +0,0 @@
1-
return LINK_REG->INTSTS1_b.ATTCH ? true : false;
2-
volatile uint16_t ATTCH : 1; /* [11..11] ATTCH Interrupt Status */
3-
#define LINK_REG_INTSTS1_ATTCH_Pos (11UL) /* ATTCH (Bit 11) */
4-
#define LINK_REG_INTSTS1_ATTCH_Msk (0x800UL) /* ATTCH (Bitfield-Mask: 0x01) */

.codespell/ignore-words.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ fro
66
dout
77
mot
88
te
9+
attch

hw/bsp/ra/family.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ CFLAGS += \
2020
-ffreestanding
2121

2222
SRC_C += \
23-
src/portable/renesas/link/dcd_link.c \
24-
src/portable/renesas/link/hcd_link.c \
23+
src/portable/renesas/rusb2/dcd_rusb2.c \
24+
src/portable/renesas/rusb2/hcd_rusb2.c \
2525
hw/mcu/renesas/fsp/ra/fsp/src/bsp/cmsis/Device/RENESAS/Source/startup.c \
2626
hw/mcu/renesas/fsp/ra/fsp/src/bsp/cmsis/Device/RENESAS/Source/system.c \
2727
hw/mcu/renesas/fsp/ra/fsp/src/bsp/mcu/all/bsp_clocks.c \

hw/bsp/rx/family.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ CFLAGS += \
1717
CFLAGS += -Wno-error=redundant-decls
1818

1919
SRC_C += \
20-
src/portable/renesas/link/dcd_link.c \
21-
src/portable/renesas/link/hcd_link.c \
20+
src/portable/renesas/rusb2/dcd_rusb2.c \
21+
src/portable/renesas/rusb2/hcd_rusb2.c \
2222
$(MCU_DIR)/vects.c
2323

2424
INC += \

src/portable/renesas/link/dcd_link.c renamed to src/portable/renesas/rusb2/dcd_rusb2.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@
3535
TU_CHECK_MCU(OPT_MCU_RAXXX))
3636

3737
#include "device/dcd.h"
38-
#include "link_type.h"
38+
#include "rusb2_type.h"
3939

4040
#if TU_CHECK_MCU(OPT_MCU_RX63X, OPT_MCU_RX65X, OPT_MCU_RX72N)
41-
#include "link_rx.h"
41+
#include "rusb2_rx.h"
4242
#elif TU_CHECK_MCU(OPT_MCU_RAXXX)
43-
#include "link_ra.h"
43+
#include "rusb2_ra.h"
4444
#else
45-
#error "Unsupported MCU"
45+
#error "Unsupported MCU"
4646
#endif
4747

4848
//--------------------------------------------------------------------+

src/portable/renesas/link/hcd_link.c renamed to src/portable/renesas/rusb2/hcd_rusb2.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@
3131
TU_CHECK_MCU(OPT_MCU_RAXXX))
3232

3333
#include "host/hcd.h"
34-
#include "link_type.h"
34+
#include "rusb2_type.h"
3535

3636
#if TU_CHECK_MCU(OPT_MCU_RX63X, OPT_MCU_RX65X, OPT_MCU_RX72N)
37-
#include "link_rx.h"
37+
#include "rusb2_rx.h"
3838
#elif TU_CHECK_MCU(OPT_MCU_RAXXX)
39-
#include "link_ra.h"
39+
#include "rusb2_ra.h"
4040
#else
41-
#error "Unsupported MCU"
41+
#error "Unsupported MCU"
4242
#endif
4343

4444
//--------------------------------------------------------------------+

src/portable/renesas/link/link_ra.h renamed to src/portable/renesas/rusb2/rusb2_ra.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@
3131
extern "C" {
3232
#endif
3333

34-
#include "link_type.h"
35-
3634
/* renesas fsp api */
3735
#include "bsp_api.h"
3836

src/portable/renesas/link/link_rx.h renamed to src/portable/renesas/rusb2/rusb2_rx.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@
3333
extern "C" {
3434
#endif
3535

36-
#include "link_type.h"
37-
3836
#include "iodefine.h"
3937

4038
#define LINK_REG_BASE (0x000A0000)

0 commit comments

Comments
 (0)