proof of concpet that device pio-usb work with host pio-usb

This commit is contained in:
hathach
2022-04-08 13:36:05 +07:00
parent d97c154695
commit d5d4909c20
6 changed files with 27 additions and 21 deletions

View File

@@ -39,6 +39,9 @@
#error CFG_TUSB_MCU must be defined
#endif
// Use raspberry pio-usb for device
#define CFG_TUD_RPI_PIO_USB 1
// RHPort number used for device can be defined by board.mk, default to port 0
#ifndef BOARD_DEVICE_RHPORT_NUM
#define BOARD_DEVICE_RHPORT_NUM 0