Skip to content

Commit 64256d7

Browse files
committed
enable CFG_TUH_CDC_FTDI and CFG_TUH_CDC_CP210X for rp2040 host
1 parent 47fd7f1 commit 64256d7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/arduino/ports/rp2040/tusb_config_rp2040.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,10 @@ extern "C" {
109109
#define CFG_TUH_HID (3 * CFG_TUH_DEVICE_MAX)
110110

111111
// Number of CDC interfaces
112+
// FTDI and CP210x are not part of CDC class, only to re-use CDC driver API
112113
#define CFG_TUH_CDC 1
114+
#define CFG_TUH_CDC_FTDI 1
115+
#define CFG_TUH_CDC_CP210X 1
113116

114117
// RX & TX fifo size
115118
#define CFG_TUH_CDC_RX_BUFSIZE 128

0 commit comments

Comments
 (0)