mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
rename file link to rusb2
This commit is contained in:
parent
1117cf5729
commit
bc2127b330
@ -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
|
||||
mot
|
||||
te
|
||||
attch
|
||||
|
@ -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 \
|
||||
|
@ -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 += \
|
||||
|
@ -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
|
||||
|
||||
//--------------------------------------------------------------------+
|
@ -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
|
||||
|
||||
//--------------------------------------------------------------------+
|
@ -31,8 +31,6 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "link_type.h"
|
||||
|
||||
/* renesas fsp api */
|
||||
#include "bsp_api.h"
|
||||
|
@ -33,8 +33,6 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "link_type.h"
|
||||
|
||||
#include "iodefine.h"
|
||||
|
||||
#define LINK_REG_BASE (0x000A0000)
|
Loading…
x
Reference in New Issue
Block a user