diff options
Diffstat (limited to 'hid/pico/src/tusb_config.h')
-rw-r--r-- | hid/pico/src/tusb_config.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/hid/pico/src/tusb_config.h b/hid/pico/src/tusb_config.h index c29b23ad..dae732a8 100644 --- a/hid/pico/src/tusb_config.h +++ b/hid/pico/src/tusb_config.h @@ -59,9 +59,21 @@ # define CFG_TUD_ENDPOINT0_SIZE 64 #endif +// HID: Keyboard + Mouse #define CFG_TUD_HID 2 // HID buffer size Should be sufficient to hold ID (if any) + Data #ifndef CFG_TUD_HID_EP_BUFSIZE # define CFG_TUD_HID_EP_BUFSIZE 16 #endif + + +// CDC for the bridge mode +#define CFG_TUD_CDC 1 + +// CDC FIFO size of TX and RX +#define CFG_TUD_CDC_RX_BUFSIZE 4096 +#define CFG_TUD_CDC_TX_BUFSIZE 4096 + +// CDC Endpoint transfer buffer size, more is faster +#define CFG_TUD_CDC_EP_BUFSIZE 64 |