summaryrefslogtreecommitdiff
path: root/src/tusb_option.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-12-13 18:54:00 +0700
committerhathach <[email protected]>2023-12-13 18:54:00 +0700
commit19d7d62e804dbf26f9d193d72710574abcd6fa95 (patch)
treea4922ca57196e788b487f734f4d9345922858964 /src/tusb_option.h
parent59ecdb78fed4221c3e623d7ea9a9e69c3cd87aae (diff)
try to add samd51 to hil pool using doublereset (rpi gpio) and bossac
Diffstat (limited to 'src/tusb_option.h')
-rw-r--r--src/tusb_option.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/tusb_option.h b/src/tusb_option.h
index 7597392d6..4d2aa137c 100644
--- a/src/tusb_option.h
+++ b/src/tusb_option.h
@@ -299,6 +299,16 @@
#define CFG_TUSB_DEBUG 0
#endif
+// Level where CFG_TUSB_DEBUG must be at least for USBH is logged
+#ifndef CFG_TUH_LOG_LEVEL
+ #define CFG_TUH_LOG_LEVEL 2
+#endif
+
+// Level where CFG_TUSB_DEBUG must be at least for USBD is logged
+#ifndef CFG_TUD_LOG_LEVEL
+ #define CFG_TUD_LOG_LEVEL 2
+#endif
+
// Memory section for placing buffer used for usb transferring. If MEM_SECTION is different for
// host and device use: CFG_TUD_MEM_SECTION, CFG_TUH_MEM_SECTION instead
#ifndef CFG_TUSB_MEM_SECTION