aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/STM32L4xx
diff options
context:
space:
mode:
authorgdisirio <gdisirio@110e8d01-0319-4d1e-a829-52ad28d1bb01>2018-09-23 06:01:53 +0000
committergdisirio <gdisirio@110e8d01-0319-4d1e-a829-52ad28d1bb01>2018-09-23 06:01:53 +0000
commitd749f21cb98b373a93140f9a3723525ddfd92447 (patch)
tree0057b8e9882ac88b2dc37962da184c86add359e7 /os/hal/ports/STM32/STM32L4xx
parent8c791c84231a8966a1faf219d220642b19f082fc (diff)
downloadChibiOS-d749f21cb98b373a93140f9a3723525ddfd92447.tar.gz
ChibiOS-d749f21cb98b373a93140f9a3723525ddfd92447.tar.bz2
ChibiOS-d749f21cb98b373a93140f9a3723525ddfd92447.zip
Added check on right mcuconf.h for L476xx.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12287 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'os/hal/ports/STM32/STM32L4xx')
-rw-r--r--os/hal/ports/STM32/STM32L4xx/hal_lld.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/os/hal/ports/STM32/STM32L4xx/hal_lld.h b/os/hal/ports/STM32/STM32L4xx/hal_lld.h
index 56042fbfd..dd5d75195 100644
--- a/os/hal/ports/STM32/STM32L4xx/hal_lld.h
+++ b/os/hal/ports/STM32/STM32L4xx/hal_lld.h
@@ -760,7 +760,10 @@
/* Only some devices have strongly checked mcuconf.h files. Others will be
added gradually.*/
-#if defined(STM32L496xx) && !defined(STM32L496_MCUCONF)
+#if defined(STM32L476xx) && !defined(STM32L476_MCUCONF)
+#error "Using a wrong mcuconf.h file, STM32L476_MCUCONF not defined"
+
+#elif defined(STM32L496xx) && !defined(STM32L496_MCUCONF)
#error "Using a wrong mcuconf.h file, STM32L496_MCUCONF not defined"
#elif defined(STM32L4A6xx) && !defined(STM32L4A6_MCUCONF)