Skip to content

Commit 5821d68

Browse files
authored
Merge pull request #1688 from ABOSTM/UPDATE_G0
system(G0) update STM32G0xx HAL Drivers to v1.4.4 and CMSIS Drivers to v1.4.2
2 parents 79a891f + 8af4ebf commit 5821d68

File tree

187 files changed

+8230
-5734
lines changed

Some content is hidden

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

187 files changed

+8230
-5734
lines changed

system/Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g030xx.h

+208-104
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h

+208-104
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g041xx.h

+208-104
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g050xx.h

+208-104
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g051xx.h

+208-104
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g061xx.h

+208-104
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g070xx.h

+208-104
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g071xx.h

+205-105
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g081xx.h

+205-105
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0b0xx.h

+210-109
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0b1xx.h

+207-110
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0c1xx.h

+207-110
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h

+1-6
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
*/
9191
#define __STM32G0_CMSIS_VERSION_MAIN (0x01U) /*!< [31:24] main version */
9292
#define __STM32G0_CMSIS_VERSION_SUB1 (0x04U) /*!< [23:16] sub1 version */
93-
#define __STM32G0_CMSIS_VERSION_SUB2 (0x01U) /*!< [15:8] sub2 version */
93+
#define __STM32G0_CMSIS_VERSION_SUB2 (0x02U) /*!< [15:8] sub2 version */
9494
#define __STM32G0_CMSIS_VERSION_RC (0x00U) /*!< [7:0] release candidate */
9595
#define __STM32G0_CMSIS_VERSION ((__STM32G0_CMSIS_VERSION_MAIN << 24)\
9696
|(__STM32G0_CMSIS_VERSION_SUB1 << 16)\
@@ -242,8 +242,3 @@ typedef enum
242242
/**
243243
* @}
244244
*/
245-
246-
247-
248-
249-
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

system/Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h

-1
Original file line numberDiff line numberDiff line change
@@ -101,4 +101,3 @@ extern void SystemCoreClockUpdate(void);
101101
/**
102102
* @}
103103
*/
104-
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,19 @@
11
# STM32CubeG0 CMSIS Device MCU Component
22

3-
![latest tag](https://img.shields.io/github/v/tag/STMicroelectronics/cmsis_device_g0.svg?color=brightgreen)
4-
53
## Overview
64

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

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, demonstration or nucleo board provided for this STM32 series.
13-
* A consistent set of middleware libraries such as RTOS, USB, FatFS, graphics, touch sensing library...
14-
* A full set of software projects (basic examples, applications, and demonstrations) for each board provided for this STM32 series.
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
1513

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

2018
## Description
2119

@@ -35,10 +33,11 @@ Tag v1.2.0 | Tag v4.5_cm0 | Tag v1.2.0
3533
Tag v1.3.0 | Tag v5.4.0_cm0 | Tag v1.3.0
3634
Tag v1.4.0 | Tag v5.6.0_cm0 | Tag v1.4.0
3735
Tag v1.4.1 | Tag v5.6.0_cm0 | Tag v1.5.0
36+
Tag v1.4.2 | Tag v5.6.0_cm0 | Tag v1.5.1
3837

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

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

44-
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).
43+
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).

system/Drivers/CMSIS/Device/ST/STM32G0xx/Release_Notes.html

+45-16
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,39 @@ <h1 id="purpose">Purpose</h1>
4545
<div class="col-sm-12 col-lg-8">
4646
<h1 id="update-history">Update History</h1>
4747
<div class="collapse">
48-
<input type="checkbox" id="collapse-section6" checked aria-hidden="true"> <label for="collapse-section6" area-hidden="true">V1.4.1 / 17-June-2021 </label>
48+
<input type="checkbox" id="collapse-section7" checked aria-hidden="true"> <label for="collapse-section7" area-hidden="true">V1.4.2 / 01-April-2022 </label>
4949
<div>
5050
<h2 id="main-changes">Main Changes</h2>
5151
<ul>
52+
<li>Rename ADC TRx registers AWDxTR to be compliant with the reference manual.</li>
53+
<li>Fix Doxygen grouping issues.</li>
54+
<li>Update IRQ handler enumeration structure to be aligned with template CMSIS device.h file defined by ARM.
55+
<ul>
56+
<li>Rename SVC_IRQn to SVCall_IRQn:</li>
57+
</ul></li>
58+
<li>Add the following aliases for IRQ number definition to ensure compatibility across STM32 Series;
59+
<ul>
60+
<li>#define SVC_IRQn SVCall_IRQn</li>
61+
</ul></li>
62+
</ul>
63+
<h2 id="contents">Contents</h2>
64+
<ul>
65+
<li>CMSIS devices files for stm32g0B0xx, stm32g0B1xx, stm32g0C1xx devices.</li>
66+
<li>CMSIS devices files for stm32g050xx, stm32g051xx, stm32g061xx devices.</li>
67+
<li>CMSIS devices files for stm32g030xx, stm32g031xx, stm32g041xx devices.</li>
68+
<li>CMSIS devices files for stm32g070xx, stm32g071xx, stm32g081xx devices.</li>
69+
</ul>
70+
<h2 id="known-limitations">Known Limitations</h2>
71+
<ul>
72+
<li>None</li>
73+
</ul>
74+
</div>
75+
</div>
76+
<div class="collapse">
77+
<input type="checkbox" id="collapse-section6" aria-hidden="true"> <label for="collapse-section6" area-hidden="true">V1.4.1 / 17-June-2021 </label>
78+
<div>
79+
<h2 id="main-changes-1">Main Changes</h2>
80+
<ul>
5281
<li>Update to remove wrong bits defined for DMAMUX Req ID.</li>
5382
<li>Protect Vector table modification following SRAM or FLASH preprocessor directive by a generic preprocessor directive : USER_VECT_TAB_ADDRESS.</li>
5483
<li>Add new atomic register access macros in stm32g0xx.h file.</li>
@@ -60,14 +89,14 @@ <h2 id="main-changes">Main Changes</h2>
6089
<li>Update header files with new license format</li>
6190
</ul></li>
6291
</ul>
63-
<h2 id="contents">Contents</h2>
92+
<h2 id="contents-1">Contents</h2>
6493
<ul>
6594
<li>CMSIS devices files for stm32g0B0xx, stm32g0B1xx, stm32g0C1xx devices.</li>
6695
<li>CMSIS devices files for stm32g050xx, stm32g051xx, stm32g061xx devices.</li>
6796
<li>CMSIS devices files for stm32g030xx, stm32g031xx, stm32g041xx devices.</li>
6897
<li>CMSIS devices files for stm32g070xx, stm32g071xx, stm32g081xx devices.</li>
6998
</ul>
70-
<h2 id="known-limitations">Known Limitations</h2>
99+
<h2 id="known-limitations-1">Known Limitations</h2>
71100
<ul>
72101
<li>None</li>
73102
</ul>
@@ -76,7 +105,7 @@ <h2 id="known-limitations">Known Limitations</h2>
76105
<div class="collapse">
77106
<input type="checkbox" id="collapse-section5" aria-hidden="true"> <label for="collapse-section5" area-hidden="true">V1.4.0 / 29-October-2020 </label>
78107
<div>
79-
<h2 id="main-changes-1">Main Changes</h2>
108+
<h2 id="main-changes-2">Main Changes</h2>
80109
<h3 id="maintenance-release-and-product-update">Maintenance release and Product Update</h3>
81110
<p>Official release for STM32G0xx CMSIS introducing <strong>stm32g0b0xx, stm32g0b1xx, stm32g0c1xx devices</strong> and <strong>stm32g050xx, stm32g051xx, stm32g061xx devices.</strong></p>
82111
<p>Maintenance release for STM32G0xx CMSIS supporting stm32g030xx, stm32g031xx, stm32g041xx, stm32g070xx, stm32g071xx, stm32g081xx devices.</p>
@@ -157,19 +186,19 @@ <h3 id="maintenance-release-and-product-update">Maintenance release and Product
157186
</tr>
158187
</tbody>
159188
</table>
160-
<h2 id="contents-1">Contents</h2>
189+
<h2 id="contents-2">Contents</h2>
161190
<p>-<strong>CMSIS devices files for stm32g0B0xx, stm32g0B1xx, stm32g0C1xx devices.</strong></p>
162191
<p>-<strong>CMSIS devices files for stm32g050xx, stm32g051xx, stm32g061xx devices.</strong></p>
163192
<p>-CMSIS devices files for stm32g030xx, stm32g031xx, stm32g041xx devices.</p>
164193
<p>-CMSIS devices files for stm32g070xx, stm32g071xx, stm32g081xx devices.</p>
165-
<h2 id="known-limitations-1">Known Limitations</h2>
194+
<h2 id="known-limitations-2">Known Limitations</h2>
166195
<p>None</p>
167196
</div>
168197
</div>
169198
<div class="collapse">
170199
<input type="checkbox" id="collapse-section4" aria-hidden="true"> <label for="collapse-section4" aria-hidden="true">V1.3.0 / 25-June-2019 </label>
171200
<div>
172-
<h2 id="main-changes-2">Main Changes</h2>
201+
<h2 id="main-changes-3">Main Changes</h2>
173202
<h3 id="maintenance-release">Maintenance release</h3>
174203
<p>Maintenance release for STM32G0xx CMSIS supporting stm32g030xx, stm32g031xx, stm32g041xx, stm32g070xx, stm32g071xx, stm32g081xx devices.</p>
175204
<p><strong>Fixed bugs list</strong></p>
@@ -185,10 +214,10 @@ <h3 id="maintenance-release">Maintenance release</h3>
185214
</tr>
186215
</tbody>
187216
</table>
188-
<h2 id="contents-2">Contents</h2>
217+
<h2 id="contents-3">Contents</h2>
189218
<p>CMSIS devices files for stm32g030xx, stm32g031xx, stm32g041xx devices.</p>
190219
<p>CMSIS devices files for stm32g070xx, stm32g071xx, stm32g081xx devices.</p>
191-
<h2 id="known-limitations-2">Known Limitations</h2>
220+
<h2 id="known-limitations-3">Known Limitations</h2>
192221
<p><strong>Requirements not met or planned in a forthcoming release</strong></p>
193222
<table>
194223
<thead>
@@ -218,7 +247,7 @@ <h2 id="supported-devices-and-boards">Supported Devices and boards</h2>
218247
<div class="collapse">
219248
<input type="checkbox" id="collapse-section3" aria-hidden="true"> <label for="collapse-section3" aria-hidden="true">V1.2.0 / 05-April-2019 </label>
220249
<div>
221-
<h2 id="main-changes-3">Main Changes</h2>
250+
<h2 id="main-changes-4">Main Changes</h2>
222251
<h3 id="maintenance-release-and-product-update-1">Maintenance release and Product Update</h3>
223252
<p>First release for STM32G0xx CMSIS introducing <strong>stm32g030xx, stm32g031xx, stm32g041xx</strong> devices.</p>
224253
<p><strong>Additional features</strong></p>
@@ -250,10 +279,10 @@ <h3 id="maintenance-release-and-product-update-1">Maintenance release and Produc
250279
</tr>
251280
</tbody>
252281
</table>
253-
<h2 id="contents-3">Contents</h2>
282+
<h2 id="contents-4">Contents</h2>
254283
<p>CMSIS devices files for stm32g030xx, stm32g031xx, stm32g041xx devices.</p>
255284
<p>CMSIS devices files for stm32g070xx, stm32g071xx, stm32g081xx devices.</p>
256-
<h2 id="known-limitations-3">Known Limitations</h2>
285+
<h2 id="known-limitations-4">Known Limitations</h2>
257286
<p><strong>Requirements not met or planned in a forthcoming release</strong></p>
258287
<table>
259288
<thead>
@@ -286,7 +315,7 @@ <h2 id="supported-devices-and-boards-1">Supported Devices and boards</h2>
286315
<div class="collapse">
287316
<input type="checkbox" id="collapse-section2" aria-hidden="true"> <label for="collapse-section2" aria-hidden="true">V1.1.0 / 06-February-2019 </label>
288317
<div>
289-
<h2 id="main-changes-4">Main Changes</h2>
318+
<h2 id="main-changes-5">Main Changes</h2>
290319
<h3 id="maintenance-release-1">Maintenance release</h3>
291320
<p>Maintenance release for <strong>STM32G0xx</strong> devices (stm32g070xx, stm32g071xx, stm32g081xx devices)</p>
292321
<p><strong>Fixed bugs list</strong></p>
@@ -311,17 +340,17 @@ <h3 id="maintenance-release-1">Maintenance release</h3>
311340
</tr>
312341
</tbody>
313342
</table>
314-
<h2 id="contents-4">Contents</h2>
343+
<h2 id="contents-5">Contents</h2>
315344
<p>CMSIS devices files for stm32g070xx, stm32g071xx, stm32g081xx devices.</p>
316345
</div>
317346
</div>
318347
<div class="collapse">
319348
<input type="checkbox" id="collapse-section1" aria-hidden="true"> <label for="collapse-section1" aria-hidden="true"> V1.0.0 / 26-October-2018 </label>
320349
<div>
321-
<h2 id="main-changes-5">Main Changes</h2>
350+
<h2 id="main-changes-6">Main Changes</h2>
322351
<h3 id="first-release">First release</h3>
323352
<p>First official release for <strong>STM32G0xx</strong> devices</p>
324-
<h2 id="contents-5">Contents</h2>
353+
<h2 id="contents-6">Contents</h2>
325354
<ul>
326355
<li>CMSIS devices files for STM32G070xx, STM32G071xx and STM32G081xx</li>
327356
</ul>

system/Drivers/CMSIS/Device/ST/STM32G0xx/Source/Templates/gcc/startup_stm32g030xx.s

-3
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,3 @@ g_pfnVectors:
268268

269269
.weak USART2_IRQHandler
270270
.thumb_set USART2_IRQHandler,Default_Handler
271-
272-
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
273-

system/Drivers/CMSIS/Device/ST/STM32G0xx/Source/Templates/gcc/startup_stm32g031xx.s

-3
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,3 @@ g_pfnVectors:
284284

285285
.weak LPUART1_IRQHandler
286286
.thumb_set LPUART1_IRQHandler,Default_Handler
287-
288-
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
289-

system/Drivers/CMSIS/Device/ST/STM32G0xx/Source/Templates/gcc/startup_stm32g041xx.s

-3
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,3 @@ g_pfnVectors:
288288

289289
.weak AES_RNG_IRQHandler
290290
.thumb_set AES_RNG_IRQHandler,Default_Handler
291-
292-
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
293-

system/Drivers/CMSIS/Device/ST/STM32G0xx/Source/Templates/gcc/startup_stm32g050xx.s

-2
Original file line numberDiff line numberDiff line change
@@ -276,5 +276,3 @@ g_pfnVectors:
276276

277277
.weak USART2_IRQHandler
278278
.thumb_set USART2_IRQHandler,Default_Handler
279-
280-
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

system/Drivers/CMSIS/Device/ST/STM32G0xx/Source/Templates/gcc/startup_stm32g051xx.s

-2
Original file line numberDiff line numberDiff line change
@@ -286,5 +286,3 @@ g_pfnVectors:
286286

287287
.weak LPUART1_IRQHandler
288288
.thumb_set LPUART1_IRQHandler,Default_Handler
289-
290-
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

system/Drivers/CMSIS/Device/ST/STM32G0xx/Source/Templates/gcc/startup_stm32g061xx.s

-2
Original file line numberDiff line numberDiff line change
@@ -291,5 +291,3 @@ g_pfnVectors:
291291

292292
.weak AES_RNG_IRQHandler
293293
.thumb_set AES_RNG_IRQHandler,Default_Handler
294-
295-
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

system/Drivers/CMSIS/Device/ST/STM32G0xx/Source/Templates/gcc/startup_stm32g070xx.s

-3
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,3 @@ g_pfnVectors:
280280

281281
.weak USART3_4_IRQHandler
282282
.thumb_set USART3_4_IRQHandler,Default_Handler
283-
284-
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
285-

system/Drivers/CMSIS/Device/ST/STM32G0xx/Source/Templates/gcc/startup_stm32g071xx.s

-3
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,3 @@ g_pfnVectors:
293293

294294
.weak CEC_IRQHandler
295295
.thumb_set CEC_IRQHandler,Default_Handler
296-
297-
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
298-

system/Drivers/CMSIS/Device/ST/STM32G0xx/Source/Templates/gcc/startup_stm32g081xx.s

-3
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,3 @@ g_pfnVectors:
297297

298298
.weak AES_RNG_IRQHandler
299299
.thumb_set AES_RNG_IRQHandler,Default_Handler
300-
301-
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
302-

system/Drivers/CMSIS/Device/ST/STM32G0xx/Source/Templates/gcc/startup_stm32g0b0xx.s

-2
Original file line numberDiff line numberDiff line change
@@ -283,5 +283,3 @@ g_pfnVectors:
283283

284284
.weak USART3_4_5_6_IRQHandler
285285
.thumb_set USART3_4_5_6_IRQHandler,Default_Handler
286-
287-
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

system/Drivers/CMSIS/Device/ST/STM32G0xx/Source/Templates/gcc/startup_stm32g0b1xx.s

-2
Original file line numberDiff line numberDiff line change
@@ -293,5 +293,3 @@ g_pfnVectors:
293293

294294
.weak CEC_IRQHandler
295295
.thumb_set CEC_IRQHandler,Default_Handler
296-
297-
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

system/Drivers/CMSIS/Device/ST/STM32G0xx/Source/Templates/gcc/startup_stm32g0c1xx.s

-2
Original file line numberDiff line numberDiff line change
@@ -297,5 +297,3 @@ g_pfnVectors:
297297

298298
.weak AES_RNG_IRQHandler
299299
.thumb_set AES_RNG_IRQHandler,Default_Handler
300-
301-
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

system/Drivers/CMSIS/Device/ST/STM32G0xx/Source/Templates/system_stm32g0xx.c

-2
Original file line numberDiff line numberDiff line change
@@ -300,5 +300,3 @@ void SystemCoreClockUpdate(void)
300300
/**
301301
* @}
302302
*/
303-
304-
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

system/Drivers/CMSIS/Device/ST/STM32YYxx_CMSIS_version.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* STM32F3: 2.3.6
77
* STM32F4: 2.6.8
88
* STM32F7: 1.2.7
9-
* STM32G0: 1.4.1
9+
* STM32G0: 1.4.2
1010
* STM32G4: 1.2.2
1111
* STM32H7: 1.10.1
1212
* STM32L0: 1.9.2

0 commit comments

Comments
 (0)