rename file link to rusb2
This commit is contained in:
@@ -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) */
|
|
||||||
|
@@ -6,3 +6,4 @@ fro
|
|||||||
dout
|
dout
|
||||||
mot
|
mot
|
||||||
te
|
te
|
||||||
|
attch
|
||||||
|
@@ -20,8 +20,8 @@ CFLAGS += \
|
|||||||
-ffreestanding
|
-ffreestanding
|
||||||
|
|
||||||
SRC_C += \
|
SRC_C += \
|
||||||
src/portable/renesas/link/dcd_link.c \
|
src/portable/renesas/rusb2/dcd_rusb2.c \
|
||||||
src/portable/renesas/link/hcd_link.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/startup.c \
|
||||||
hw/mcu/renesas/fsp/ra/fsp/src/bsp/cmsis/Device/RENESAS/Source/system.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 \
|
hw/mcu/renesas/fsp/ra/fsp/src/bsp/mcu/all/bsp_clocks.c \
|
||||||
|
@@ -17,8 +17,8 @@ CFLAGS += \
|
|||||||
CFLAGS += -Wno-error=redundant-decls
|
CFLAGS += -Wno-error=redundant-decls
|
||||||
|
|
||||||
SRC_C += \
|
SRC_C += \
|
||||||
src/portable/renesas/link/dcd_link.c \
|
src/portable/renesas/rusb2/dcd_rusb2.c \
|
||||||
src/portable/renesas/link/hcd_link.c \
|
src/portable/renesas/rusb2/hcd_rusb2.c \
|
||||||
$(MCU_DIR)/vects.c
|
$(MCU_DIR)/vects.c
|
||||||
|
|
||||||
INC += \
|
INC += \
|
||||||
|
@@ -35,14 +35,14 @@
|
|||||||
TU_CHECK_MCU(OPT_MCU_RAXXX))
|
TU_CHECK_MCU(OPT_MCU_RAXXX))
|
||||||
|
|
||||||
#include "device/dcd.h"
|
#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)
|
#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)
|
#elif TU_CHECK_MCU(OPT_MCU_RAXXX)
|
||||||
#include "link_ra.h"
|
#include "rusb2_ra.h"
|
||||||
#else
|
#else
|
||||||
#error "Unsupported MCU"
|
#error "Unsupported MCU"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//--------------------------------------------------------------------+
|
//--------------------------------------------------------------------+
|
@@ -31,14 +31,14 @@
|
|||||||
TU_CHECK_MCU(OPT_MCU_RAXXX))
|
TU_CHECK_MCU(OPT_MCU_RAXXX))
|
||||||
|
|
||||||
#include "host/hcd.h"
|
#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)
|
#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)
|
#elif TU_CHECK_MCU(OPT_MCU_RAXXX)
|
||||||
#include "link_ra.h"
|
#include "rusb2_ra.h"
|
||||||
#else
|
#else
|
||||||
#error "Unsupported MCU"
|
#error "Unsupported MCU"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//--------------------------------------------------------------------+
|
//--------------------------------------------------------------------+
|
@@ -31,8 +31,6 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "link_type.h"
|
|
||||||
|
|
||||||
/* renesas fsp api */
|
/* renesas fsp api */
|
||||||
#include "bsp_api.h"
|
#include "bsp_api.h"
|
||||||
|
|
@@ -33,8 +33,6 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "link_type.h"
|
|
||||||
|
|
||||||
#include "iodefine.h"
|
#include "iodefine.h"
|
||||||
|
|
||||||
#define LINK_REG_BASE (0x000A0000)
|
#define LINK_REG_BASE (0x000A0000)
|
Reference in New Issue
Block a user