WIP: Functional pico REPL (broke native)

This commit is contained in:
2022-11-26 23:27:14 -05:00
parent fe4e42411c
commit bb2b137e2c
9 changed files with 150 additions and 22 deletions

18
include/tusb_config.h Normal file
View File

@@ -0,0 +1,18 @@
/*
default config for printf
*/
#ifndef _PICO_STDIO_USB_TUSB_CONFIG_H
#define _PICO_STDIO_USB_TUSB_CONFIG_H
#include "pico/stdio_usb.h"
#define CFG_TUSB_RHPORT0_MODE (OPT_MODE_DEVICE)
#define CFG_TUD_CDC (1)
#define CFG_TUD_CDC_RX_BUFSIZE (256)
#define CFG_TUD_CDC_TX_BUFSIZE (256)
// We use a vendor specific interface but with our own driver
#define CFG_TUD_VENDOR (0)
#endif