Skip to content

Commit 85d9d9a

Browse files
thenguyenyfKhiemNguyenT
authored andcommitted
hal: renesas : ra: add r_usb_device support on USBFS
Add support for USBFS on r_usb_device Signed-off-by: The Nguyen <[email protected]>
1 parent a271e45 commit 85d9d9a

File tree

19 files changed

+38
-0
lines changed

19 files changed

+38
-0
lines changed

drivers/ra/fsp/src/bsp/mcu/ra2a1/bsp_feature.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -579,6 +579,8 @@
579579
#define BSP_FEATURE_USB_REG_USBMC_VDCEN (1UL) // Indicates the USBMC.VDCEN bit field is available.
580580
#define BSP_FEATURE_USB_REG_USBMC_VDDUSBE (1UL) // Indicates the USBMC.VDDUSBE bit field is available.
581581

582+
#define BSP_FEATURE_USB_NUM_IP (1UL)
583+
582584
// *UNCRUSTIFY-ON*
583585

584586
#endif

drivers/ra/fsp/src/bsp/mcu/ra2l1/bsp_feature.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -579,6 +579,8 @@
579579
#define BSP_FEATURE_USB_REG_USBMC_VDCEN (0UL) // Feature not available on this device.
580580
#define BSP_FEATURE_USB_REG_USBMC_VDDUSBE (0UL) // Feature not available on this device.
581581

582+
#define BSP_FEATURE_USB_NUM_IP (0UL)
583+
582584
// *UNCRUSTIFY-ON*
583585

584586
#endif

drivers/ra/fsp/src/bsp/mcu/ra4e1/bsp_feature.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -583,6 +583,8 @@
583583
#define BSP_FEATURE_USB_REG_USBMC_VDCEN (0UL) // Indicates the USBMC.VDCEN bit field is available.
584584
#define BSP_FEATURE_USB_REG_USBMC_VDDUSBE (0UL) // Indicates the USBMC.VDDUSBE bit field is available.
585585

586+
#define BSP_FEATURE_USB_NUM_IP (1UL)
587+
586588
// *UNCRUSTIFY-ON*
587589

588590
#endif

drivers/ra/fsp/src/bsp/mcu/ra4e2/bsp_feature.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -583,6 +583,8 @@
583583
#define BSP_FEATURE_USB_REG_USBMC_VDCEN (0UL) // Indicates the USBMC.VDCEN bit field is available.
584584
#define BSP_FEATURE_USB_REG_USBMC_VDDUSBE (0UL) // Indicates the USBMC.VDDUSBE bit field is available.
585585

586+
#define BSP_FEATURE_USB_NUM_IP (1UL)
587+
586588
// *UNCRUSTIFY-ON*
587589

588590
#endif

drivers/ra/fsp/src/bsp/mcu/ra4l1/bsp_feature.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -579,6 +579,8 @@
579579
#define BSP_FEATURE_USB_REG_USBMC_VDCEN (0UL) // Indicates the USBMC.VDCEN bit field is available.
580580
#define BSP_FEATURE_USB_REG_USBMC_VDDUSBE (0UL) // Indicates the USBMC.VDDUSBE bit field is available.
581581

582+
#define BSP_FEATURE_USB_NUM_IP (1UL)
583+
582584
// *UNCRUSTIFY-ON*
583585

584586
#endif

drivers/ra/fsp/src/bsp/mcu/ra4m1/bsp_feature.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -579,6 +579,8 @@
579579
#define BSP_FEATURE_USB_REG_USBMC_VDCEN (1UL) // Indicates the USBMC.VDCEN bit field is available.
580580
#define BSP_FEATURE_USB_REG_USBMC_VDDUSBE (1UL) // Indicates the USBMC.VDDUSBE bit field is available.
581581

582+
#define BSP_FEATURE_USB_NUM_IP (1UL)
583+
582584
// *UNCRUSTIFY-ON*
583585

584586
#endif

drivers/ra/fsp/src/bsp/mcu/ra4m2/bsp_feature.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -583,6 +583,8 @@
583583
#define BSP_FEATURE_USB_REG_USBMC_VDCEN (0UL) // Indicates the USBMC.VDCEN bit field is available.
584584
#define BSP_FEATURE_USB_REG_USBMC_VDDUSBE (0UL) // Indicates the USBMC.VDDUSBE bit field is available.
585585

586+
#define BSP_FEATURE_USB_NUM_IP (1UL)
587+
586588
// *UNCRUSTIFY-ON*
587589

588590
#endif

drivers/ra/fsp/src/bsp/mcu/ra4m3/bsp_feature.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -583,6 +583,8 @@
583583
#define BSP_FEATURE_USB_REG_USBMC_VDCEN (0UL) // Indicates the USBMC.VDCEN bit field is available.
584584
#define BSP_FEATURE_USB_REG_USBMC_VDDUSBE (0UL) // Indicates the USBMC.VDDUSBE bit field is available.
585585

586+
#define BSP_FEATURE_USB_NUM_IP (1UL)
587+
586588
// *UNCRUSTIFY-ON*
587589

588590
#endif

drivers/ra/fsp/src/bsp/mcu/ra4w1/bsp_feature.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -579,6 +579,8 @@
579579
#define BSP_FEATURE_USB_REG_USBMC_VDCEN (0UL) // Indicates the USBMC.VDCEN bit field is available.
580580
#define BSP_FEATURE_USB_REG_USBMC_VDDUSBE (1UL) // Indicates the USBMC.VDDUSBE bit field is available.
581581

582+
#define BSP_FEATURE_USB_NUM_IP (1UL)
583+
582584
// *UNCRUSTIFY-ON*
583585

584586
#endif

drivers/ra/fsp/src/bsp/mcu/ra6e1/bsp_feature.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -583,6 +583,8 @@
583583
#define BSP_FEATURE_USB_REG_USBMC_VDCEN (0UL) // Indicates the USBMC.VDCEN bit field is available.
584584
#define BSP_FEATURE_USB_REG_USBMC_VDDUSBE (0UL) // Indicates the USBMC.VDDUSBE bit field is available.
585585

586+
#define BSP_FEATURE_USB_NUM_IP (1UL)
587+
586588
// *UNCRUSTIFY-ON*
587589

588590
#endif

0 commit comments

Comments
 (0)