catch up with pio lib

This commit is contained in:
hathach
2022-04-14 21:51:49 +07:00
parent d5d4909c20
commit cc5a4720e5
5 changed files with 254 additions and 18 deletions

View File

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