Skip to content

system(G0) update STM32G0xx HAL Drivers to v1.4.4 and CMSIS Drivers to v1.4.2 #1688

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
Apr 11, 2022
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
312 changes: 208 additions & 104 deletions system/Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g030xx.h

Large diffs are not rendered by default.

312 changes: 208 additions & 104 deletions system/Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h

Large diffs are not rendered by default.

312 changes: 208 additions & 104 deletions system/Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g041xx.h

Large diffs are not rendered by default.

312 changes: 208 additions & 104 deletions system/Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g050xx.h

Large diffs are not rendered by default.

312 changes: 208 additions & 104 deletions system/Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g051xx.h

Large diffs are not rendered by default.

312 changes: 208 additions & 104 deletions system/Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g061xx.h

Large diffs are not rendered by default.

312 changes: 208 additions & 104 deletions system/Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g070xx.h

Large diffs are not rendered by default.

310 changes: 205 additions & 105 deletions system/Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g071xx.h

Large diffs are not rendered by default.

310 changes: 205 additions & 105 deletions system/Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g081xx.h

Large diffs are not rendered by default.

319 changes: 210 additions & 109 deletions system/Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0b0xx.h

Large diffs are not rendered by default.

317 changes: 207 additions & 110 deletions system/Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0b1xx.h

Large diffs are not rendered by default.

317 changes: 207 additions & 110 deletions system/Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0c1xx.h

Large diffs are not rendered by default.

7 changes: 1 addition & 6 deletions system/Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
*/
#define __STM32G0_CMSIS_VERSION_MAIN (0x01U) /*!< [31:24] main version */
#define __STM32G0_CMSIS_VERSION_SUB1 (0x04U) /*!< [23:16] sub1 version */
#define __STM32G0_CMSIS_VERSION_SUB2 (0x01U) /*!< [15:8] sub2 version */
#define __STM32G0_CMSIS_VERSION_SUB2 (0x02U) /*!< [15:8] sub2 version */
#define __STM32G0_CMSIS_VERSION_RC (0x00U) /*!< [7:0] release candidate */
#define __STM32G0_CMSIS_VERSION ((__STM32G0_CMSIS_VERSION_MAIN << 24)\
|(__STM32G0_CMSIS_VERSION_SUB1 << 16)\
Expand Down Expand Up @@ -242,8 +242,3 @@ typedef enum
/**
* @}
*/




/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,3 @@ extern void SystemCoreClockUpdate(void);
/**
* @}
*/
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
23 changes: 11 additions & 12 deletions system/Drivers/CMSIS/Device/ST/STM32G0xx/README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
# STM32CubeG0 CMSIS Device MCU Component

![latest tag](https://img.shields.io/github/v/tag/STMicroelectronics/cmsis_device_g0.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 layer offering a set of APIs ensuring maximized portability across the STM32 portfolio.
* The BSP drivers of each evaluation, demonstration or nucleo board provided for this STM32 series.
* 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.
**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

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.
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.

## Description

Expand All @@ -35,10 +33,11 @@ Tag v1.2.0 | Tag v4.5_cm0 | Tag v1.2.0
Tag v1.3.0 | Tag v5.4.0_cm0 | Tag v1.3.0
Tag v1.4.0 | Tag v5.6.0_cm0 | Tag v1.4.0
Tag v1.4.1 | Tag v5.6.0_cm0 | Tag v1.5.0
Tag v1.4.2 | Tag v5.6.0_cm0 | Tag v1.5.1

The full **STM32CubeG0** MCU package is available [here](https://github.com/STMicroelectronics/STM32CubeG0).

## 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_g0/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/topic/0TO0X000000BSqSWAW/stm32-mcus).
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).
61 changes: 45 additions & 16 deletions system/Drivers/CMSIS/Device/ST/STM32G0xx/Release_Notes.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,39 @@ <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-section6" checked aria-hidden="true"> <label for="collapse-section6" area-hidden="true">V1.4.1 / 17-June-2021 </label>
<input type="checkbox" id="collapse-section7" checked aria-hidden="true"> <label for="collapse-section7" area-hidden="true">V1.4.2 / 01-April-2022 </label>
<div>
<h2 id="main-changes">Main Changes</h2>
<ul>
<li>Rename ADC TRx registers AWDxTR to be compliant with the reference manual.</li>
<li>Fix Doxygen grouping issues.</li>
<li>Update IRQ handler enumeration structure to be aligned with template CMSIS device.h file defined by ARM.
<ul>
<li>Rename SVC_IRQn to SVCall_IRQn:</li>
</ul></li>
<li>Add the following aliases for IRQ number definition to ensure compatibility across STM32 Series;
<ul>
<li>#define SVC_IRQn SVCall_IRQn</li>
</ul></li>
</ul>
<h2 id="contents">Contents</h2>
<ul>
<li>CMSIS devices files for stm32g0B0xx, stm32g0B1xx, stm32g0C1xx devices.</li>
<li>CMSIS devices files for stm32g050xx, stm32g051xx, stm32g061xx devices.</li>
<li>CMSIS devices files for stm32g030xx, stm32g031xx, stm32g041xx devices.</li>
<li>CMSIS devices files for stm32g070xx, stm32g071xx, stm32g081xx devices.</li>
</ul>
<h2 id="known-limitations">Known Limitations</h2>
<ul>
<li>None</li>
</ul>
</div>
</div>
<div class="collapse">
<input type="checkbox" id="collapse-section6" aria-hidden="true"> <label for="collapse-section6" area-hidden="true">V1.4.1 / 17-June-2021 </label>
<div>
<h2 id="main-changes-1">Main Changes</h2>
<ul>
<li>Update to remove wrong bits defined for DMAMUX Req ID.</li>
<li>Protect Vector table modification following SRAM or FLASH preprocessor directive by a generic preprocessor directive : USER_VECT_TAB_ADDRESS.</li>
<li>Add new atomic register access macros in stm32g0xx.h file.</li>
Expand All @@ -60,14 +89,14 @@ <h2 id="main-changes">Main Changes</h2>
<li>Update header files with new license format</li>
</ul></li>
</ul>
<h2 id="contents">Contents</h2>
<h2 id="contents-1">Contents</h2>
<ul>
<li>CMSIS devices files for stm32g0B0xx, stm32g0B1xx, stm32g0C1xx devices.</li>
<li>CMSIS devices files for stm32g050xx, stm32g051xx, stm32g061xx devices.</li>
<li>CMSIS devices files for stm32g030xx, stm32g031xx, stm32g041xx devices.</li>
<li>CMSIS devices files for stm32g070xx, stm32g071xx, stm32g081xx devices.</li>
</ul>
<h2 id="known-limitations">Known Limitations</h2>
<h2 id="known-limitations-1">Known Limitations</h2>
<ul>
<li>None</li>
</ul>
Expand All @@ -76,7 +105,7 @@ <h2 id="known-limitations">Known Limitations</h2>
<div class="collapse">
<input type="checkbox" id="collapse-section5" aria-hidden="true"> <label for="collapse-section5" area-hidden="true">V1.4.0 / 29-October-2020 </label>
<div>
<h2 id="main-changes-1">Main Changes</h2>
<h2 id="main-changes-2">Main Changes</h2>
<h3 id="maintenance-release-and-product-update">Maintenance release and Product Update</h3>
<p>Official release for STM32G0xx CMSIS introducing <strong>stm32g0b0xx, stm32g0b1xx, stm32g0c1xx devices</strong> and <strong>stm32g050xx, stm32g051xx, stm32g061xx devices.</strong></p>
<p>Maintenance release for STM32G0xx CMSIS supporting stm32g030xx, stm32g031xx, stm32g041xx, stm32g070xx, stm32g071xx, stm32g081xx devices.</p>
Expand Down Expand Up @@ -157,19 +186,19 @@ <h3 id="maintenance-release-and-product-update">Maintenance release and Product
</tr>
</tbody>
</table>
<h2 id="contents-1">Contents</h2>
<h2 id="contents-2">Contents</h2>
<p>-<strong>CMSIS devices files for stm32g0B0xx, stm32g0B1xx, stm32g0C1xx devices.</strong></p>
<p>-<strong>CMSIS devices files for stm32g050xx, stm32g051xx, stm32g061xx devices.</strong></p>
<p>-CMSIS devices files for stm32g030xx, stm32g031xx, stm32g041xx devices.</p>
<p>-CMSIS devices files for stm32g070xx, stm32g071xx, stm32g081xx devices.</p>
<h2 id="known-limitations-1">Known Limitations</h2>
<h2 id="known-limitations-2">Known Limitations</h2>
<p>None</p>
</div>
</div>
<div class="collapse">
<input type="checkbox" id="collapse-section4" aria-hidden="true"> <label for="collapse-section4" aria-hidden="true">V1.3.0 / 25-June-2019 </label>
<div>
<h2 id="main-changes-2">Main Changes</h2>
<h2 id="main-changes-3">Main Changes</h2>
<h3 id="maintenance-release">Maintenance release</h3>
<p>Maintenance release for STM32G0xx CMSIS supporting stm32g030xx, stm32g031xx, stm32g041xx, stm32g070xx, stm32g071xx, stm32g081xx devices.</p>
<p><strong>Fixed bugs list</strong></p>
Expand All @@ -185,10 +214,10 @@ <h3 id="maintenance-release">Maintenance release</h3>
</tr>
</tbody>
</table>
<h2 id="contents-2">Contents</h2>
<h2 id="contents-3">Contents</h2>
<p>CMSIS devices files for stm32g030xx, stm32g031xx, stm32g041xx devices.</p>
<p>CMSIS devices files for stm32g070xx, stm32g071xx, stm32g081xx devices.</p>
<h2 id="known-limitations-2">Known Limitations</h2>
<h2 id="known-limitations-3">Known Limitations</h2>
<p><strong>Requirements not met or planned in a forthcoming release</strong></p>
<table>
<thead>
Expand Down Expand Up @@ -218,7 +247,7 @@ <h2 id="supported-devices-and-boards">Supported Devices and boards</h2>
<div class="collapse">
<input type="checkbox" id="collapse-section3" aria-hidden="true"> <label for="collapse-section3" aria-hidden="true">V1.2.0 / 05-April-2019 </label>
<div>
<h2 id="main-changes-3">Main Changes</h2>
<h2 id="main-changes-4">Main Changes</h2>
<h3 id="maintenance-release-and-product-update-1">Maintenance release and Product Update</h3>
<p>First release for STM32G0xx CMSIS introducing <strong>stm32g030xx, stm32g031xx, stm32g041xx</strong> devices.</p>
<p><strong>Additional features</strong></p>
Expand Down Expand Up @@ -250,10 +279,10 @@ <h3 id="maintenance-release-and-product-update-1">Maintenance release and Produc
</tr>
</tbody>
</table>
<h2 id="contents-3">Contents</h2>
<h2 id="contents-4">Contents</h2>
<p>CMSIS devices files for stm32g030xx, stm32g031xx, stm32g041xx devices.</p>
<p>CMSIS devices files for stm32g070xx, stm32g071xx, stm32g081xx devices.</p>
<h2 id="known-limitations-3">Known Limitations</h2>
<h2 id="known-limitations-4">Known Limitations</h2>
<p><strong>Requirements not met or planned in a forthcoming release</strong></p>
<table>
<thead>
Expand Down Expand Up @@ -286,7 +315,7 @@ <h2 id="supported-devices-and-boards-1">Supported Devices and boards</h2>
<div class="collapse">
<input type="checkbox" id="collapse-section2" aria-hidden="true"> <label for="collapse-section2" aria-hidden="true">V1.1.0 / 06-February-2019 </label>
<div>
<h2 id="main-changes-4">Main Changes</h2>
<h2 id="main-changes-5">Main Changes</h2>
<h3 id="maintenance-release-1">Maintenance release</h3>
<p>Maintenance release for <strong>STM32G0xx</strong> devices (stm32g070xx, stm32g071xx, stm32g081xx devices)</p>
<p><strong>Fixed bugs list</strong></p>
Expand All @@ -311,17 +340,17 @@ <h3 id="maintenance-release-1">Maintenance release</h3>
</tr>
</tbody>
</table>
<h2 id="contents-4">Contents</h2>
<h2 id="contents-5">Contents</h2>
<p>CMSIS devices files for stm32g070xx, stm32g071xx, stm32g081xx devices.</p>
</div>
</div>
<div class="collapse">
<input type="checkbox" id="collapse-section1" aria-hidden="true"> <label for="collapse-section1" aria-hidden="true"> V1.0.0 / 26-October-2018 </label>
<div>
<h2 id="main-changes-5">Main Changes</h2>
<h2 id="main-changes-6">Main Changes</h2>
<h3 id="first-release">First release</h3>
<p>First official release for <strong>STM32G0xx</strong> devices</p>
<h2 id="contents-5">Contents</h2>
<h2 id="contents-6">Contents</h2>
<ul>
<li>CMSIS devices files for STM32G070xx, STM32G071xx and STM32G081xx</li>
</ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,3 @@ g_pfnVectors:

.weak USART2_IRQHandler
.thumb_set USART2_IRQHandler,Default_Handler

/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,3 @@ g_pfnVectors:

.weak LPUART1_IRQHandler
.thumb_set LPUART1_IRQHandler,Default_Handler

/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,3 @@ g_pfnVectors:

.weak AES_RNG_IRQHandler
.thumb_set AES_RNG_IRQHandler,Default_Handler

/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

Original file line number Diff line number Diff line change
Expand Up @@ -276,5 +276,3 @@ g_pfnVectors:

.weak USART2_IRQHandler
.thumb_set USART2_IRQHandler,Default_Handler

/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
Original file line number Diff line number Diff line change
Expand Up @@ -286,5 +286,3 @@ g_pfnVectors:

.weak LPUART1_IRQHandler
.thumb_set LPUART1_IRQHandler,Default_Handler

/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
Original file line number Diff line number Diff line change
Expand Up @@ -291,5 +291,3 @@ g_pfnVectors:

.weak AES_RNG_IRQHandler
.thumb_set AES_RNG_IRQHandler,Default_Handler

/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,3 @@ g_pfnVectors:

.weak USART3_4_IRQHandler
.thumb_set USART3_4_IRQHandler,Default_Handler

/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,3 @@ g_pfnVectors:

.weak CEC_IRQHandler
.thumb_set CEC_IRQHandler,Default_Handler

/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,3 @@ g_pfnVectors:

.weak AES_RNG_IRQHandler
.thumb_set AES_RNG_IRQHandler,Default_Handler

/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

Original file line number Diff line number Diff line change
Expand Up @@ -283,5 +283,3 @@ g_pfnVectors:

.weak USART3_4_5_6_IRQHandler
.thumb_set USART3_4_5_6_IRQHandler,Default_Handler

/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
Original file line number Diff line number Diff line change
Expand Up @@ -293,5 +293,3 @@ g_pfnVectors:

.weak CEC_IRQHandler
.thumb_set CEC_IRQHandler,Default_Handler

/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
Original file line number Diff line number Diff line change
Expand Up @@ -297,5 +297,3 @@ g_pfnVectors:

.weak AES_RNG_IRQHandler
.thumb_set AES_RNG_IRQHandler,Default_Handler

/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
Original file line number Diff line number Diff line change
Expand Up @@ -300,5 +300,3 @@ void SystemCoreClockUpdate(void)
/**
* @}
*/

/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
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 @@ -6,7 +6,7 @@
* STM32F3: 2.3.6
* STM32F4: 2.6.7
* STM32F7: 1.2.7
* STM32G0: 1.4.1
* STM32G0: 1.4.2
* STM32G4: 1.2.2
* STM32H7: 1.10.1
* STM32L0: 1.9.2
Expand Down
Loading