aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/STM32F4xx/hal_lld.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-05-19 13:22:27 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-05-19 13:22:27 +0000
commit73cbca4d1554702c43a2ace6e86d8ff6a8ffaaa9 (patch)
tree39bdc31dce581f6f28f9f34c307b55d1b5f568d9 /os/hal/ports/STM32/STM32F4xx/hal_lld.h
parent9605c9af3164446af21c590be900f67d047d1105 (diff)
downloadChibiOS-73cbca4d1554702c43a2ace6e86d8ff6a8ffaaa9.tar.gz
ChibiOS-73cbca4d1554702c43a2ace6e86d8ff6a8ffaaa9.tar.bz2
ChibiOS-73cbca4d1554702c43a2ace6e86d8ff6a8ffaaa9.zip
Fixed bug #504.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@6939 35acf78f-673a-0410-8e92-d51de3d6d3f4
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
/** @} */
/**