aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/STM32L4xx
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2018-09-17 08:20:44 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2018-09-17 08:20:44 +0000
commit6690b94df39c3d083702d190985f6b91dca52694 (patch)
treed23e0c8a8f7d7aa4ed0b85714f1b86f496b33400 /os/hal/ports/STM32/STM32L4xx
parent56072db27c590b38d7f2ba1b5b322c871bba7262 (diff)
downloadChibiOS-6690b94df39c3d083702d190985f6b91dca52694.tar.gz
ChibiOS-6690b94df39c3d083702d190985f6b91dca52694.tar.bz2
ChibiOS-6690b94df39c3d083702d190985f6b91dca52694.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12269 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'os/hal/ports/STM32/STM32L4xx')
-rw-r--r--os/hal/ports/STM32/STM32L4xx/hal_lld.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/os/hal/ports/STM32/STM32L4xx/hal_lld.h b/os/hal/ports/STM32/STM32L4xx/hal_lld.h
index 45b4a92bb..20be27d30 100644
--- a/os/hal/ports/STM32/STM32L4xx/hal_lld.h
+++ b/os/hal/ports/STM32/STM32L4xx/hal_lld.h
@@ -786,6 +786,16 @@
#error "Using a wrong mcuconf.h file, STM32L4xx_MCUCONF not defined"
#endif
+/* Only some devices have strongly checked mcuconf.h files. Others will be
+ added gradually.*/
+#if defined(STM32L496xx) && !defined(STM32L496_MCUCONF)
+#error "Using a wrong mcuconf.h file, STM32L496_MCUCONF not defined"
+
+#elif defined(STM32L4A6xx) && !defined(STM32L4A6_MCUCONF)
+#error "Using a wrong mcuconf.h file, STM32L4A6_MCUCONF not defined"
+
+#endif
+
/*
* Board files sanity checks.
*/