summaryrefslogtreecommitdiff
path: root/examples/dual
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-08-04 00:31:12 +0700
committerhathach <[email protected]>2023-08-04 00:31:12 +0700
commitef5bd9ee6cc2506745c0c5d602d4c540da681b69 (patch)
treecf25b4da1827914720fed5b3abb78029da280e7c /examples/dual
parent9360a3bd5197792584ede8a33c50a4d3054d84e6 (diff)
parent6d03bb9ffc4c80a0c2663f0b791856af89e20adc (diff)
Merge branch 'master' into enhance-bsp
Diffstat (limited to 'examples/dual')
-rw-r--r--examples/dual/host_hid_to_device_cdc/only.txt1
-rw-r--r--examples/dual/host_hid_to_device_cdc/src/main.c4
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 74f0a2a41..f96f63a0d 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