Skip to content

Commit 9422695

Browse files
committed
Update STM32L0xx CMSIS to v1.9.0
Included in STM32CubeL0 FW V1.11.0 Signed-off-by: Frederic.Pillon <[email protected]>
1 parent b7526af commit 9422695

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+80264
-55783
lines changed

system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l010x4.h

+5,803
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l010x6.h

+5,860
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l010x8.h

+5,856
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l010xb.h

+5,932
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l011xx.h

+2,954-2,964
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l021xx.h

+3,013-3,023
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h

+3,041-3,045
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l041xx.h

+3,100-3,104
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l051xx.h

+3,117-3,122
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l052xx.h

+3,636-3,633
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l053xx.h

+3,720-3,717
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l061xx.h

+3,176-3,181
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l062xx.h

+3,695-3,692
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l063xx.h

+3,779-3,776
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l071xx.h

+3,229-3,235
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l072xx.h

+3,801-3,799
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l073xx.h

+3,887-3,885
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l081xx.h

+3,288-3,294
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l082xx.h

+3,860-3,858
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l083xx.h

+3,946-3,944
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h

+42-45
Original file line numberDiff line numberDiff line change
@@ -18,29 +18,13 @@
1818
******************************************************************************
1919
* @attention
2020
*
21-
* <h2><center>&copy; COPYRIGHT(c) 2016 STMicroelectronics</center></h2>
21+
* <h2><center>&copy; Copyright(c) 2016 STMicroelectronics.
22+
* All rights reserved.</center></h2>
2223
*
23-
* Redistribution and use in source and binary forms, with or without modification,
24-
* are permitted provided that the following conditions are met:
25-
* 1. Redistributions of source code must retain the above copyright notice,
26-
* this list of conditions and the following disclaimer.
27-
* 2. Redistributions in binary form must reproduce the above copyright notice,
28-
* this list of conditions and the following disclaimer in the documentation
29-
* and/or other materials provided with the distribution.
30-
* 3. Neither the name of STMicroelectronics nor the names of its contributors
31-
* may be used to endorse or promote products derived from this software
32-
* without specific prior written permission.
33-
*
34-
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
35-
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
36-
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
37-
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
38-
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
39-
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
40-
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
41-
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
42-
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
43-
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24+
* This software component is licensed by ST under BSD 3-Clause license,
25+
* the "License"; You may not use this file except in compliance with the
26+
* License. You may obtain a copy of the License at:
27+
* opensource.org/licenses/BSD-3-Clause
4428
*
4529
******************************************************************************
4630
*/
@@ -75,28 +59,33 @@
7559
application
7660
*/
7761

78-
#if !defined (STM32L011xx) && !defined (STM32L021xx) && \
62+
#if !defined (STM32L010x4) && !defined (STM32L010x6) && !defined (STM32L010x8) && !defined (STM32L010xB) && \
63+
!defined (STM32L011xx) && !defined (STM32L021xx) && \
7964
!defined (STM32L031xx) && !defined (STM32L041xx) && \
8065
!defined (STM32L051xx) && !defined (STM32L052xx) && !defined (STM32L053xx) && \
8166
!defined (STM32L061xx) && !defined (STM32L062xx) && !defined (STM32L063xx) && \
8267
!defined (STM32L071xx) && !defined (STM32L072xx) && !defined (STM32L073xx) && \
83-
!defined (STM32L081xx) && !defined (STM32L082xx) && !defined (STM32L083xx) \
84-
/* #define STM32L011xx */
85-
/* #define STM32L021xx */
86-
/* #define STM32L031xx */ /*!< STM32L031C6, STM32L031E6, STM32L031F6, STM32L031G6, STM32L031K6 Devices */
87-
/* #define STM32L041xx */ /*!< STM32L041C6, STM32L041E6, STM32L041F6, STM32L041G6, STM32L041K6 Devices */
88-
/* #define STM32L051xx */ /*!< STM32L051K8, STM32L051C6, STM32L051C8, STM32L051R6, STM32L051R8 Devices */
89-
/* #define STM32L052xx */ /*!< STM32L052K6, STM32L052K8, STM32L052C6, STM32L052C8, STM32L052R6, STM32L052R8 Devices */
90-
/* #define STM32L053xx */ /*!< STM32L053C6, STM32L053C8, STM32L053R6, STM32L053R8 Devices */
68+
!defined (STM32L081xx) && !defined (STM32L082xx) && !defined (STM32L083xx)
69+
/* #define STM32L010x4 */ /*!< STM32L010K4, STM32L010F4 Devices */
70+
/* #define STM32L010x6 */ /*!< STM32L010C6 Devices */
71+
/* #define STM32L010x8 */ /*!< STM32L010K8, STM32L010R8 Devices */
72+
/* #define STM32L010xB */ /*!< STM32L010RB Devices */
73+
/* #define STM32L011xx */ /*!< STM32L031C6, STM32L031E6, STM32L031F6, STM32L031G6, STM32L031K6 Devices */
74+
/* #define STM32L021xx */ /*!< STM32L021D4, STM32L021F4, STM32L021G4, STM32L021K4 Devices */
75+
/* #define STM32L031xx */ /*!< STM32L031C6, STM32L031E6, STM32L031F6, STM32L031G6, STM32L031K6 Devices */
76+
/* #define STM32L041xx */ /*!< STM32L041C6, STM32L041K6, STM32L041G6, STM32L041F6, STM32L041E6 Devices */
77+
/* #define STM32L051xx */ /*!< STM32L051K8, STM32L051C6, STM32L051C8, STM32L051R6, STM32L051R8, STM32L051K6, STM32L051T6, STM32L051T8 Devices */
78+
/* #define STM32L052xx */ /*!< STM32L052K6, STM32L052K8, STM32L052C6, STM32L052C8, STM32L052R6, STM32L052R8, STM32L052T6, STM32L052T8 Devices */
79+
/* #define STM32L053xx */ /*!< STM32L053C6, STM32L053C8, STM32L053R6, STM32L053R8 Devices */
9180
/* #define STM32L061xx */ /*!< */
92-
/* #define STM32L062xx */ /*!< STM32L062K8 */
93-
/* #define STM32L063xx */ /*!< STM32L063C8, STM32L063R8 */
94-
/* #define STM32L071xx */ /*!< */
95-
/* #define STM32L072xx */ /*!< */
96-
/* #define STM32L073xx */ /*!< STM32L073V8, STM32L073VB, STM32L073RB, STM32L073VZ, STM32L073RZ Devices */
97-
/* #define STM32L081xx */ /*!< */
98-
/* #define STM32L082xx */ /*!< */
99-
/* #define STM32L083xx */ /*!< */
81+
/* #define STM32L062xx */ /*!< STM32L062K8 Devices */
82+
/* #define STM32L063xx */ /*!< STM32L063C8, STM32L063R8 Devices */
83+
/* #define STM32L071xx */ /*!< STM32L071V8, STM32L071K8, STM32L071VB, STM32L071RB, STM32L071CB, STM32L071KB, STM32L071VZ, STM32L071RZ, STM32L071CZ, STM32L071KZ, STM32L071C8 Devices */
84+
/* #define STM32L072xx */ /*!< STM32L072V8, STM32L072VB, STM32L072RB, STM32L072CB, STM32L072VZ, STM32L072RZ, STM32L072CZ, STM32L072KB, STM32L072KZ Devices */
85+
/* #define STM32L073xx */ /*!< STM32L073V8, STM32L073VB, STM32L073RB, STM32L073VZ, STM32L073RZ, STM32L073CB, STM32L073CZ Devices */
86+
/* #define STM32L081xx */ /*!< STM32L081CB, STM32L081CZ, STM32L081KZ Devices */
87+
/* #define STM32L082xx */ /*!< STM32L082KB, STM32L082KZ, STM32L082CZ Devices */
88+
/* #define STM32L083xx */ /*!< STM32L083V8, STM32L083VB, STM32L083RB, STM32L083VZ, STM32L083RZ, STM32L083CB, STM32L083CZ Devices */
10089
#endif
10190

10291
/* Tip: To avoid modifying this file each time you need to switch between these
@@ -112,11 +101,11 @@
112101
#endif /* USE_HAL_DRIVER */
113102

114103
/**
115-
* @brief CMSIS Device version number V1.7.1
104+
* @brief CMSIS Device version number
116105
*/
117106
#define __STM32L0xx_CMSIS_VERSION_MAIN (0x01) /*!< [31:24] main version */
118-
#define __STM32L0xx_CMSIS_VERSION_SUB1 (0x07) /*!< [23:16] sub1 version */
119-
#define __STM32L0xx_CMSIS_VERSION_SUB2 (0x02) /*!< [15:8] sub2 version */
107+
#define __STM32L0xx_CMSIS_VERSION_SUB1 (0x09) /*!< [23:16] sub1 version */
108+
#define __STM32L0xx_CMSIS_VERSION_SUB2 (0x00) /*!< [15:8] sub2 version */
120109
#define __STM32L0xx_CMSIS_VERSION_RC (0x00) /*!< [7:0] release candidate */
121110
#define __STM32L0xx_CMSIS_VERSION ((__STM32L0xx_CMSIS_VERSION_MAIN << 24)\
122111
|(__STM32L0xx_CMSIS_VERSION_SUB1 << 16)\
@@ -130,7 +119,15 @@
130119
/** @addtogroup Device_Included
131120
* @{
132121
*/
133-
#if defined(STM32L011xx)
122+
#if defined(STM32L010xB)
123+
#include "stm32l010xb.h"
124+
#elif defined(STM32L010x8)
125+
#include "stm32l010x8.h"
126+
#elif defined(STM32L010x6)
127+
#include "stm32l010x6.h"
128+
#elif defined(STM32L010x4)
129+
#include "stm32l010x4.h"
130+
#elif defined(STM32L011xx)
134131
#include "stm32l011xx.h"
135132
#elif defined(STM32L021xx)
136133
#include "stm32l021xx.h"
@@ -188,8 +185,8 @@ typedef enum
188185

189186
typedef enum
190187
{
191-
ERROR = 0,
192-
SUCCESS = !ERROR
188+
SUCCESS = 0,
189+
ERROR = !SUCCESS
193190
} ErrorStatus;
194191

195192
/**

system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h

+6-22
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,13 @@
66
******************************************************************************
77
* @attention
88
*
9-
* <h2><center>&copy; COPYRIGHT(c) 2016 STMicroelectronics</center></h2>
9+
* <h2><center>&copy; Copyright(c) 2016 STMicroelectronics.
10+
* All rights reserved.</center></h2>
1011
*
11-
* Redistribution and use in source and binary forms, with or without modification,
12-
* are permitted provided that the following conditions are met:
13-
* 1. Redistributions of source code must retain the above copyright notice,
14-
* this list of conditions and the following disclaimer.
15-
* 2. Redistributions in binary form must reproduce the above copyright notice,
16-
* this list of conditions and the following disclaimer in the documentation
17-
* and/or other materials provided with the distribution.
18-
* 3. Neither the name of STMicroelectronics nor the names of its contributors
19-
* may be used to endorse or promote products derived from this software
20-
* without specific prior written permission.
21-
*
22-
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
23-
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24-
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
25-
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
26-
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27-
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
28-
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
29-
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
30-
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31-
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
12+
* This software component is licensed by ST under BSD 3-Clause license,
13+
* the "License"; You may not use this file except in compliance with the
14+
* License. You may obtain a copy of the License at:
15+
* opensource.org/licenses/BSD-3-Clause
3216
*
3317
******************************************************************************
3418
*/

0 commit comments

Comments
 (0)