aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/STM32F4xx/hal_lld.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/ports/STM32/STM32F4xx/hal_lld.h')
-rw-r--r--os/hal/ports/STM32/STM32F4xx/hal_lld.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/os/hal/ports/STM32/STM32F4xx/hal_lld.h b/os/hal/ports/STM32/STM32F4xx/hal_lld.h
index c7f9ed864..190b1b22d 100644
--- a/os/hal/ports/STM32/STM32F4xx/hal_lld.h
+++ b/os/hal/ports/STM32/STM32F4xx/hal_lld.h
@@ -57,19 +57,15 @@
*/
#if defined(STM32F429_439xx) || defined(__DOXYGEN__)
#define PLATFORM_NAME "STM32F429/F439 High Performance with DSP and FPU"
-#define STM32F4XX
#elif defined(STM32F427_437xx)
#define PLATFORM_NAME "STM32F427/F437 High Performance with DSP and FPU"
-#define STM32F4XX
#elif defined(STM32F40_41xxx)
#define PLATFORM_NAME "STM32F407/F417 High Performance with DSP and FPU"
-#define STM32F4XX
#elif defined(STM32F401xx)
#define PLATFORM_NAME "STM32F401 High Performance with DSP and FPU"
-#define STM32F4XX
#elif defined(STM32F2XX)
#define PLATFORM_NAME "STM32F2xx High Performance"
@@ -77,6 +73,13 @@
#else
#error "STM32F2xx/F4xx device not specified"
#endif
+
+/**
+ * @brief Sub-family identifier.
+ */
+#if !defined(STM32F4XX) || defined(__DOXYGEN__)
+#define STM32F4XX
+#endif
/** @} */
/**