tusb_config.h 433 B

123456789101112131415161718
  1. /*
  2. default config for printf
  3. */
  4. #ifndef _PICO_STDIO_USB_TUSB_CONFIG_H
  5. #define _PICO_STDIO_USB_TUSB_CONFIG_H
  6. #include "pico/stdio_usb.h"
  7. #define CFG_TUSB_RHPORT0_MODE (OPT_MODE_DEVICE)
  8. #define CFG_TUD_CDC (1)
  9. #define CFG_TUD_CDC_RX_BUFSIZE (256)
  10. #define CFG_TUD_CDC_TX_BUFSIZE (256)
  11. // We use a vendor specific interface but with our own driver
  12. #define CFG_TUD_VENDOR (0)
  13. #endif