summaryrefslogtreecommitdiff
path: root/examples/device
diff options
context:
space:
mode:
authorhathach <[email protected]>2019-05-14 17:36:03 +0700
committerhathach <[email protected]>2019-05-14 17:36:03 +0700
commit6e443d191817617d030507d696a8b21e446f5aa8 (patch)
tree9ee1c7fab7f29265aff82193ad6163918b08117b /examples/device
parent851cf5426a7fffaebff146cb6fae0a698e4c3a55 (diff)
enable CFG_TUSB_DEBUG on DEBUG build
Diffstat (limited to 'examples/device')
-rw-r--r--examples/device/cdc_msc_hid/src/tusb_config.h4
-rw-r--r--examples/device/cdc_msc_hid_freertos/src/tusb_config.h4
-rw-r--r--examples/device/hid_generic_inout/src/tusb_config.h4
-rw-r--r--examples/device/msc_dual_lun/src/tusb_config.h4
4 files changed, 12 insertions, 4 deletions
diff --git a/examples/device/cdc_msc_hid/src/tusb_config.h b/examples/device/cdc_msc_hid/src/tusb_config.h
index 197b75cfe..8981077d3 100644
--- a/examples/device/cdc_msc_hid/src/tusb_config.h
+++ b/examples/device/cdc_msc_hid/src/tusb_config.h
@@ -46,7 +46,9 @@
#endif
#define CFG_TUSB_OS OPT_OS_NONE
-#define CFG_TUSB_DEBUG 1
+
+// CFG_TUSB_DEBUG is defined by compiler in DEBUG build
+// #define CFG_TUSB_DEBUG 0
/* 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
diff --git a/examples/device/cdc_msc_hid_freertos/src/tusb_config.h b/examples/device/cdc_msc_hid_freertos/src/tusb_config.h
index 79269581d..dfa8be629 100644
--- a/examples/device/cdc_msc_hid_freertos/src/tusb_config.h
+++ b/examples/device/cdc_msc_hid_freertos/src/tusb_config.h
@@ -46,7 +46,9 @@
#endif
#define CFG_TUSB_OS OPT_OS_FREERTOS
-#define CFG_TUSB_DEBUG 1
+
+// CFG_TUSB_DEBUG is defined by compiler in DEBUG build
+// #define CFG_TUSB_DEBUG 0
/* 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
diff --git a/examples/device/hid_generic_inout/src/tusb_config.h b/examples/device/hid_generic_inout/src/tusb_config.h
index 195b60987..acd23f954 100644
--- a/examples/device/hid_generic_inout/src/tusb_config.h
+++ b/examples/device/hid_generic_inout/src/tusb_config.h
@@ -46,7 +46,9 @@
#endif
#define CFG_TUSB_OS OPT_OS_NONE
-#define CFG_TUSB_DEBUG 1
+
+// CFG_TUSB_DEBUG is defined by compiler in DEBUG build
+// #define CFG_TUSB_DEBUG 0
/* 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
diff --git a/examples/device/msc_dual_lun/src/tusb_config.h b/examples/device/msc_dual_lun/src/tusb_config.h
index f299b409e..fe30fbf20 100644
--- a/examples/device/msc_dual_lun/src/tusb_config.h
+++ b/examples/device/msc_dual_lun/src/tusb_config.h
@@ -46,7 +46,9 @@
#endif
#define CFG_TUSB_OS OPT_OS_NONE
-#define CFG_TUSB_DEBUG 1
+
+// CFG_TUSB_DEBUG is defined by compiler in DEBUG build
+// #define CFG_TUSB_DEBUG 0
/* 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