git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@6851 35acf78f-673a-0410-8e92-d51de3d6d3f4
master
gdisirio 2014-04-21 08:20:04 +00:00
parent 51a3a6904a
commit ec673b751b
4 changed files with 22 additions and 2 deletions

View File

@ -31,7 +31,7 @@
/* Driver local definitions. */
/*===========================================================================*/
#if defined(STM32L1XX_MD)
#if defined(STM32L1XX_MD) || defined(STM32L1XX_MDP) || defined(STM32L1XX_HD)
#define AHB_EN_MASK (RCC_AHBENR_GPIOAEN | RCC_AHBENR_GPIOBEN | \
RCC_AHBENR_GPIOCEN | RCC_AHBENR_GPIODEN | \
RCC_AHBENR_GPIOEEN | RCC_AHBENR_GPIOHEN)

View File

@ -33,6 +33,8 @@
* - STM32F37X for Analog & DSP devices.
* - STM32F4XX for High-performance STM32 F-4 devices.
* - 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 High-density devices.
* .
*
* @addtogroup HAL
@ -66,7 +68,8 @@
defined(STM32F427_437xx) || defined(STM32F429_439xx)
#include "stm32f4xx.h"
#elif defined(STM32L1XX_MD)
#elif defined(STM32L1XX_MD) || defined(STM32L1XX_MDP) || \
defined(STM32L1XX_HD)
#include "stm32l1xx.h"
#else

View File

@ -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 High-density devices.
* .
*
* @addtogroup HAL
@ -49,7 +51,21 @@
* @name Platform identification
* @{
*/
#if defined(STM32L1XX_MD) || defined(__DOXYGEN__)
#define PLATFORM_NAME "STM32L1xx Ultra Low Power Medium Density"
#define STM32L1XX
#elif defined(STM32L1XX_MDP)
#define PLATFORM_NAME "STM32L1xx Ultra Low Power Medium Density Plus"
#define STM32L1XX
#elif defined(STM32L1XX_HD)
#define PLATFORM_NAME "STM32L1xx Ultra Low Power High Density"
#define STM32L1XX
#else
#error "STM32L1xx device not specified"
#endif
/** @} */
/**

View File

@ -89,6 +89,7 @@
*****************************************************************************
*** 2.7.0 ***
- FIX: Fixed STM32L1 Plus Compilation Problems (bug #484)(backported to 2.6.4).
- FIX: Fixed OTG HS failure when WFI instruction is enabled (bug #482)
(backported to 2.6.4).
- FIX: Fixed wrong STM32F4 TIM6 vector number symbol (bug #480)