summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorhathach <[email protected]>2020-04-26 14:51:44 +0700
committerhathach <[email protected]>2020-04-26 14:51:44 +0700
commit017c95037f3173455fa09efae6093d56fd3f3d1a (patch)
tree37e5eb03f99c95ca9ebdb69c0bf6c8b263342492 /test
parentf1ecda392ffcc0c114269c3b6c318a2d0a50e2f5 (diff)
add usbd edpt open
- RTT mode is blocking to prevent log lost - Improve logging message
Diffstat (limited to 'test')
-rw-r--r--test/test/support/tusb_config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test/support/tusb_config.h b/test/test/support/tusb_config.h
index 5e7b70e0d..5258513ec 100644
--- a/test/test/support/tusb_config.h
+++ b/test/test/support/tusb_config.h
@@ -52,7 +52,9 @@
#define CFG_TUSB_OS OPT_OS_NONE
// CFG_TUSB_DEBUG is defined by compiler in DEBUG build
+#ifndef CFG_TUSB_DEBUG
#define CFG_TUSB_DEBUG 0
+#endif
/* USB DMA on some MCUs can only access a specific SRAM region with restriction on alignment.
* Tinyusb use follows macros to declare transferring memory so that they can be put