aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/STM32F0xx/hal_lld.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/ports/STM32/STM32F0xx/hal_lld.h')
-rw-r--r--os/hal/ports/STM32/STM32F0xx/hal_lld.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/os/hal/ports/STM32/STM32F0xx/hal_lld.h b/os/hal/ports/STM32/STM32F0xx/hal_lld.h
index 044b13a37..0c804db91 100644
--- a/os/hal/ports/STM32/STM32F0xx/hal_lld.h
+++ b/os/hal/ports/STM32/STM32F0xx/hal_lld.h
@@ -50,19 +50,23 @@
*/
#if defined(STM32F0XX_MD) || defined(__DOXYGEN__)
#define PLATFORM_NAME "STM32F051xx/F061xx Entry Level Medium Density devices"
-#define STM32F0XX
#elif defined(STM32F0XX_LD)
#define PLATFORM_NAME "STM32F050xx/F060xx Entry Level Low Density devices"
-#define STM32F0XX
#elif defined(STM32F030)
#define PLATFORM_NAME "STM32F050xx/F060xx Entry Level Value Line devices"
-#define STM32F0XX
#else
#error "STM32F0xx device not specified"
#endif
+
+/**
+ * @brief Sub-family identifier.
+ */
+#if !defined(STM32F0XX) || defined(__DOXYGEN__)
+#define STM32F0XX
+#endif
/** @} */
/**