Skip to content

Commit e842494

Browse files
committed
system(l0): update STM32L0xx CMSIS Drivers to v1.9.4
Included in STM32CubeL0 FW v1.12.3 Signed-off-by: Frederic Pillon <[email protected]>
1 parent 875fe4c commit e842494

25 files changed

+3149
-1579
lines changed

Diff for: system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l010x4.h

+162-80
Large diffs are not rendered by default.

Diff for: system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l010x6.h

+162-80
Large diffs are not rendered by default.

Diff for: system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l010x8.h

+162-80
Large diffs are not rendered by default.

Diff for: system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l010xb.h

+162-80
Large diffs are not rendered by default.

Diff for: system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l011xx.h

+162-80
Large diffs are not rendered by default.

Diff for: system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l021xx.h

+162-80
Large diffs are not rendered by default.

Diff for: system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h

+162-80
Large diffs are not rendered by default.

Diff for: system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l041xx.h

+162-80
Large diffs are not rendered by default.

Diff for: system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l051xx.h

+162-80
Large diffs are not rendered by default.

Diff for: system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l052xx.h

+162-80
Large diffs are not rendered by default.

Diff for: system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l053xx.h

+162-80
Large diffs are not rendered by default.

Diff for: system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l062xx.h

+162-80
Large diffs are not rendered by default.

Diff for: system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l063xx.h

+162-80
Large diffs are not rendered by default.

Diff for: system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l071xx.h

+162-80
Large diffs are not rendered by default.

Diff for: system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l072xx.h

+162-80
Large diffs are not rendered by default.

Diff for: system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l073xx.h

+162-80
Large diffs are not rendered by default.

Diff for: system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l081xx.h

+162-80
Large diffs are not rendered by default.

Diff for: system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l082xx.h

+162-80
Large diffs are not rendered by default.

Diff for: system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l083xx.h

+162-80
Large diffs are not rendered by default.

Diff for: system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
*/
104104
#define __STM32L0xx_CMSIS_VERSION_MAIN (0x01) /*!< [31:24] main version */
105105
#define __STM32L0xx_CMSIS_VERSION_SUB1 (0x09) /*!< [23:16] sub1 version */
106-
#define __STM32L0xx_CMSIS_VERSION_SUB2 (0x03) /*!< [15:8] sub2 version */
106+
#define __STM32L0xx_CMSIS_VERSION_SUB2 (0x04) /*!< [15:8] sub2 version */
107107
#define __STM32L0xx_CMSIS_VERSION_RC (0x00) /*!< [7:0] release candidate */
108108
#define __STM32L0xx_CMSIS_VERSION ((__STM32L0xx_CMSIS_VERSION_MAIN << 24)\
109109
|(__STM32L0xx_CMSIS_VERSION_SUB1 << 16)\

Diff for: system/Drivers/CMSIS/Device/ST/STM32L0xx/README.md

+13-12
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
1-
# STM32CubeG4 CMSIS Device MCU Component
1+
# STM32CubeL0 CMSIS Device MCU Component
2+
3+
![latest tag](https://img.shields.io/github/v/tag/STMicroelectronics/cmsis_device_l0.svg?color=brightgreen)
24

35
## Overview
46

57
**STM32Cube** is an STMicroelectronics original initiative to ease the developers life by reducing efforts, time and cost.
68

7-
**STM32Cube** covers the overall STM32 products portfolio. It includes a comprehensive embedded software platform, delivered for each STM32 series.
8-
* The CMSIS modules (core and device) corresponding to the ARM(tm) core implemented in this STM32 product
9-
* The STM32 HAL-LL drivers : an abstraction drivers layer, the API ensuring maximized portability across the STM32 portfolio
10-
* The BSP Drivers of each evaluation or demonstration board provided by this STM32 series
11-
* A consistent set of middlewares components such as RTOS, USB, FatFS, Graphics, STM32_TouchSensing_Library ...
12-
* A full set of software projects (basic examples, applications or demonstrations) for each board provided by this STM32 series
9+
**STM32Cube** covers the overall STM32 products portfolio. It includes a comprehensive embedded software platform delivered for each STM32 series.
10+
* The CMSIS modules (core and device) corresponding to the ARM(tm) core implemented in this STM32 product.
11+
* The STM32 HAL-LL drivers, an abstraction layer offering a set of APIs ensuring maximized portability across the STM32 portfolio.
12+
* The BSP drivers of each evaluation, discovery, or nucleo board provided for this STM32 series.
1313

14-
Two models of publication are proposed for the STM32Cube embedded software :
15-
* The monolithic **MCU Package** : all STM32Cube software modules of one STM32 series are present (Drivers, Middlewares, Projects, Utilities) in the repo (usual name **STM32Cubexx**, xx corresponding to the STM32 series)
16-
* The **MCU component** : progressively from November 2019, each STM32Cube software module being part of the STM32Cube MCU Package, will be delivered as an individual repo, allowing the user to select and get only the required software functions.
14+
* A consistent set of middleware libraries such as RTOS, USB, FatFS, graphics, touch sensing library...
15+
* A full set of software projects (basic examples, applications, and demonstrations) for each board provided for this STM32 series.
16+
Two models of publication are proposed for the STM32Cube embedded software:
17+
* The monolithic **MCU Package**: all STM32Cube software modules of one STM32 series are present (Drivers, Middleware, Projects, Utilities) in the repository (usual name **STM32Cubexx**, xx corresponding to the STM32 series).
18+
* The **MCU component**: each STM32Cube software module being part of the STM32Cube MCU Package, is delivered as an individual repository, allowing the user to select and get only the required software functions.
1719

1820
## Description
1921

@@ -30,6 +32,5 @@ It is **crucial** that you use a consistent set of versions for the CMSIS Core -
3032
The full **STM32CubeL0** MCU package is available [here](https://github.com/STMicroelectronics/STM32CubeL0).
3133

3234
## Troubleshooting
33-
If you have any issue with the **Software content** of this repo, you can [file an issue on Github](https://github.com/STMicroelectronics/cmsis_device_l0/issues/new).
3435

35-
For any other question related to the product, the tools, the environment, you can submit a topic on the [ST Community/STM32 MCUs forum](https://community.st.com/s/group/0F90X000000AXsASAW/stm32-mcus).
36+
Please refer to the [CONTRIBUTING.md](CONTRIBUTING.md) guide.

Diff for: system/Drivers/CMSIS/Device/ST/STM32L0xx/Release_Notes.html

+52-41
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,23 @@ <h1 id="purpose">Purpose</h1>
4646
<div class="col-sm-12 col-lg-8">
4747
<h1 id="update-history">Update History</h1>
4848
<div class="collapse">
49-
<input type="checkbox" id="collapse-section16" checked aria-hidden="true"> <label for="collapse-section16" aria-hidden="true">V1.9.3 / 27-January-2023</label>
49+
<input type="checkbox" id="collapse-section17" checked aria-hidden="true"> <label for="collapse-section17" aria-hidden="true">V1.9.4 / 07-March-2025</label>
5050
<div>
5151
<h2 id="main-changes">Main Changes</h2>
5252
<h3 id="maintenance-release">Maintenance release</h3>
5353
<h2 id="contents">Contents</h2>
5454
<ul>
55+
<li>Align GPIO_OSPEEDR Register Bits Naming with Reference Manual.</li>
56+
</ul>
57+
</div>
58+
</div>
59+
<div class="collapse">
60+
<input type="checkbox" id="collapse-section16" aria-hidden="true"> <label for="collapse-section16" aria-hidden="true">V1.9.3 / 27-January-2023</label>
61+
<div>
62+
<h2 id="main-changes-1">Main Changes</h2>
63+
<h3 id="maintenance-release-1">Maintenance release</h3>
64+
<h2 id="contents-1">Contents</h2>
65+
<ul>
5566
<li>All source files: update disclaimer to add reference to the new license agreement.</li>
5667
<li>Fix inconsistent IRQn_Type enumeration for supervisor call exception with alias for compatibility.</li>
5768
<li>Update the GCC startup file to be aligned to IAR/Keil IDE.</li>
@@ -61,9 +72,9 @@ <h2 id="contents">Contents</h2>
6172
<div class="collapse">
6273
<input type="checkbox" id="collapse-section15" aria-hidden="true"> <label for="collapse-section15" aria-hidden="true">V1.9.2 / 16-July-2021</label>
6374
<div>
64-
<h2 id="main-changes-1">Main Changes</h2>
65-
<h3 id="maintenance-release-1">Maintenance release</h3>
66-
<h2 id="contents-1">Contents</h2>
75+
<h2 id="main-changes-2">Main Changes</h2>
76+
<h3 id="maintenance-release-2">Maintenance release</h3>
77+
<h2 id="contents-2">Contents</h2>
6778
<ul>
6879
<li>Add new atomic register access macros in stm32l0xx.h file.</li>
6980
<li>Add LSI maximum startup time datasheet value: LSI_STARTUP_TIME.</li>
@@ -73,9 +84,9 @@ <h2 id="contents-1">Contents</h2>
7384
<div class="collapse">
7485
<input type="checkbox" id="collapse-section14" aria-hidden="true"> <label for="collapse-section14" aria-hidden="true">V1.9.1 / 28-October-2020</label>
7586
<div>
76-
<h2 id="main-changes-2">Main Changes</h2>
77-
<h3 id="maintenance-release-2">Maintenance release</h3>
78-
<h2 id="contents-2">Contents</h2>
87+
<h2 id="main-changes-3">Main Changes</h2>
88+
<h3 id="maintenance-release-3">Maintenance release</h3>
89+
<h2 id="contents-3">Contents</h2>
7990
<ul>
8091
<li>system_stm32l0xx.c
8192
<ul>
@@ -94,10 +105,10 @@ <h2 id="contents-2">Contents</h2>
94105
<div class="collapse">
95106
<input type="checkbox" id="collapse-section13" aria-hidden="true"> <label for="collapse-section13" aria-hidden="true">V1.9.0 / 26-October-2018</label>
96107
<div>
97-
<h2 id="main-changes-3">Main Changes</h2>
98-
<h3 id="maintenance-release-3">Maintenance release</h3>
108+
<h2 id="main-changes-4">Main Changes</h2>
109+
<h3 id="maintenance-release-4">Maintenance release</h3>
99110
<h3 id="first-release-supporting-l0-value-lines">First release supporting L0 Value Lines</h3>
100-
<h2 id="contents-3">Contents</h2>
111+
<h2 id="contents-4">Contents</h2>
101112
<ul>
102113
<li>Add the support of STM32L010xx devices
103114
<ul>
@@ -151,16 +162,16 @@ <h2 id="contents-3">Contents</h2>
151162
<div class="collapse">
152163
<input type="checkbox" id="collapse-section12" aria-hidden="true"> <label for="collapse-section12" aria-hidden="true">V1.8.0 / 12-January-2018</label>
153164
<div>
154-
<h2 id="main-changes-4">Main Changes</h2>
165+
<h2 id="main-changes-5">Main Changes</h2>
155166
<h3 id="internal-release">Internal release</h3>
156167
</div>
157168
</div>
158169
<div class="collapse">
159170
<input type="checkbox" id="collapse-section11" aria-hidden="true"> <label for="collapse-section11" aria-hidden="true">V1.7.2 / 25-August-2017</label>
160171
<div>
161-
<h2 id="main-changes-5">Main Changes</h2>
162-
<h3 id="maintenance-release-4">Maintenance release</h3>
163-
<h2 id="contents-4">Contents</h2>
172+
<h2 id="main-changes-6">Main Changes</h2>
173+
<h3 id="maintenance-release-5">Maintenance release</h3>
174+
<h2 id="contents-5">Contents</h2>
164175
<ul>
165176
<li>Removed DATE and VERSION fields from header files.</li>
166177
</ul>
@@ -169,9 +180,9 @@ <h2 id="contents-4">Contents</h2>
169180
<div class="collapse">
170181
<input type="checkbox" id="collapse-section10" aria-hidden="true"> <label for="collapse-section10" aria-hidden="true">V1.7.1 / 25-November-2016</label>
171182
<div>
172-
<h2 id="main-changes-6">Main Changes</h2>
173-
<h3 id="maintenance-release-5">Maintenance release</h3>
174-
<h2 id="contents-5">Contents</h2>
183+
<h2 id="main-changes-7">Main Changes</h2>
184+
<h3 id="maintenance-release-6">Maintenance release</h3>
185+
<h2 id="contents-6">Contents</h2>
175186
<ul>
176187
<li>Updated IS_COMP_COMMON_INSTANCE() macro.</li>
177188
<li>Corrected ADC_CFGR2_TOVS bit and mask definitions.</li>
@@ -181,9 +192,9 @@ <h2 id="contents-5">Contents</h2>
181192
<div class="collapse">
182193
<input type="checkbox" id="collapse-section9" aria-hidden="true"> <label for="collapse-section9" aria-hidden="true">V1.7.0 / 31-May-2016</label>
183194
<div>
184-
<h2 id="main-changes-7">Main Changes</h2>
185-
<h3 id="maintenance-release-6">Maintenance release</h3>
186-
<h2 id="contents-6">Contents</h2>
195+
<h2 id="main-changes-8">Main Changes</h2>
196+
<h3 id="maintenance-release-7">Maintenance release</h3>
197+
<h2 id="contents-7">Contents</h2>
187198
<ul>
188199
<li>Added Pos and Msk macros missing within the CMSIS stm32l083xx.h file.</li>
189200
<li>Added LCD_CR_BUFEN bit definition in LCD CR register for stm32l053xx, stm32l063xx, stm32l073xx, stm32l083xx devices.</li>
@@ -193,9 +204,9 @@ <h2 id="contents-6">Contents</h2>
193204
<div class="collapse">
194205
<input type="checkbox" id="collapse-section8" aria-hidden="true"> <label for="collapse-section8" aria-hidden="true">V1.6.0 / 15-April-2016</label>
195206
<div>
196-
<h2 id="main-changes-8">Main Changes</h2>
197-
<h3 id="maintenance-release-7">Maintenance release</h3>
198-
<h2 id="contents-7">Contents</h2>
207+
<h2 id="main-changes-9">Main Changes</h2>
208+
<h3 id="maintenance-release-8">Maintenance release</h3>
209+
<h2 id="contents-8">Contents</h2>
199210
<ul>
200211
<li>Add Pos and Msk macros within the CMSIS files.
201212
<ul>
@@ -233,9 +244,9 @@ <h2 id="contents-7">Contents</h2>
233244
<div class="collapse">
234245
<input type="checkbox" id="collapse-section7" aria-hidden="true"> <label for="collapse-section7" aria-hidden="true">V1.5.0 / 8-January-2016</label>
235246
<div>
236-
<h2 id="main-changes-9">Main Changes</h2>
237-
<h3 id="maintenance-release-8">Maintenance release</h3>
238-
<h2 id="contents-8">Contents</h2>
247+
<h2 id="main-changes-10">Main Changes</h2>
248+
<h3 id="maintenance-release-9">Maintenance release</h3>
249+
<h2 id="contents-9">Contents</h2>
239250
<ul>
240251
<li>MISRA C 2004 rule 5.1 and rule 10.6 compliance.</li>
241252
<li>Several renaming in order to be aligned with the Reference Manual.The list of the modification is listed hereafter :
@@ -282,12 +293,12 @@ <h2 id="contents-8">Contents</h2>
282293
<div class="collapse">
283294
<input type="checkbox" id="collapse-section6" aria-hidden="true"> <label for="collapse-section6" aria-hidden="true">V1.4.0 / 16-October-2015</label>
284295
<div>
285-
<h2 id="main-changes-10">Main Changes</h2>
286-
<h3 id="maintenance-release-9">Maintenance release</h3>
296+
<h2 id="main-changes-11">Main Changes</h2>
297+
<h3 id="maintenance-release-10">Maintenance release</h3>
287298
<ul>
288299
<li>Update all the files to support STM32L011xx and STM32L021xx.</li>
289300
</ul>
290-
<h2 id="contents-9">Contents</h2>
301+
<h2 id="contents-10">Contents</h2>
291302
<ul>
292303
<li>Remove the Debug Monitor handler from the startup files (not supported on L0).</li>
293304
<li>Renamings and usage of some aliases in order to be compliant with the RefManuals.</li>
@@ -297,12 +308,12 @@ <h2 id="contents-9">Contents</h2>
297308
<div class="collapse">
298309
<input type="checkbox" id="collapse-section5" aria-hidden="true"> <label for="collapse-section5" aria-hidden="true">V1.3.0 / 9-Sept-2015</label>
299310
<div>
300-
<h2 id="main-changes-11">Main Changes</h2>
301-
<h3 id="maintenance-release-10">Maintenance release</h3>
311+
<h2 id="main-changes-12">Main Changes</h2>
312+
<h3 id="maintenance-release-11">Maintenance release</h3>
302313
<ul>
303314
<li>Update all the files to support <strong>STM32L031xx</strong> and <strong>STM32L041xx</strong>.</li>
304315
</ul>
305-
<h2 id="contents-10">Contents</h2>
316+
<h2 id="contents-11">Contents</h2>
306317
<ul>
307318
<li>Several renamings in order to be compliant with the specifications.</li>
308319
<li>Adding of new bit definitions (COMP_CSR_COMP2LPTIM1IN1, SYSCFG_CFGR1_UFB, I2C_OAR2_x, LCD_CR_MUX_SEG, RTC_BKP_NUMBER)</li>
@@ -313,12 +324,12 @@ <h2 id="contents-10">Contents</h2>
313324
<div class="collapse">
314325
<input type="checkbox" id="collapse-section4" aria-hidden="true"> <label for="collapse-section4" aria-hidden="true">V1.2.0 / 6-February-2015</label>
315326
<div>
316-
<h2 id="main-changes-12">Main Changes</h2>
317-
<h3 id="maintenance-release-11">Maintenance release</h3>
327+
<h2 id="main-changes-13">Main Changes</h2>
328+
<h3 id="maintenance-release-12">Maintenance release</h3>
318329
<ul>
319330
<li>Added the set of CMSIS files for the <strong>STM32L07xx</strong> and <strong>STM32L08xx</strong> family</li>
320331
</ul>
321-
<h2 id="contents-11">Contents</h2>
332+
<h2 id="contents-12">Contents</h2>
322333
<ul>
323334
<li>Add IAR set of files STM32L073xx - STM32L072xx - STM32L071xx - STM32L083xx - STM32L082xx - STM32L081xx</li>
324335
<li>Added MDK-ARM startup files for L071xx, L072xx, L073xx, L081xx, L082xx, L083xx</li>
@@ -329,9 +340,9 @@ <h2 id="contents-11">Contents</h2>
329340
<div class="collapse">
330341
<input type="checkbox" id="collapse-section3" aria-hidden="true"> <label for="collapse-section3" aria-hidden="true">V1.1.0 / 18-June-2014</label>
331342
<div>
332-
<h2 id="main-changes-13">Main Changes</h2>
333-
<h3 id="maintenance-release-12">Maintenance release</h3>
334-
<h2 id="contents-12">Contents</h2>
343+
<h2 id="main-changes-14">Main Changes</h2>
344+
<h3 id="maintenance-release-13">Maintenance release</h3>
345+
<h2 id="contents-13">Contents</h2>
335346
<ul>
336347
<li><strong>Header files</strong>
337348
<ul>
@@ -364,9 +375,9 @@ <h2 id="contents-12">Contents</h2>
364375
<div class="collapse">
365376
<input type="checkbox" id="collapse-section2" aria-hidden="true"> <label for="collapse-section2" aria-hidden="true">V1.0.1 / 24-April-2014</label>
366377
<div>
367-
<h2 id="main-changes-14">Main Changes</h2>
378+
<h2 id="main-changes-15">Main Changes</h2>
368379
<h3 id="first-official-release">First official release</h3>
369-
<h2 id="contents-13">Contents</h2>
380+
<h2 id="contents-14">Contents</h2>
370381
<ul>
371382
<li>Update gcc startup files</li>
372383
</ul>
@@ -375,7 +386,7 @@ <h2 id="contents-13">Contents</h2>
375386
<div class="collapse">
376387
<input type="checkbox" id="collapse-section1" aria-hidden="true"> <label for="collapse-section1" aria-hidden="true">V1.0.0 / 22-April-2014</label>
377388
<div>
378-
<h2 id="main-changes-15">Main Changes</h2>
389+
<h2 id="main-changes-16">Main Changes</h2>
379390
<h3 id="first-official-release-1">First official release</h3>
380391
</div>
381392
</div>

Diff for: system/Drivers/CMSIS/Device/ST/STM32L0xx/Source/Templates/system_stm32l0xx.c

+4-4
Original file line numberDiff line numberDiff line change
@@ -90,14 +90,14 @@
9090
#if defined(VECT_TAB_SRAM)
9191
#define VECT_TAB_BASE_ADDRESS SRAM_BASE /*!< Vector Table base address field.
9292
This value must be a multiple of 0x200. */
93-
#define VECT_TAB_OFFSET 0x00000000U /*!< Vector Table base offset field.
94-
This value must be a multiple of 0x200. */
9593
#else
9694
#define VECT_TAB_BASE_ADDRESS FLASH_BASE /*!< Vector Table base address field.
9795
This value must be a multiple of 0x200. */
98-
#define VECT_TAB_OFFSET 0x00000000U /*!< Vector Table base offset field.
99-
This value must be a multiple of 0x200. */
10096
#endif /* VECT_TAB_SRAM */
97+
#if !defined(VECT_TAB_OFFSET)
98+
#define VECT_TAB_OFFSET 0x00000000U /*!< Vector Table offset field.
99+
This value must be a multiple of 0x200. */
100+
#endif /* VECT_TAB_OFFSET */
101101
#endif /* USER_VECT_TAB_ADDRESS */
102102

103103
/******************************************************************************/

Diff for: system/Drivers/CMSIS/Device/ST/STM32YYxx_CMSIS_version.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* STM32G4: 1.2.5
1212
* STM32H5: 1.4.0
1313
* STM32H7: 1.10.6
14-
* STM32L0: 1.9.3
14+
* STM32L0: 1.9.4
1515
* STM32L1: 2.3.4
1616
* STM32L4: 1.7.4
1717
* STM32L5: 1.0.6

0 commit comments

Comments
 (0)