Skip to content

Commit ec3f793

Browse files
authored
Merge pull request #2419 from fpistm/STM32CubeG4_update
chore(g4): update to latest STM32CubeG4 v1.6.0
2 parents 1698baf + 87354c7 commit ec3f793

File tree

223 files changed

+27897
-1059
lines changed

Some content is hidden

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

223 files changed

+27897
-1059
lines changed

boards.txt

+66-43
Large diffs are not rendered by default.

cmake/boards_db.cmake

+362-34
Large diffs are not rendered by default.

cores/arduino/stm32/stm32_def_build.h

+2
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,8 @@
202202
#define CMSIS_STARTUP_FILE "startup_stm32g0b1xx.s"
203203
#elif defined(STM32G0C1xx)
204204
#define CMSIS_STARTUP_FILE "startup_stm32g0c1xx.s"
205+
#elif defined(STM32G414xx)
206+
#define CMSIS_STARTUP_FILE "startup_stm32g414xx.s"
205207
#elif defined(STM32G431xx)
206208
#define CMSIS_STARTUP_FILE "startup_stm32g431xx.s"
207209
#elif defined(STM32G441xx)

system/Drivers/CMSIS/Device/ST/STM32G4xx/Include/stm32g414xx.h

+15,817
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32G4xx/Include/stm32g4xx.h

+7-3
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,9 @@
5858

5959
#if !defined (STM32G431xx) && !defined (STM32G441xx) && !defined (STM32G471xx) && \
6060
!defined (STM32G473xx) && !defined (STM32G474xx) && !defined (STM32G484xx) && \
61-
!defined (STM32GBK1CB) && !defined (STM32G491xx) && !defined (STM32G4A1xx)
61+
!defined (STM32GBK1CB) && !defined (STM32G491xx) && !defined (STM32G4A1xx) && \
62+
!defined (STM32G414xx)
63+
/* #define STM32G414xx */ /*!< STM32G414xx Devices */
6264
/* #define STM32G431xx */ /*!< STM32G431xx Devices */
6365
/* #define STM32G441xx */ /*!< STM32G441xx Devices */
6466
/* #define STM32G471xx */ /*!< STM32G471xx Devices */
@@ -84,11 +86,11 @@
8486
#endif /* USE_HAL_DRIVER */
8587

8688
/**
87-
* @brief CMSIS Device version number V1.2.3
89+
* @brief CMSIS Device version number V1.2.4
8890
*/
8991
#define __STM32G4_CMSIS_VERSION_MAIN (0x01U) /*!< [31:24] main version */
9092
#define __STM32G4_CMSIS_VERSION_SUB1 (0x02U) /*!< [23:16] sub1 version */
91-
#define __STM32G4_CMSIS_VERSION_SUB2 (0x03U) /*!< [15:8] sub2 version */
93+
#define __STM32G4_CMSIS_VERSION_SUB2 (0x04U) /*!< [15:8] sub2 version */
9294
#define __STM32G4_CMSIS_VERSION_RC (0x00U) /*!< [7:0] release candidate */
9395
#define __STM32G4_CMSIS_VERSION ((__STM32G4_CMSIS_VERSION_MAIN << 24)\
9496
|(__STM32G4_CMSIS_VERSION_SUB1 << 16)\
@@ -123,6 +125,8 @@
123125
#include "stm32g4a1xx.h"
124126
#elif defined(STM32GBK1CB)
125127
#include "stm32gbk1cb.h"
128+
#elif defined(STM32G414xx)
129+
#include "stm32g414xx.h"
126130
#else
127131
#error "Please select first the target STM32G4xx device used in your application (in stm32g4xx.h file)"
128132
#endif

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

+91-49
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,14 @@
55
<meta name="generator" content="pandoc" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
77
<title>Release Notes for STM32G4xx CMSIS</title>
8-
<style type="text/css">
9-
code{white-space: pre-wrap;}
10-
span.smallcaps{font-variant: small-caps;}
11-
span.underline{text-decoration: underline;}
12-
div.column{display: inline-block; vertical-align: top; width: 50%;}
8+
<style>
9+
code{white-space: pre-wrap;}
10+
span.smallcaps{font-variant: small-caps;}
11+
span.underline{text-decoration: underline;}
12+
div.column{display: inline-block; vertical-align: top; width: 50%;}
13+
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
14+
ul.task-list{list-style: none;}
15+
.display.math{display: block; text-align: center; margin: 0.5rem auto;}
1316
</style>
1417
<link rel="stylesheet" href="_htmresc/mini-st_2020.css" />
1518
<!--[if lt IE 9]>
@@ -31,7 +34,7 @@ <h1 id="purpose">Purpose</h1>
3134
<ul>
3235
<li><p>STM32G431/41xx</p></li>
3336
<li><p>STM32G471xx</p></li>
34-
<li><p>STM32G473/83xx</p></li>
37+
<li><p>STM32G414/73/83xx</p></li>
3538
<li><p>STM32G474/84xx</p></li>
3639
</ul>
3740
<p>This driver is composed of the descriptions of the registers under “Include” directory.</p>
@@ -42,17 +45,56 @@ <h1 id="purpose">Purpose</h1>
4245
<li>Linker files are provided as example for IAR©, KEIL© and STM32CubeIDE©.</li>
4346
</ul>
4447
</div>
45-
<div class="col-sm-12 col-lg-8">
46-
<h1 id="update-history">Update History</h1>
48+
<section id="update-history" class="col-sm-12 col-lg-8">
49+
<h1>Update History</h1>
4750
<div class="collapse">
48-
<input type="checkbox" id="collapse-section1_2_3" checked aria-hidden="true"> <label for="collapse-section1_2_3" aria-hidden="true">V1.2.3 / 15-December-2023</label>
51+
<input type="checkbox" id="collapse-section1_2_4" checked aria-hidden="true"> <label for="collapse-section1_2_4" aria-hidden="true">V1.2.4 / 05-June-2024</label>
4952
<div>
5053
<h2 id="main-changes">Main Changes</h2>
5154
<h3 id="maintenance-release">Maintenance release</h3>
5255
<ul>
53-
<li>General updates to fix known defects and enhancements implementation.</li>
56+
<li>Add support of <strong>stm32g414xx</strong> devices.</li>
5457
</ul>
5558
<h2 id="contents">Contents</h2>
59+
<ul>
60+
<li>Add support of <strong>stm32g414xx</strong> devices:
61+
<ul>
62+
<li>Add new cmsis device stm32g414xx.h file</li>
63+
<li>Add startup files “startup_stm32g414xx.s” for EWARM , MDK-ARM and GCC toolchains</li>
64+
<li>Add part numbers list to stm32g4xx.h header file:
65+
<ul>
66+
<li>STM32G414xx: STM32G414CB, STM32G414MB, STM32G414RB, STM32G414VB, STM32G414CC, STM32G414MC, STM32G414RC, STM32G414VC Devices</li>
67+
</ul></li>
68+
<li>Add EWARM STM32g414xx devices linker files (<strong>Subset flash</strong>) for EWARM toolchain</li>
69+
</ul></li>
70+
<li>Update STM32G483xx MDKARM startup file to add missing FDCAN1 IRQ handler in vector table</li>
71+
</ul>
72+
<h2 id="known-limitations">Known Limitations</h2>
73+
<h2 id="development-toolchains-and-compilers">Development Toolchains and Compilers</h2>
74+
<ul>
75+
<li>IAR Embedded Workbench for ARM (EWARM) toolchain <strong>V8.50.9</strong> + ST-Link</li>
76+
<li>RealView Microcontroller Development Kit (MDK-ARM) toolchain <strong>V5.38</strong> + ST-Link</li>
77+
<li>CubeIDE toolchain <strong>V1.14.0</strong></li>
78+
</ul>
79+
<h2 id="supported-devices-and-boards">Supported Devices and boards</h2>
80+
<ul>
81+
<li>STM32G431xx, STM32G441xx devices</li>
82+
<li>STM32G471xx devices</li>
83+
<li>STM32G473xx, STM32G483xx devices</li>
84+
<li>STM32G414xx, STM32G474xx, STM32G484xx devices</li>
85+
<li>STM32G491xx, STM32G4A1xx devices</li>
86+
</ul>
87+
</div>
88+
</div>
89+
<div class="collapse">
90+
<input type="checkbox" id="collapse-section1_2_3" aria-hidden="true"> <label for="collapse-section1_2_3" aria-hidden="true">V1.2.3 / 15-December-2023</label>
91+
<div>
92+
<h2 id="main-changes-1">Main Changes</h2>
93+
<h3 id="maintenance-release-1">Maintenance release</h3>
94+
<ul>
95+
<li>General updates to fix known defects and enhancements implementation.</li>
96+
</ul>
97+
<h2 id="contents-1">Contents</h2>
5698
<table>
5799
<caption>Fixed bugs list<br />
58100
</caption>
@@ -79,14 +121,14 @@ <h2 id="contents">Contents</h2>
79121
</tr>
80122
</tbody>
81123
</table>
82-
<h2 id="known-limitations">Known Limitations</h2>
83-
<h2 id="development-toolchains-and-compilers">Development Toolchains and Compilers</h2>
124+
<h2 id="known-limitations-1">Known Limitations</h2>
125+
<h2 id="development-toolchains-and-compilers-1">Development Toolchains and Compilers</h2>
84126
<ul>
85127
<li>IAR Embedded Workbench for ARM (EWARM) toolchain <strong>V8.50.9</strong> + ST-Link</li>
86128
<li>RealView Microcontroller Development Kit (MDK-ARM) toolchain <strong>V5.38</strong> + ST-Link</li>
87129
<li>CubeIDE toolchain <strong>V1.14.0</strong></li>
88130
</ul>
89-
<h2 id="supported-devices-and-boards">Supported Devices and boards</h2>
131+
<h2 id="supported-devices-and-boards-1">Supported Devices and boards</h2>
90132
<ul>
91133
<li>STM32G431xx, STM32G441xx devices</li>
92134
<li>STM32G471xx devices</li>
@@ -100,12 +142,12 @@ <h2 id="supported-devices-and-boards">Supported Devices and boards</h2>
100142
<div class="collapse">
101143
<input type="checkbox" id="collapse-section1_2_2" aria-hidden="true"> <label for="collapse-section1_2_2" aria-hidden="true">V1.2.2 / 10-November-2021</label>
102144
<div>
103-
<h2 id="main-changes-1">Main Changes</h2>
104-
<h3 id="maintenance-release-1">Maintenance release</h3>
145+
<h2 id="main-changes-2">Main Changes</h2>
146+
<h3 id="maintenance-release-2">Maintenance release</h3>
105147
<ul>
106148
<li>General updates to fix known defects and enhancements implementation.</li>
107149
</ul>
108-
<h2 id="contents-1">Contents</h2>
150+
<h2 id="contents-2">Contents</h2>
109151
<table>
110152
<caption>Additional features<br />
111153
</caption>
@@ -138,14 +180,14 @@ <h2 id="contents-1">Contents</h2>
138180
</tr>
139181
</tbody>
140182
</table>
141-
<h2 id="known-limitations-1">Known Limitations</h2>
142-
<h2 id="development-toolchains-and-compilers-1">Development Toolchains and Compilers</h2>
183+
<h2 id="known-limitations-2">Known Limitations</h2>
184+
<h2 id="development-toolchains-and-compilers-2">Development Toolchains and Compilers</h2>
143185
<ul>
144186
<li>IAR Embedded Workbench for ARM (EWARM) toolchain V8.50.4 + ST-Link</li>
145187
<li>RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.31 + ST-Link</li>
146188
<li>CubeIDE toolchain V1.6.0</li>
147189
</ul>
148-
<h2 id="supported-devices-and-boards-1">Supported Devices and boards</h2>
190+
<h2 id="supported-devices-and-boards-2">Supported Devices and boards</h2>
149191
<ul>
150192
<li>STM32G431xx, STM32G441xx devices</li>
151193
<li>STM32G471xx devices</li>
@@ -159,12 +201,12 @@ <h2 id="supported-devices-and-boards-1">Supported Devices and boards</h2>
159201
<div class="collapse">
160202
<input type="checkbox" id="collapse-section1_2_1" aria-hidden="true"> <label for="collapse-section1_2_1" aria-hidden="true">V1.2.1 / 11-January-2021</label>
161203
<div>
162-
<h2 id="main-changes-2">Main Changes</h2>
163-
<h3 id="maintenance-release-2">Maintenance release</h3>
204+
<h2 id="main-changes-3">Main Changes</h2>
205+
<h3 id="maintenance-release-3">Maintenance release</h3>
164206
<ul>
165207
<li>General updates to fix known defects and enhancements implementation</li>
166208
</ul>
167-
<h2 id="contents-2">Contents</h2>
209+
<h2 id="contents-3">Contents</h2>
168210
<table>
169211
<caption>Additional features<br />
170212
</caption>
@@ -182,14 +224,14 @@ <h2 id="contents-2">Contents</h2>
182224
</tr>
183225
</tbody>
184226
</table>
185-
<h2 id="known-limitations-2">Known Limitations</h2>
186-
<h2 id="development-toolchains-and-compilers-2">Development Toolchains and Compilers</h2>
227+
<h2 id="known-limitations-3">Known Limitations</h2>
228+
<h2 id="development-toolchains-and-compilers-3">Development Toolchains and Compilers</h2>
187229
<ul>
188230
<li>IAR Embedded Workbench for ARM (EWARM) toolchain <strong>V8.50.4</strong> + ST-Link</li>
189231
<li>RealView Microcontroller Development Kit (MDK-ARM) toolchain <strong>V5.31</strong> + ST-Link</li>
190232
<li>CubeIDE toolchain <strong>V1.6.0</strong></li>
191233
</ul>
192-
<h2 id="supported-devices-and-boards-2">Supported Devices and boards</h2>
234+
<h2 id="supported-devices-and-boards-3">Supported Devices and boards</h2>
193235
<ul>
194236
<li>STM32G431xx, STM32G441xx devices</li>
195237
<li>STM32G471xx devices</li>
@@ -203,13 +245,13 @@ <h2 id="supported-devices-and-boards-2">Supported Devices and boards</h2>
203245
<div class="collapse">
204246
<input type="checkbox" id="collapse-section1_2_0" aria-hidden="true"> <label for="collapse-section1_2_0" aria-hidden="true">V1.2.0 / 26-June-2020</label>
205247
<div>
206-
<h2 id="main-changes-3">Main Changes</h2>
207-
<h3 id="maintenance-release-3">Maintenance release</h3>
248+
<h2 id="main-changes-4">Main Changes</h2>
249+
<h3 id="maintenance-release-4">Maintenance release</h3>
208250
<ul>
209251
<li>Add support for STM32G491xx and STM32G4A1 devices</li>
210252
<li>General updates to fix known defects and enhancements implementation</li>
211253
</ul>
212-
<h2 id="contents-3">Contents</h2>
254+
<h2 id="contents-4">Contents</h2>
213255
<table>
214256
<caption>Additional features<br />
215257
</caption>
@@ -233,14 +275,14 @@ <h2 id="contents-3">Contents</h2>
233275
</tr>
234276
</tbody>
235277
</table>
236-
<h2 id="known-limitations-3">Known Limitations</h2>
237-
<h2 id="development-toolchains-and-compilers-3">Development Toolchains and Compilers</h2>
278+
<h2 id="known-limitations-4">Known Limitations</h2>
279+
<h2 id="development-toolchains-and-compilers-4">Development Toolchains and Compilers</h2>
238280
<ul>
239281
<li>IAR Embedded Workbench for ARM (EWARM) toolchain <strong>V8.40.1</strong></li>
240282
<li>RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.27.1</li>
241283
<li>STM32CubeIDE toolchain V1.3.0</li>
242284
</ul>
243-
<h2 id="supported-devices-and-boards-3">Supported Devices and boards</h2>
285+
<h2 id="supported-devices-and-boards-4">Supported Devices and boards</h2>
244286
<ul>
245287
<li>STM32G431xx, STM32G441xx devices</li>
246288
<li>STM32G471xx devices</li>
@@ -254,10 +296,10 @@ <h2 id="supported-devices-and-boards-3">Supported Devices and boards</h2>
254296
<div class="collapse">
255297
<input type="checkbox" id="collapse-section1_1_1" aria-hidden="true"> <label for="collapse-section1_1_1" aria-hidden="true">V1.1.1 / 14-February-2020</label>
256298
<div>
257-
<h2 id="main-changes-4">Main Changes</h2>
258-
<h3 id="maintenance-release-4">Maintenance release</h3>
299+
<h2 id="main-changes-5">Main Changes</h2>
300+
<h3 id="maintenance-release-5">Maintenance release</h3>
259301
<p>General updates to fix known defects and enhancements implementation</p>
260-
<h2 id="contents-4">Contents</h2>
302+
<h2 id="contents-5">Contents</h2>
261303
<table>
262304
<caption>Additional features<br />
263305
</caption>
@@ -289,14 +331,14 @@ <h2 id="contents-4">Contents</h2>
289331
</tr>
290332
</tbody>
291333
</table>
292-
<h2 id="known-limitations-4">Known Limitations</h2>
293-
<h2 id="development-toolchains-and-compilers-4">Development Toolchains and Compilers</h2>
334+
<h2 id="known-limitations-5">Known Limitations</h2>
335+
<h2 id="development-toolchains-and-compilers-5">Development Toolchains and Compilers</h2>
294336
<ul>
295337
<li>IAR Embedded Workbench for ARM (EWARM) toolchain V8.32.3</li>
296338
<li>RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.27.1</li>
297339
<li>STM32CubeIDE toolchain V1.3.0</li>
298340
</ul>
299-
<h2 id="supported-devices-and-boards-4">Supported Devices and boards</h2>
341+
<h2 id="supported-devices-and-boards-5">Supported Devices and boards</h2>
300342
<ul>
301343
<li>STM32G431xx, STM32G441xx devices</li>
302344
<li>STM32G471xx devices</li>
@@ -309,10 +351,10 @@ <h2 id="supported-devices-and-boards-4">Supported Devices and boards</h2>
309351
<div class="collapse">
310352
<input type="checkbox" id="collapse-section1_1_0" aria-hidden="true"> <label for="collapse-section1_1_0" aria-hidden="true">V1.1.0 / 28-June-2019</label>
311353
<div>
312-
<h2 id="main-changes-5">Main Changes</h2>
313-
<h3 id="maintenance-release-5">Maintenance release</h3>
354+
<h2 id="main-changes-6">Main Changes</h2>
355+
<h3 id="maintenance-release-6">Maintenance release</h3>
314356
<p>Maintenance release of CMSIS Devices drivers supporting STM32G431xx, STM32G441xx, STM32G471xx, STM32G473xx, <strong>STM32G483xx</strong>, STM32G474xx and STM32G484xx devices</p>
315-
<h2 id="contents-5">Contents</h2>
357+
<h2 id="contents-6">Contents</h2>
316358
<table>
317359
<caption>Additional features<br />
318360
</caption>
@@ -353,14 +395,14 @@ <h2 id="contents-5">Contents</h2>
353395
</tr>
354396
</tbody>
355397
</table>
356-
<h2 id="known-limitations-5">Known Limitations</h2>
357-
<h2 id="development-toolchains-and-compilers-5">Development Toolchains and Compilers</h2>
398+
<h2 id="known-limitations-6">Known Limitations</h2>
399+
<h2 id="development-toolchains-and-compilers-6">Development Toolchains and Compilers</h2>
358400
<ul>
359401
<li>IAR Embedded Workbench for ARM (EWARM) toolchain V8.20.2</li>
360402
<li>RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.25</li>
361403
<li>System Workbench STM32 (SW4STM32) toolchain V2.7.2</li>
362404
</ul>
363-
<h2 id="supported-devices-and-boards-5">Supported Devices and boards</h2>
405+
<h2 id="supported-devices-and-boards-6">Supported Devices and boards</h2>
364406
<ul>
365407
<li>STM32G431xx, STM32G441xx devices</li>
366408
<li>STM32G471xx devices</li>
@@ -373,12 +415,12 @@ <h2 id="supported-devices-and-boards-5">Supported Devices and boards</h2>
373415
<div class="collapse">
374416
<input type="checkbox" id="collapse-section1_0_0" aria-hidden="true"> <label for="collapse-section1_0_0" aria-hidden="true">V1.0.0 / 12-April-2019</label>
375417
<div>
376-
<h2 id="main-changes-6">Main Changes</h2>
418+
<h2 id="main-changes-7">Main Changes</h2>
377419
<h3 id="first-release">First release</h3>
378420
<p>First official release for STM32G4xx devices</p>
379-
<h2 id="contents-6">Contents</h2>
421+
<h2 id="contents-7">Contents</h2>
380422
<p>CMSIS devices files for STM32G431xx, STM32G441xx, STM32G471xx, STM32G473xx, STM32G474xx and STM32G484xx.</p>
381-
<h2 id="known-limitations-6">Known Limitations</h2>
423+
<h2 id="known-limitations-7">Known Limitations</h2>
382424
<table>
383425
<thead>
384426
<tr class="header">
@@ -391,13 +433,13 @@ <h2 id="known-limitations-6">Known Limitations</h2>
391433
</tr>
392434
</tbody>
393435
</table>
394-
<h2 id="development-toolchains-and-compilers-6">Development Toolchains and Compilers</h2>
436+
<h2 id="development-toolchains-and-compilers-7">Development Toolchains and Compilers</h2>
395437
<ul>
396438
<li>IAR Embedded Workbench for ARM (EWARM) toolchain V8.20.2</li>
397439
<li>RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.25</li>
398440
<li>System Workbench STM32 (SW4STM32) toolchain V2.7.2</li>
399441
</ul>
400-
<h2 id="supported-devices-and-boards-6">Supported Devices and boards</h2>
442+
<h2 id="supported-devices-and-boards-7">Supported Devices and boards</h2>
401443
<ul>
402444
<li>STM32G431xx, STM32G441xx devices</li>
403445
<li>STM32G471xx devices</li>
@@ -406,7 +448,7 @@ <h2 id="supported-devices-and-boards-6">Supported Devices and boards</h2>
406448
</ul>
407449
</div>
408450
</div>
409-
</div>
451+
</section>
410452
</div>
411453
<footer class="sticky">
412454
<p>For complete documentation on STM32G4xx, visit: [<a href="http://www.st.com/stm32g4">www.st.com/stm32g4</a>]</p>

0 commit comments

Comments
 (0)