diff options
| author | Ha Thach <[email protected]> | 2023-08-03 20:41:13 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-08-03 20:41:13 +0700 |
| commit | 6d03bb9ffc4c80a0c2663f0b791856af89e20adc (patch) | |
| tree | 63d5df546016ff54baeddb7aca24acc165872abe /examples/dual | |
| parent | d91869a1fab0ebc7695eb981ae91ec8a35b2511f (diff) | |
| parent | edee46e7941f56f5024bf60d56921cfe10d1f7a5 (diff) | |
Merge pull request #2052 from arduino/renesas_ra_hs_rebased
Renesas_RA: add support for board with HS USB port
Diffstat (limited to 'examples/dual')
| -rw-r--r-- | examples/dual/host_hid_to_device_cdc/only.txt | 1 | ||||
| -rw-r--r-- | examples/dual/host_hid_to_device_cdc/src/main.c | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/examples/dual/host_hid_to_device_cdc/only.txt b/examples/dual/host_hid_to_device_cdc/only.txt index de5d8bed9..a3b567f9a 100644 --- a/examples/dual/host_hid_to_device_cdc/only.txt +++ b/examples/dual/host_hid_to_device_cdc/only.txt @@ -2,3 +2,4 @@ board:mimxrt1060_evk board:mimxrt1064_evk board:mcb1800 mcu:RP2040 +mcu:ra6m5 diff --git a/examples/dual/host_hid_to_device_cdc/src/main.c b/examples/dual/host_hid_to_device_cdc/src/main.c index 817c63c70..5a31b9dda 100644 --- a/examples/dual/host_hid_to_device_cdc/src/main.c +++ b/examples/dual/host_hid_to_device_cdc/src/main.c @@ -83,6 +83,10 @@ int main(void) tud_init(BOARD_TUD_RHPORT); tuh_init(BOARD_TUH_RHPORT); + if (board_init_after_tusb) { + board_init_after_tusb(); + } + while (1) { tud_task(); // tinyusb device task |
