aboutsummaryrefslogtreecommitdiffstats
path: root/tests/usbconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/usbconfig.h')
-rw-r--r--tests/usbconfig.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/usbconfig.h b/tests/usbconfig.h
index f97cf63..b585c2f 100644
--- a/tests/usbconfig.h
+++ b/tests/usbconfig.h
@@ -47,6 +47,13 @@ section at the end of this file).
* of 2000 ppm and thus a crystal!
* Default if not specified: 12 MHz
*/
+#define USB_CFG_CHECK_CRC (USB_CFG_CLOCK_KHZ == 18000)
+/* Define this to 1 if you want that the driver checks data integrity of data
+ * packets (CRC checks). CRC checks cost quite a bit of code size and are
+ * currently only available for 18 MHz crystal clock. You must choose
+ * USB_CFG_CLOCK_KHZ = 18000 if you enable this option.
+ */
+
/* ----------------------- Optional Hardware Config ------------------------ */