aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32
diff options
context:
space:
mode:
authorgdisirio <gdisirio@110e8d01-0319-4d1e-a829-52ad28d1bb01>2018-10-06 11:10:15 +0000
committergdisirio <gdisirio@110e8d01-0319-4d1e-a829-52ad28d1bb01>2018-10-06 11:10:15 +0000
commit191a9c5ac61e0e65a01cdac84378b888b8d17448 (patch)
tree260edce1d79b81d62c5a58b39ee091a22b294244 /os/hal/ports/STM32
parent274e313ed3e0b7d120fbd2934c779fc3f5f07e4c (diff)
downloadChibiOS-191a9c5ac61e0e65a01cdac84378b888b8d17448.tar.gz
ChibiOS-191a9c5ac61e0e65a01cdac84378b888b8d17448.tar.bz2
ChibiOS-191a9c5ac61e0e65a01cdac84378b888b8d17448.zip
Increaded device coverage of some mcuconf.h.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12340 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'os/hal/ports/STM32')
-rw-r--r--os/hal/ports/STM32/STM32L4xx/hal_lld.h14
-rw-r--r--os/hal/ports/STM32/STM32L4xx/stm32_registry.h8
2 files changed, 14 insertions, 8 deletions
diff --git a/os/hal/ports/STM32/STM32L4xx/hal_lld.h b/os/hal/ports/STM32/STM32L4xx/hal_lld.h
index d3b5578f4..40da4cc73 100644
--- a/os/hal/ports/STM32/STM32L4xx/hal_lld.h
+++ b/os/hal/ports/STM32/STM32L4xx/hal_lld.h
@@ -762,16 +762,22 @@
added gradually.*/
#if defined(STM32L432xx) && !defined(STM32L432_MCUCONF)
#error "Using a wrong mcuconf.h file, STM32L432_MCUCONF not defined"
+#endif
-#elif defined(STM32L476xx) && !defined(STM32L476_MCUCONF)
+#if defined(STM32L476xx) && !defined(STM32L476_MCUCONF)
#error "Using a wrong mcuconf.h file, STM32L476_MCUCONF not defined"
+#endif
+
+#if defined(STM32L486xx) && !defined(STM32L486_MCUCONF)
+#error "Using a wrong mcuconf.h file, STM32L486_MCUCONF not defined"
+#endif
-#elif defined(STM32L496xx) && !defined(STM32L496_MCUCONF)
+#if defined(STM32L496xx) && !defined(STM32L496_MCUCONF)
#error "Using a wrong mcuconf.h file, STM32L496_MCUCONF not defined"
+#endif
-#elif defined(STM32L4A6xx) && !defined(STM32L4A6_MCUCONF)
+#if defined(STM32L4A6xx) && !defined(STM32L4A6_MCUCONF)
#error "Using a wrong mcuconf.h file, STM32L4A6_MCUCONF not defined"
-
#endif
/*
diff --git a/os/hal/ports/STM32/STM32L4xx/stm32_registry.h b/os/hal/ports/STM32/STM32L4xx/stm32_registry.h
index c45061ea7..2e5b48724 100644
--- a/os/hal/ports/STM32/STM32L4xx/stm32_registry.h
+++ b/os/hal/ports/STM32/STM32L4xx/stm32_registry.h
@@ -718,10 +718,10 @@
#endif /* defined(STM32L443xx) */
/*===========================================================================*/
-/* STM32L476xx. */
+/* STM32L476xx, STM32L486xx. */
/*===========================================================================*/
-#if defined(STM32L476xx)
+#if defined(STM32L476xx) || defined(STM32L486xx)
/* Clock attributes.*/
#define STM32_CLOCK_HAS_HSI48 FALSE
@@ -1125,10 +1125,10 @@
#endif /* defined(STM32L476xx) */
/*===========================================================================*/
-/* STM32L496xx. */
+/* STM32L496xx, STM32L4A6xx. */
/*===========================================================================*/
-#if defined(STM32L496xx)
+#if defined(STM32L496xx) || defined(STM32L4A6xx)
/* Clock attributes.*/
#define STM32_CLOCK_HAS_HSI48 FALSE