WIP: Functional pico REPL (broke native)
This commit is contained in:
2
include/pico/config_autogen.h
Normal file
2
include/pico/config_autogen.h
Normal file
@@ -0,0 +1,2 @@
|
||||
/* SELECT OTHER BOARD */
|
||||
#include "boards/pico.h"
|
||||
18
include/tusb_config.h
Normal file
18
include/tusb_config.h
Normal 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
|
||||
Reference in New Issue
Block a user