diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-10-01 12:47:08 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-10-01 12:47:08 +0000 |
commit | 96edef9ffa93860bea6fb1f0ff9abdb131a74492 (patch) | |
tree | b138279412c62e9994bab411d1dcd6779e142622 /os/hal/ports/STM32L1xx | |
parent | e23cb1d41f87d6f5eba8e76e3dbfedceb9a6fc2b (diff) | |
download | ChibiOS-96edef9ffa93860bea6fb1f0ff9abdb131a74492.tar.gz ChibiOS-96edef9ffa93860bea6fb1f0ff9abdb131a74492.tar.bz2 ChibiOS-96edef9ffa93860bea6fb1f0ff9abdb131a74492.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6342 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32L1xx')
-rw-r--r-- | os/hal/ports/STM32L1xx/hal_lld.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/os/hal/ports/STM32L1xx/hal_lld.h b/os/hal/ports/STM32L1xx/hal_lld.h index 3abc9a730..11998db9a 100644 --- a/os/hal/ports/STM32L1xx/hal_lld.h +++ b/os/hal/ports/STM32L1xx/hal_lld.h @@ -25,6 +25,8 @@ * .
* One of the following macros must also be defined:
* - STM32L1XX_MD for Ultra Low Power Medium-density devices.
+ * - STM32L1XX_MDP for Ultra Low Power Medium-density Plus devices.
+ * - STM32L1XX_HD for Ultra Low Power Medium-density devices.
* .
*
* @addtogroup HAL
@@ -359,6 +361,13 @@ #error "Using a wrong mcuconf.h file, STM32L1xx_MCUCONF not defined"
#endif
+/*
+ * MCU variant check.
+ */
+#if defined(STM32L1XX_MDP) || defined(STM32L1XX_HD)
+#error "unsupported STM32L1XX variant"
+#endif
+
/* Voltage related limits.*/
#if (STM32_VOS == STM32_VOS_1P8) || defined(__DOXYGEN__)
/**
|