Skip to content

chore(l0): update to latest STM32CubeL0 v1.12.3 #2700

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 26, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
242 changes: 162 additions & 80 deletions system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l010x4.h

Large diffs are not rendered by default.

242 changes: 162 additions & 80 deletions system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l010x6.h

Large diffs are not rendered by default.

242 changes: 162 additions & 80 deletions system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l010x8.h

Large diffs are not rendered by default.

242 changes: 162 additions & 80 deletions system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l010xb.h

Large diffs are not rendered by default.

242 changes: 162 additions & 80 deletions system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l011xx.h

Large diffs are not rendered by default.

242 changes: 162 additions & 80 deletions system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l021xx.h

Large diffs are not rendered by default.

242 changes: 162 additions & 80 deletions system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h

Large diffs are not rendered by default.

242 changes: 162 additions & 80 deletions system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l041xx.h

Large diffs are not rendered by default.

242 changes: 162 additions & 80 deletions system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l051xx.h

Large diffs are not rendered by default.

242 changes: 162 additions & 80 deletions system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l052xx.h

Large diffs are not rendered by default.

242 changes: 162 additions & 80 deletions system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l053xx.h

Large diffs are not rendered by default.

242 changes: 162 additions & 80 deletions system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l062xx.h

Large diffs are not rendered by default.

242 changes: 162 additions & 80 deletions system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l063xx.h

Large diffs are not rendered by default.

242 changes: 162 additions & 80 deletions system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l071xx.h

Large diffs are not rendered by default.

242 changes: 162 additions & 80 deletions system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l072xx.h

Large diffs are not rendered by default.

242 changes: 162 additions & 80 deletions system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l073xx.h

Large diffs are not rendered by default.

242 changes: 162 additions & 80 deletions system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l081xx.h

Large diffs are not rendered by default.

242 changes: 162 additions & 80 deletions system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l082xx.h

Large diffs are not rendered by default.

242 changes: 162 additions & 80 deletions system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l083xx.h

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
*/
#define __STM32L0xx_CMSIS_VERSION_MAIN (0x01) /*!< [31:24] main version */
#define __STM32L0xx_CMSIS_VERSION_SUB1 (0x09) /*!< [23:16] sub1 version */
#define __STM32L0xx_CMSIS_VERSION_SUB2 (0x03) /*!< [15:8] sub2 version */
#define __STM32L0xx_CMSIS_VERSION_SUB2 (0x04) /*!< [15:8] sub2 version */
#define __STM32L0xx_CMSIS_VERSION_RC (0x00) /*!< [7:0] release candidate */
#define __STM32L0xx_CMSIS_VERSION ((__STM32L0xx_CMSIS_VERSION_MAIN << 24)\
|(__STM32L0xx_CMSIS_VERSION_SUB1 << 16)\
Expand Down
25 changes: 13 additions & 12 deletions system/Drivers/CMSIS/Device/ST/STM32L0xx/README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
# STM32CubeG4 CMSIS Device MCU Component
# STM32CubeL0 CMSIS Device MCU Component

![latest tag](https://img.shields.io/github/v/tag/STMicroelectronics/cmsis_device_l0.svg?color=brightgreen)

## Overview

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

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

Two models of publication are proposed for the STM32Cube embedded software :
* 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)
* 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.
* A consistent set of middleware libraries such as RTOS, USB, FatFS, graphics, touch sensing library...
* A full set of software projects (basic examples, applications, and demonstrations) for each board provided for this STM32 series.
Two models of publication are proposed for the STM32Cube embedded software:
* 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).
* 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.

## Description

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

## Troubleshooting
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).

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).
Please refer to the [CONTRIBUTING.md](CONTRIBUTING.md) guide.
93 changes: 52 additions & 41 deletions system/Drivers/CMSIS/Device/ST/STM32L0xx/Release_Notes.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,23 @@ <h1 id="purpose">Purpose</h1>
<div class="col-sm-12 col-lg-8">
<h1 id="update-history">Update History</h1>
<div class="collapse">
<input type="checkbox" id="collapse-section16" checked aria-hidden="true"> <label for="collapse-section16" aria-hidden="true">V1.9.3 / 27-January-2023</label>
<input type="checkbox" id="collapse-section17" checked aria-hidden="true"> <label for="collapse-section17" aria-hidden="true">V1.9.4 / 07-March-2025</label>
<div>
<h2 id="main-changes">Main Changes</h2>
<h3 id="maintenance-release">Maintenance release</h3>
<h2 id="contents">Contents</h2>
<ul>
<li>Align GPIO_OSPEEDR Register Bits Naming with Reference Manual.</li>
</ul>
</div>
</div>
<div class="collapse">
<input type="checkbox" id="collapse-section16" aria-hidden="true"> <label for="collapse-section16" aria-hidden="true">V1.9.3 / 27-January-2023</label>
<div>
<h2 id="main-changes-1">Main Changes</h2>
<h3 id="maintenance-release-1">Maintenance release</h3>
<h2 id="contents-1">Contents</h2>
<ul>
<li>All source files: update disclaimer to add reference to the new license agreement.</li>
<li>Fix inconsistent IRQn_Type enumeration for supervisor call exception with alias for compatibility.</li>
<li>Update the GCC startup file to be aligned to IAR/Keil IDE.</li>
Expand All @@ -61,9 +72,9 @@ <h2 id="contents">Contents</h2>
<div class="collapse">
<input type="checkbox" id="collapse-section15" aria-hidden="true"> <label for="collapse-section15" aria-hidden="true">V1.9.2 / 16-July-2021</label>
<div>
<h2 id="main-changes-1">Main Changes</h2>
<h3 id="maintenance-release-1">Maintenance release</h3>
<h2 id="contents-1">Contents</h2>
<h2 id="main-changes-2">Main Changes</h2>
<h3 id="maintenance-release-2">Maintenance release</h3>
<h2 id="contents-2">Contents</h2>
<ul>
<li>Add new atomic register access macros in stm32l0xx.h file.</li>
<li>Add LSI maximum startup time datasheet value: LSI_STARTUP_TIME.</li>
Expand All @@ -73,9 +84,9 @@ <h2 id="contents-1">Contents</h2>
<div class="collapse">
<input type="checkbox" id="collapse-section14" aria-hidden="true"> <label for="collapse-section14" aria-hidden="true">V1.9.1 / 28-October-2020</label>
<div>
<h2 id="main-changes-2">Main Changes</h2>
<h3 id="maintenance-release-2">Maintenance release</h3>
<h2 id="contents-2">Contents</h2>
<h2 id="main-changes-3">Main Changes</h2>
<h3 id="maintenance-release-3">Maintenance release</h3>
<h2 id="contents-3">Contents</h2>
<ul>
<li>system_stm32l0xx.c
<ul>
Expand All @@ -94,10 +105,10 @@ <h2 id="contents-2">Contents</h2>
<div class="collapse">
<input type="checkbox" id="collapse-section13" aria-hidden="true"> <label for="collapse-section13" aria-hidden="true">V1.9.0 / 26-October-2018</label>
<div>
<h2 id="main-changes-3">Main Changes</h2>
<h3 id="maintenance-release-3">Maintenance release</h3>
<h2 id="main-changes-4">Main Changes</h2>
<h3 id="maintenance-release-4">Maintenance release</h3>
<h3 id="first-release-supporting-l0-value-lines">First release supporting L0 Value Lines</h3>
<h2 id="contents-3">Contents</h2>
<h2 id="contents-4">Contents</h2>
<ul>
<li>Add the support of STM32L010xx devices
<ul>
Expand Down Expand Up @@ -151,16 +162,16 @@ <h2 id="contents-3">Contents</h2>
<div class="collapse">
<input type="checkbox" id="collapse-section12" aria-hidden="true"> <label for="collapse-section12" aria-hidden="true">V1.8.0 / 12-January-2018</label>
<div>
<h2 id="main-changes-4">Main Changes</h2>
<h2 id="main-changes-5">Main Changes</h2>
<h3 id="internal-release">Internal release</h3>
</div>
</div>
<div class="collapse">
<input type="checkbox" id="collapse-section11" aria-hidden="true"> <label for="collapse-section11" aria-hidden="true">V1.7.2 / 25-August-2017</label>
<div>
<h2 id="main-changes-5">Main Changes</h2>
<h3 id="maintenance-release-4">Maintenance release</h3>
<h2 id="contents-4">Contents</h2>
<h2 id="main-changes-6">Main Changes</h2>
<h3 id="maintenance-release-5">Maintenance release</h3>
<h2 id="contents-5">Contents</h2>
<ul>
<li>Removed DATE and VERSION fields from header files.</li>
</ul>
Expand All @@ -169,9 +180,9 @@ <h2 id="contents-4">Contents</h2>
<div class="collapse">
<input type="checkbox" id="collapse-section10" aria-hidden="true"> <label for="collapse-section10" aria-hidden="true">V1.7.1 / 25-November-2016</label>
<div>
<h2 id="main-changes-6">Main Changes</h2>
<h3 id="maintenance-release-5">Maintenance release</h3>
<h2 id="contents-5">Contents</h2>
<h2 id="main-changes-7">Main Changes</h2>
<h3 id="maintenance-release-6">Maintenance release</h3>
<h2 id="contents-6">Contents</h2>
<ul>
<li>Updated IS_COMP_COMMON_INSTANCE() macro.</li>
<li>Corrected ADC_CFGR2_TOVS bit and mask definitions.</li>
Expand All @@ -181,9 +192,9 @@ <h2 id="contents-5">Contents</h2>
<div class="collapse">
<input type="checkbox" id="collapse-section9" aria-hidden="true"> <label for="collapse-section9" aria-hidden="true">V1.7.0 / 31-May-2016</label>
<div>
<h2 id="main-changes-7">Main Changes</h2>
<h3 id="maintenance-release-6">Maintenance release</h3>
<h2 id="contents-6">Contents</h2>
<h2 id="main-changes-8">Main Changes</h2>
<h3 id="maintenance-release-7">Maintenance release</h3>
<h2 id="contents-7">Contents</h2>
<ul>
<li>Added Pos and Msk macros missing within the CMSIS stm32l083xx.h file.</li>
<li>Added LCD_CR_BUFEN bit definition in LCD CR register for stm32l053xx, stm32l063xx, stm32l073xx, stm32l083xx devices.</li>
Expand All @@ -193,9 +204,9 @@ <h2 id="contents-6">Contents</h2>
<div class="collapse">
<input type="checkbox" id="collapse-section8" aria-hidden="true"> <label for="collapse-section8" aria-hidden="true">V1.6.0 / 15-April-2016</label>
<div>
<h2 id="main-changes-8">Main Changes</h2>
<h3 id="maintenance-release-7">Maintenance release</h3>
<h2 id="contents-7">Contents</h2>
<h2 id="main-changes-9">Main Changes</h2>
<h3 id="maintenance-release-8">Maintenance release</h3>
<h2 id="contents-8">Contents</h2>
<ul>
<li>Add Pos and Msk macros within the CMSIS files.
<ul>
Expand Down Expand Up @@ -233,9 +244,9 @@ <h2 id="contents-7">Contents</h2>
<div class="collapse">
<input type="checkbox" id="collapse-section7" aria-hidden="true"> <label for="collapse-section7" aria-hidden="true">V1.5.0 / 8-January-2016</label>
<div>
<h2 id="main-changes-9">Main Changes</h2>
<h3 id="maintenance-release-8">Maintenance release</h3>
<h2 id="contents-8">Contents</h2>
<h2 id="main-changes-10">Main Changes</h2>
<h3 id="maintenance-release-9">Maintenance release</h3>
<h2 id="contents-9">Contents</h2>
<ul>
<li>MISRA C 2004 rule 5.1 and rule 10.6 compliance.</li>
<li>Several renaming in order to be aligned with the Reference Manual.The list of the modification is listed hereafter :
Expand Down Expand Up @@ -282,12 +293,12 @@ <h2 id="contents-8">Contents</h2>
<div class="collapse">
<input type="checkbox" id="collapse-section6" aria-hidden="true"> <label for="collapse-section6" aria-hidden="true">V1.4.0 / 16-October-2015</label>
<div>
<h2 id="main-changes-10">Main Changes</h2>
<h3 id="maintenance-release-9">Maintenance release</h3>
<h2 id="main-changes-11">Main Changes</h2>
<h3 id="maintenance-release-10">Maintenance release</h3>
<ul>
<li>Update all the files to support STM32L011xx and STM32L021xx.</li>
</ul>
<h2 id="contents-9">Contents</h2>
<h2 id="contents-10">Contents</h2>
<ul>
<li>Remove the Debug Monitor handler from the startup files (not supported on L0).</li>
<li>Renamings and usage of some aliases in order to be compliant with the RefManuals.</li>
Expand All @@ -297,12 +308,12 @@ <h2 id="contents-9">Contents</h2>
<div class="collapse">
<input type="checkbox" id="collapse-section5" aria-hidden="true"> <label for="collapse-section5" aria-hidden="true">V1.3.0 / 9-Sept-2015</label>
<div>
<h2 id="main-changes-11">Main Changes</h2>
<h3 id="maintenance-release-10">Maintenance release</h3>
<h2 id="main-changes-12">Main Changes</h2>
<h3 id="maintenance-release-11">Maintenance release</h3>
<ul>
<li>Update all the files to support <strong>STM32L031xx</strong> and <strong>STM32L041xx</strong>.</li>
</ul>
<h2 id="contents-10">Contents</h2>
<h2 id="contents-11">Contents</h2>
<ul>
<li>Several renamings in order to be compliant with the specifications.</li>
<li>Adding of new bit definitions (COMP_CSR_COMP2LPTIM1IN1, SYSCFG_CFGR1_UFB, I2C_OAR2_x, LCD_CR_MUX_SEG, RTC_BKP_NUMBER)</li>
Expand All @@ -313,12 +324,12 @@ <h2 id="contents-10">Contents</h2>
<div class="collapse">
<input type="checkbox" id="collapse-section4" aria-hidden="true"> <label for="collapse-section4" aria-hidden="true">V1.2.0 / 6-February-2015</label>
<div>
<h2 id="main-changes-12">Main Changes</h2>
<h3 id="maintenance-release-11">Maintenance release</h3>
<h2 id="main-changes-13">Main Changes</h2>
<h3 id="maintenance-release-12">Maintenance release</h3>
<ul>
<li>Added the set of CMSIS files for the <strong>STM32L07xx</strong> and <strong>STM32L08xx</strong> family</li>
</ul>
<h2 id="contents-11">Contents</h2>
<h2 id="contents-12">Contents</h2>
<ul>
<li>Add IAR set of files STM32L073xx - STM32L072xx - STM32L071xx - STM32L083xx - STM32L082xx - STM32L081xx</li>
<li>Added MDK-ARM startup files for L071xx, L072xx, L073xx, L081xx, L082xx, L083xx</li>
Expand All @@ -329,9 +340,9 @@ <h2 id="contents-11">Contents</h2>
<div class="collapse">
<input type="checkbox" id="collapse-section3" aria-hidden="true"> <label for="collapse-section3" aria-hidden="true">V1.1.0 / 18-June-2014</label>
<div>
<h2 id="main-changes-13">Main Changes</h2>
<h3 id="maintenance-release-12">Maintenance release</h3>
<h2 id="contents-12">Contents</h2>
<h2 id="main-changes-14">Main Changes</h2>
<h3 id="maintenance-release-13">Maintenance release</h3>
<h2 id="contents-13">Contents</h2>
<ul>
<li><strong>Header files</strong>
<ul>
Expand Down Expand Up @@ -364,9 +375,9 @@ <h2 id="contents-12">Contents</h2>
<div class="collapse">
<input type="checkbox" id="collapse-section2" aria-hidden="true"> <label for="collapse-section2" aria-hidden="true">V1.0.1 / 24-April-2014</label>
<div>
<h2 id="main-changes-14">Main Changes</h2>
<h2 id="main-changes-15">Main Changes</h2>
<h3 id="first-official-release">First official release</h3>
<h2 id="contents-13">Contents</h2>
<h2 id="contents-14">Contents</h2>
<ul>
<li>Update gcc startup files</li>
</ul>
Expand All @@ -375,7 +386,7 @@ <h2 id="contents-13">Contents</h2>
<div class="collapse">
<input type="checkbox" id="collapse-section1" aria-hidden="true"> <label for="collapse-section1" aria-hidden="true">V1.0.0 / 22-April-2014</label>
<div>
<h2 id="main-changes-15">Main Changes</h2>
<h2 id="main-changes-16">Main Changes</h2>
<h3 id="first-official-release-1">First official release</h3>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,14 @@
#if defined(VECT_TAB_SRAM)
#define VECT_TAB_BASE_ADDRESS SRAM_BASE /*!< Vector Table base address field.
This value must be a multiple of 0x200. */
#define VECT_TAB_OFFSET 0x00000000U /*!< Vector Table base offset field.
This value must be a multiple of 0x200. */
#else
#define VECT_TAB_BASE_ADDRESS FLASH_BASE /*!< Vector Table base address field.
This value must be a multiple of 0x200. */
#define VECT_TAB_OFFSET 0x00000000U /*!< Vector Table base offset field.
This value must be a multiple of 0x200. */
#endif /* VECT_TAB_SRAM */
#if !defined(VECT_TAB_OFFSET)
#define VECT_TAB_OFFSET 0x00000000U /*!< Vector Table offset field.
This value must be a multiple of 0x200. */
#endif /* VECT_TAB_OFFSET */
#endif /* USER_VECT_TAB_ADDRESS */

/******************************************************************************/
Expand Down
2 changes: 1 addition & 1 deletion system/Drivers/CMSIS/Device/ST/STM32YYxx_CMSIS_version.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* STM32G4: 1.2.5
* STM32H5: 1.4.0
* STM32H7: 1.10.6
* STM32L0: 1.9.3
* STM32L0: 1.9.4
* STM32L1: 2.3.4
* STM32L4: 1.7.4
* STM32L5: 1.0.6
Expand Down
Loading