diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-11-14 09:12:42 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-11-14 09:12:42 +0000 |
commit | 3f53115539e279a12f04ce07ef9f021bfee310fa (patch) | |
tree | 704ddb761770cbe71f1608e032db3b535d9eb42e /os/hal/ports/STM32/STM32L0xx | |
parent | 3868c8bc2c476a7d77400b39103c5fcca5697145 (diff) | |
download | ChibiOS-3f53115539e279a12f04ce07ef9f021bfee310fa.tar.gz ChibiOS-3f53115539e279a12f04ce07ef9f021bfee310fa.tar.bz2 ChibiOS-3f53115539e279a12f04ce07ef9f021bfee310fa.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8488 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32/STM32L0xx')
-rw-r--r-- | os/hal/ports/STM32/STM32L0xx/hal_lld.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/os/hal/ports/STM32/STM32L0xx/hal_lld.h b/os/hal/ports/STM32/STM32L0xx/hal_lld.h index 766677575..31241386b 100644 --- a/os/hal/ports/STM32/STM32L0xx/hal_lld.h +++ b/os/hal/ports/STM32/STM32L0xx/hal_lld.h @@ -497,6 +497,21 @@ #error "Using a wrong mcuconf.h file, STM32L0xx_MCUCONF not defined"
#endif
+/*
+ * Board files sanity checks.
+ */
+#if !defined(STM32_LSECLK)
+#error "STM32_LSECLK not defined in board.h"
+#endif
+
+#if !defined(STM32_LSEDRV)
+#error "STM32_LSEDRV not defined in board.h"
+#endif
+
+#if !defined(STM32_HSECLK)
+#error "STM32_HSECLK not defined in board.h"
+#endif
+
/* Voltage related limits.*/
#if (STM32_VOS == STM32_VOS_1P8) || defined(__DOXYGEN__)
/**
|