Skip to content

Commit ab5ddb5

Browse files
committed
[STM32L1XX] Add STM32CUBE_L1 hal target files
1 parent bdfc94c commit ab5ddb5

File tree

15 files changed

+20050
-10993
lines changed

15 files changed

+20050
-10993
lines changed

hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/stm32l152xc.h

Lines changed: 6622 additions & 3610 deletions
Large diffs are not rendered by default.

hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/stm32l1xx.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
******************************************************************************
33
* @file stm32l1xx.h
44
* @author MCD Application Team
5-
* @version V2.1.3
6-
* @date 04-March-2016
5+
* @version V2.2.0
6+
* @date 01-July-2016
77
* @brief CMSIS STM32L1xx Device Peripheral Access Layer Header File.
88
*
99
* The file is the unique include file that the application programmer
@@ -118,11 +118,11 @@
118118
#endif /* USE_HAL_DRIVER */
119119

120120
/**
121-
* @brief CMSIS Device version number V2.1.3
121+
* @brief CMSIS Device version number
122122
*/
123123
#define __STM32L1xx_CMSIS_VERSION_MAIN (0x02) /*!< [31:24] main version */
124-
#define __STM32L1xx_CMSIS_VERSION_SUB1 (0x01) /*!< [23:16] sub1 version */
125-
#define __STM32L1xx_CMSIS_VERSION_SUB2 (0x03) /*!< [15:8] sub2 version */
124+
#define __STM32L1xx_CMSIS_VERSION_SUB1 (0x02) /*!< [23:16] sub1 version */
125+
#define __STM32L1xx_CMSIS_VERSION_SUB2 (0x00) /*!< [15:8] sub2 version */
126126
#define __STM32L1xx_CMSIS_VERSION_RC (0x00) /*!< [7:0] release candidate */
127127
#define __STM32L1xx_CMSIS_VERSION ((__STM32L1xx_CMSIS_VERSION_MAIN << 24)\
128128
|(__STM32L1xx_CMSIS_VERSION_SUB1 << 16)\

hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/stm32l1xx_hal_conf.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/**
22
******************************************************************************
3-
* @file stm32l1xx_hal_conf_template.h
3+
* @file stm32l1xx_hal_conf.h
44
* @author MCD Application Team
5-
* @version V1.1.3
6-
* @date 04-March-2016
5+
* @version V1.2.0
6+
* @date 01-July-2016
77
* @brief HAL configuration template file.
88
* This file should be copied to the application folder and renamed
99
* to stm32l1xx_hal_conf.h.
@@ -274,11 +274,11 @@
274274
* If expr is true, it returns no value.
275275
* @retval None
276276
*/
277-
#define assert_param(expr) ((expr) ? (void)0 : assert_failed((uint8_t *)__FILE__, __LINE__))
277+
#define assert_param(expr) ((expr) ? (void)0U : assert_failed((uint8_t *)__FILE__, __LINE__))
278278
/* Exported functions ------------------------------------------------------- */
279279
void assert_failed(uint8_t* file, uint32_t line);
280280
#else
281-
#define assert_param(expr) ((void)0)
281+
#define assert_param(expr) ((void)0U)
282282
#endif /* USE_FULL_ASSERT */
283283

284284
#ifdef __cplusplus

hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/system_stm32l1xx.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
******************************************************************************
33
* @file system_stm32l1xx.c
44
* @author MCD Application Team
5-
* @version V2.1.3
6-
* @date 04-March-2016
5+
* @version V2.2.0
6+
* @date 01-July-2016
77
* @brief CMSIS Cortex-M3 Device Peripheral Access Layer System Source File.
88
*
99
* This file provides two functions and one global variable to be called from

hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/system_stm32l1xx.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
******************************************************************************
33
* @file system_stm32l1xx.h
44
* @author MCD Application Team
5-
* @version V2.1.3
6-
* @date 04-March-2016
5+
* @version V2.2.0
6+
* @date 01-July-2016
77
* @brief CMSIS Cortex-M3 Device System Source File for STM32L1xx devices.
88
******************************************************************************
99
* @attention

hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/stm32l152xe.h

Lines changed: 6882 additions & 3794 deletions
Large diffs are not rendered by default.

hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/stm32l1xx.h

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
******************************************************************************
33
* @file stm32l1xx.h
44
* @author MCD Application Team
5-
* @version V2.1.3
6-
* @date 04-March-2016
5+
* @version V2.2.0
6+
* @date 01-July-2016
77
* @brief CMSIS STM32L1xx Device Peripheral Access Layer Header File.
88
*
99
* The file is the unique include file that the application programmer
@@ -95,6 +95,7 @@
9595
/* #define STM32L152xC */ /*!< STM32L152CC, STM32L152UC, STM32L152RC and STM32L152VC */
9696
/* #define STM32L152xCA */ /*!< STM32L152RC-A, STM32L152VC-A, STM32L152QC and STM32L152ZC */
9797
/* #define STM32L152xD */ /*!< STM32L152QD, STM32L152RD, STM32L152VD and STM32L152ZD */
98+
/* #define STM32L152xDX */ /*!< STM32L152VD-X Devices */
9899
#define STM32L152xE /*!< STM32L152QE, STM32L152RE, STM32L152VE and STM32L152ZE */
99100
/* #define STM32L162xC */ /*!< STM32L162RC and STM32L162VC */
100101
/* #define STM32L162xCA */ /*!< STM32L162RC-A, STM32L162VC-A, STM32L162QC and STM32L162ZC */
@@ -117,11 +118,11 @@
117118
#endif /* USE_HAL_DRIVER */
118119

119120
/**
120-
* @brief CMSIS Device version number V2.1.3
121+
* @brief CMSIS Device version number
121122
*/
122123
#define __STM32L1xx_CMSIS_VERSION_MAIN (0x02) /*!< [31:24] main version */
123-
#define __STM32L1xx_CMSIS_VERSION_SUB1 (0x01) /*!< [23:16] sub1 version */
124-
#define __STM32L1xx_CMSIS_VERSION_SUB2 (0x03) /*!< [15:8] sub2 version */
124+
#define __STM32L1xx_CMSIS_VERSION_SUB1 (0x02) /*!< [23:16] sub1 version */
125+
#define __STM32L1xx_CMSIS_VERSION_SUB2 (0x00) /*!< [15:8] sub2 version */
125126
#define __STM32L1xx_CMSIS_VERSION_RC (0x00) /*!< [7:0] release candidate */
126127
#define __STM32L1xx_CMSIS_VERSION ((__STM32L1xx_CMSIS_VERSION_MAIN << 24)\
127128
|(__STM32L1xx_CMSIS_VERSION_SUB1 << 16)\

hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/stm32l1xx_hal_conf.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
******************************************************************************
33
* @file stm32l1xx_hal_conf.h
44
* @author MCD Application Team
5-
* @version V1.1.3
6-
* @date 04-March-2016
5+
* @version V1.2.0
6+
* @date 01-July-2016
77
* @brief HAL configuration template file.
88
* This file should be copied to the application folder and renamed
99
* to stm32l1xx_hal_conf.h.
@@ -274,11 +274,11 @@
274274
* If expr is true, it returns no value.
275275
* @retval None
276276
*/
277-
#define assert_param(expr) ((expr) ? (void)0 : assert_failed((uint8_t *)__FILE__, __LINE__))
277+
#define assert_param(expr) ((expr) ? (void)0U : assert_failed((uint8_t *)__FILE__, __LINE__))
278278
/* Exported functions ------------------------------------------------------- */
279279
void assert_failed(uint8_t* file, uint32_t line);
280280
#else
281-
#define assert_param(expr) ((void)0)
281+
#define assert_param(expr) ((void)0U)
282282
#endif /* USE_FULL_ASSERT */
283283

284284
#ifdef __cplusplus

hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/system_stm32l1xx.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
******************************************************************************
33
* @file system_stm32l1xx.c
44
* @author MCD Application Team
5-
* @version V2.1.3
6-
* @date 04-March-2016
5+
* @version V2.2.0
6+
* @date 01-July-2016
77
* @brief CMSIS Cortex-M3 Device Peripheral Access Layer System Source File.
88
*
99
* This file provides two functions and one global variable to be called from

hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/system_stm32l1xx.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
******************************************************************************
33
* @file system_stm32l1xx.h
44
* @author MCD Application Team
5-
* @version V2.1.3
6-
* @date 04-March-2016
5+
* @version V2.2.0
6+
* @date 01-July-2016
77
* @brief CMSIS Cortex-M3 Device System Source File for STM32L1xx devices.
88
******************************************************************************
99
* @attention

0 commit comments

Comments
 (0)