Add dual role (concurrent) example

This reads HID devices over host and then translates that to ASCII
and sends it over CDC device.
This commit is contained in:
Scott Shawcroft
2022-02-22 18:10:09 -08:00
parent 8a6fe8a8f3
commit d749597591
9 changed files with 799 additions and 3 deletions
+7
View File
@@ -15,6 +15,13 @@ CFLAGS += \
-DXIP_BOOT_HEADER_ENABLE=1 \
-DCFG_TUSB_MCU=OPT_MCU_MIMXRT10XX
ifdef BOARD_DEVICE_RHPORT_NUM
CFLAGS += -DBOARD_DEVICE_RHPORT_NUM=$(BOARD_DEVICE_RHPORT_NUM)
endif
ifdef BOARD_HOST_RHPORT_NUM
CFLAGS += -DBOARD_HOST_RHPORT_NUM=$(BOARD_HOST_RHPORT_NUM)
endif
# mcu driver cause following warnings
CFLAGS += -Wno-error=unused-parameter -Wno-error=implicit-fallthrough=