summaryrefslogtreecommitdiff
path: root/src/tusb_option.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tusb_option.h')
-rw-r--r--src/tusb_option.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/tusb_option.h b/src/tusb_option.h
index fbd48a8fa..dc76ce5f6 100644
--- a/src/tusb_option.h
+++ b/src/tusb_option.h
@@ -51,9 +51,13 @@
#define OPT_MCU_SAMD21 200 ///< MicroChip SAMD21
#define OPT_MCU_SAMD51 201 ///< MicroChip SAMD51
+// ST Synopsis OTG devices
#define OPT_MCU_STM32F4 300 ///< ST STM32F4
-#define OPT_MCU_STM32F3 301 ///< ST STM32F3
+#define OPT_MCU_STM32F3 301 ///< ST STM32F0x0
#define OPT_MCU_STM32H7 302 ///< ST STM32H7
+#define OPT_MCU_STM32F0 303 ///< ST STM32F0
+#define OPT_MCU_STM32F1 304 ///< ST STM32F1
+
/** @} */
@@ -145,8 +149,8 @@
// DEVICE OPTIONS
//--------------------------------------------------------------------
-#ifndef CFG_TUD_ENDOINT0_SIZE
- #define CFG_TUD_ENDOINT0_SIZE 64
+#ifndef CFG_TUD_ENDPOINT0_SIZE
+ #define CFG_TUD_ENDPOINT0_SIZE 64
#endif
#ifndef CFG_TUD_CDC
@@ -198,7 +202,7 @@
//------------------------------------------------------------------
// Configuration Validation
//------------------------------------------------------------------
-#if CFG_TUD_ENDOINT0_SIZE > 64
+#if CFG_TUD_ENDPOINT0_SIZE > 64
#error Control Endpoint Max Packet Size cannot be larger than 64
#endif