aboutsummaryrefslogtreecommitdiffstats
path: root/demos/SPC5/RT-SPC560B-EVB
diff options
context:
space:
mode:
Diffstat (limited to 'demos/SPC5/RT-SPC560B-EVB')
-rw-r--r--demos/SPC5/RT-SPC560B-EVB/halconf.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/demos/SPC5/RT-SPC560B-EVB/halconf.h b/demos/SPC5/RT-SPC560B-EVB/halconf.h
index 8fb139b16..759646c7e 100644
--- a/demos/SPC5/RT-SPC560B-EVB/halconf.h
+++ b/demos/SPC5/RT-SPC560B-EVB/halconf.h
@@ -295,6 +295,21 @@
#endif
/*===========================================================================*/
+/* SERIAL_USB driver related setting. */
+/*===========================================================================*/
+
+/**
+ * @brief Serial over USB buffers size.
+ * @details Configuration parameter, the buffer size must be a multiple of
+ * the USB data endpoint maximum packet size.
+ * @note The default is 64 bytes for both the transmission and receive
+ * buffers.
+ */
+#if !defined(SERIAL_USB_BUFFERS_SIZE) || defined(__DOXYGEN__)
+#define SERIAL_USB_BUFFERS_SIZE 256
+#endif
+
+/*===========================================================================*/
/* SPI driver related settings. */
/*===========================================================================*/