rename file link to rusb2

This commit is contained in:
hathach 2023-03-16 11:03:08 +07:00
parent 1117cf5729
commit bc2127b330
No known key found for this signature in database
GPG Key ID: F5D50C6D51D17CBA
9 changed files with 13 additions and 20 deletions

View File

@ -1,4 +0,0 @@
return LINK_REG->INTSTS1_b.ATTCH ? true : false;
volatile uint16_t ATTCH : 1; /* [11..11] ATTCH Interrupt Status */
#define LINK_REG_INTSTS1_ATTCH_Pos (11UL) /* ATTCH (Bit 11) */
#define LINK_REG_INTSTS1_ATTCH_Msk (0x800UL) /* ATTCH (Bitfield-Mask: 0x01) */

View File

@ -6,3 +6,4 @@ fro
dout
mot
te
attch

View File

@ -20,8 +20,8 @@ CFLAGS += \
-ffreestanding
SRC_C += \
src/portable/renesas/link/dcd_link.c \
src/portable/renesas/link/hcd_link.c \
src/portable/renesas/rusb2/dcd_rusb2.c \
src/portable/renesas/rusb2/hcd_rusb2.c \
hw/mcu/renesas/fsp/ra/fsp/src/bsp/cmsis/Device/RENESAS/Source/startup.c \
hw/mcu/renesas/fsp/ra/fsp/src/bsp/cmsis/Device/RENESAS/Source/system.c \
hw/mcu/renesas/fsp/ra/fsp/src/bsp/mcu/all/bsp_clocks.c \

View File

@ -17,8 +17,8 @@ CFLAGS += \
CFLAGS += -Wno-error=redundant-decls
SRC_C += \
src/portable/renesas/link/dcd_link.c \
src/portable/renesas/link/hcd_link.c \
src/portable/renesas/rusb2/dcd_rusb2.c \
src/portable/renesas/rusb2/hcd_rusb2.c \
$(MCU_DIR)/vects.c
INC += \

View File

@ -35,14 +35,14 @@
TU_CHECK_MCU(OPT_MCU_RAXXX))
#include "device/dcd.h"
#include "link_type.h"
#include "rusb2_type.h"
#if TU_CHECK_MCU(OPT_MCU_RX63X, OPT_MCU_RX65X, OPT_MCU_RX72N)
#include "link_rx.h"
#include "rusb2_rx.h"
#elif TU_CHECK_MCU(OPT_MCU_RAXXX)
#include "link_ra.h"
#include "rusb2_ra.h"
#else
#error "Unsupported MCU"
#error "Unsupported MCU"
#endif
//--------------------------------------------------------------------+

View File

@ -31,14 +31,14 @@
TU_CHECK_MCU(OPT_MCU_RAXXX))
#include "host/hcd.h"
#include "link_type.h"
#include "rusb2_type.h"
#if TU_CHECK_MCU(OPT_MCU_RX63X, OPT_MCU_RX65X, OPT_MCU_RX72N)
#include "link_rx.h"
#include "rusb2_rx.h"
#elif TU_CHECK_MCU(OPT_MCU_RAXXX)
#include "link_ra.h"
#include "rusb2_ra.h"
#else
#error "Unsupported MCU"
#error "Unsupported MCU"
#endif
//--------------------------------------------------------------------+

View File

@ -31,8 +31,6 @@
extern "C" {
#endif
#include "link_type.h"
/* renesas fsp api */
#include "bsp_api.h"

View File

@ -33,8 +33,6 @@
extern "C" {
#endif
#include "link_type.h"
#include "iodefine.h"
#define LINK_REG_BASE (0x000A0000)