summaryrefslogtreecommitdiff
path: root/tests/support
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-04-12 13:23:52 +0700
committerhathach <[email protected]>2018-04-12 13:23:52 +0700
commit4b660175beea2c76a1a761e3840937d9784ab201 (patch)
tree2d3b595aa8bf9e1ffcb7dd1feafd92275e92994e /tests/support
parent3d31f921068d906f6f63f59a3b10784f28e97d4d (diff)
rename CFG_TUSB_DEVICE_* to CFG_TUD_*
Diffstat (limited to 'tests/support')
-rw-r--r--tests/support/descriptor_test.h2
-rw-r--r--tests/support/tusb_config.h12
2 files changed, 7 insertions, 7 deletions
diff --git a/tests/support/descriptor_test.h b/tests/support/descriptor_test.h
index a0455f4ba..4861c3f30 100644
--- a/tests/support/descriptor_test.h
+++ b/tests/support/descriptor_test.h
@@ -69,7 +69,7 @@ typedef struct
tusb_desc_interface_assoc_t CDC_IAD;
#endif
-#if 0 //&& CFG_TUSB_DEVICE_CDC
+#if 0 //&& CFG_TUD_CDC
//CDC - Serial
//CDC Control Interface
tusb_desc_interface_t CDC_CCI_Interface;
diff --git a/tests/support/tusb_config.h b/tests/support/tusb_config.h
index 6ed735bc7..91902acff 100644
--- a/tests/support/tusb_config.h
+++ b/tests/support/tusb_config.h
@@ -70,14 +70,14 @@
//--------------------------------------------------------------------+
// DEVICE CONFIGURATION
//--------------------------------------------------------------------+
-#define CFG_TUSB_DEVICE_ENDOINT0_SIZE 64
+#define CFG_TUD_ENDOINT0_SIZE 64
//------------- CLASS -------------//
-#define CFG_TUSB_DEVICE_HID_KEYBOARD 1
-#define CFG_TUSB_DEVICE_HID_MOUSE 1
-#define CFG_TUSB_DEVICE_HID_GENERIC 0
-#define CFG_TUSB_DEVICE_MSC 1
-#define CFG_TUSB_DEVICE_CDC 1
+#define CFG_TUD_HID_KEYBOARD 1
+#define CFG_TUD_HID_MOUSE 1
+#define CFG_TUD_HID_GENERIC 0
+#define CFG_TUD_MSC 1
+#define CFG_TUD_CDC 1
//--------------------------------------------------------------------+