Skip to content

Commit c9a3664

Browse files
committed
supervisor: support debugging tinyusb
Allow for passing `-DCFG_TUSB_DEBUG=1` or `-DCFG_TUSB_DEBUG=2` on the command line to enable debugging tinyusb within circuitpython. Signed-off-by: Sean Cross <[email protected]>
1 parent 241ef52 commit c9a3664

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

supervisor/shared/usb/tusb_config.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@
4949
//--------------------------------------------------------------------+
5050
#define CFG_TUSB_RHPORT0_MODE OPT_MODE_DEVICE
5151

52+
#ifndef CFG_TUSB_DEBUG
5253
#define CFG_TUSB_DEBUG 0
54+
#endif
5355

5456
/*------------- RTOS -------------*/
5557
#define CFG_TUSB_OS OPT_OS_NONE

0 commit comments

Comments
 (0)