Skip to content

renesas/rusb2: add support for RA MCUs with USBFS device-only support#3771

Open
gernotwalserxh wants to merge 2 commits into
hathach:masterfrom
gernotwalserxh:renesas-ra-usbfs-device-only
Open

renesas/rusb2: add support for RA MCUs with USBFS device-only support#3771
gernotwalserxh wants to merge 2 commits into
hathach:masterfrom
gernotwalserxh:renesas-ra-usbfs-device-only

Conversation

@gernotwalserxh

Copy link
Copy Markdown

Renesas RA MCUs with with usb device-only support have a different hardware stack as MCUs with host support, which has already been implemented for RA2A1 but also works for others like RA4E2 with the same hardware stack.

This introduces define RUSB2_RA_USBFS_DEVICE_ONLY for MCUs with this implementation and sets correct pipe allocation and FIFO register aliases for all supported MCUs instead of RA2A1 only.
RA2A1 specific checks have been replaced with a common check for RUSB2_RA_USBFS_DEVICE_ONLY.

Tested on RA4E2 with FreeRTOS and TinyUSB HID Gamepad Device.
Not tested for other usb device-only RA MCUs (RA2L2, RA6E2 and RA6T3), only verified by datasheet.

Renesas RA MCUs with with usb device-only support have a different
hardware implementation, which has already been implemented for RA2A1
and also works for others like RA4E2.

This introduces define RUSB2_RA_USBFS_DEVICE_ONLY for MCUs with this
implementation and sets correct pipe allocation and FIFO register
aliases for all supported MCUs instead of RA2A1 only.

Tested on RA4E2 with HID Gamepad Device.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant