Skip to content

Commit 22feae1

Browse files
authored
Merge pull request #2065 from fpistm/stm32CubeC0_1.1.0
Update to latest STM32CubeC0 v1.1.0
2 parents 2e75489 + cb5d54a commit 22feae1

File tree

75 files changed

+3808
-2226
lines changed

Some content is hidden

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

75 files changed

+3808
-2226
lines changed

Diff for: system/Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c011xx.h

+282-237
Large diffs are not rendered by default.

Diff for: system/Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c031xx.h

+282-237
Large diffs are not rendered by default.

Diff for: system/Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c0xx.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
* @brief CMSIS Device version number V1.0.0
7878
*/
7979
#define __STM32C0_CMSIS_VERSION_MAIN (0x01U) /*!< [31:24] main version */
80-
#define __STM32C0_CMSIS_VERSION_SUB1 (0x00U) /*!< [23:16] sub1 version */
80+
#define __STM32C0_CMSIS_VERSION_SUB1 (0x01U) /*!< [23:16] sub1 version */
8181
#define __STM32C0_CMSIS_VERSION_SUB2 (0x00U) /*!< [15:8] sub2 version */
8282
#define __STM32C0_CMSIS_VERSION_RC (0x00U) /*!< [7:0] release candidate */
8383
#define __STM32C0_CMSIS_VERSION ((__STM32C0_CMSIS_VERSION_MAIN << 24)\

Diff for: system/Drivers/CMSIS/Device/ST/STM32C0xx/LICENSE.txt

-6
This file was deleted.

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

+29-9
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,19 @@
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 STM32C0xx 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+
div.columns{display: flex; gap: min(4vw, 1.5em);}
12+
div.column{flex: auto; overflow-x: auto;}
13+
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
14+
ul.task-list{list-style: none;}
15+
ul.task-list li input[type="checkbox"] {
16+
width: 0.8em;
17+
margin: 0 0.8em 0.2em -1.6em;
18+
vertical-align: middle;
19+
}
20+
.display.math{display: block; text-align: center; margin: 0.5rem auto;}
1321
</style>
1422
<link rel="stylesheet" href="_htmresc/mini-st_2020.css" />
1523
<!--[if lt IE 9]>
@@ -21,25 +29,37 @@
2129
<div class="row">
2230
<div class="col-sm-12 col-lg-4">
2331
<center>
24-
<h1 id="release-notes-for-stm32c0xx-cmsis">Release Notes for <mark> STM32C0xx CMSIS </mark></h1>
32+
<h1 id="release-notes-for-stm32c0xx-cmsis">Release Notes for
33+
<mark> STM32C0xx CMSIS </mark></h1>
2534
<p>Copyright © 2022 STMicroelectronics<br />
2635
</p>
2736
<a href="https://www.st.com" class="logo"><img src="_htmresc/st_logo_2020.png" alt="ST logo" /></a>
2837
</center>
2938
</div>
3039
<div class="col-sm-12 col-lg-8">
31-
<h1 id="update-history"><strong>Update History</strong></h1>
40+
<h1 id="update-history">Update History</h1>
3241
<div class="collapse">
33-
<input type="checkbox" id="collapse-section1" aria-hidden="true"> <label for="collapse-section1" aria-hidden="true"><strong>V1.0.0 / 09-February-2022</strong></label>
42+
<input type="checkbox" id="collapse-section2" checked aria-hidden="true"> <label for="collapse-section2" checked aria-hidden="true"><strong>V1.1.0 / 07-June-2023</strong></label>
3443
<div>
3544
<h2 id="main-changes">Main Changes</h2>
45+
<p>Align flash register address with STM32C0 reference manual</p>
46+
</div>
47+
</div>
48+
<div class="collapse">
49+
<input type="checkbox" id="collapse-section1" aria-hidden="true"> <label for="collapse-section1" aria-hidden="true"><strong>V1.0.0 / 09-February-2022</strong></label>
50+
<div>
51+
<h2 id="main-changes-1">Main Changes</h2>
3652
<p>First official release version of bits and registers definition aligned with STM32C0 reference manual</p>
3753
</div>
3854
</div>
3955
</div>
56+
4057
</div>
4158
<footer class="sticky">
42-
This release note uses up to date web standards and, for this reason, should not be opened with Internet Explorer but preferably with popular browsers such as Google Chrome, Mozilla Firefox, Opera or Microsoft Edge.
59+
This release note uses up to date web standards and, for this reason,
60+
should not be opened with Internet Explorer but preferably with popular
61+
browsers such as Google Chrome, Mozilla Firefox, Opera or Microsoft
62+
Edge.
4363
</footer>
4464
</body>
4565
</html>

Diff for: system/Drivers/CMSIS/Device/ST/STM32C0xx/Source/Templates/gcc/startup_stm32c011xx.s

+3-2
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ defined in linker script */
5151
Reset_Handler:
5252
ldr r0, =_estack
5353
mov sp, r0 /* set stack pointer */
54+
/* Call the clock system initialization function.*/
55+
bl SystemInit
5456

5557
/* Copy the data segment initializers from flash to SRAM */
5658
movs r1, #0
@@ -82,8 +84,7 @@ LoopFillZerobss:
8284
cmp r2, r3
8385
bcc FillZerobss
8486

85-
/* Call the clock system initialization function.*/
86-
bl SystemInit
87+
8788
/* Call static constructors */
8889
bl __libc_init_array
8990
/* Call the application's entry point.*/

Diff for: system/Drivers/CMSIS/Device/ST/STM32C0xx/Source/Templates/gcc/startup_stm32c031xx.s

+3-2
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ defined in linker script */
5151
Reset_Handler:
5252
ldr r0, =_estack
5353
mov sp, r0 /* set stack pointer */
54+
/* Call the clock system initialization function.*/
55+
bl SystemInit
5456

5557
/* Copy the data segment initializers from flash to SRAM */
5658
movs r1, #0
@@ -82,8 +84,7 @@ LoopFillZerobss:
8284
cmp r2, r3
8385
bcc FillZerobss
8486

85-
/* Call the clock system initialization function.*/
86-
bl SystemInit
87+
8788
/* Call static constructors */
8889
bl __libc_init_array
8990
/* Call the application's entry point.*/

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# STM32YYxx CMSIS version:
22

3-
* STM32C0: 1.0.0
3+
* STM32C0: 1.1.0
44
* STM32F0: 2.3.7
55
* STM32F1: 4.3.3
66
* STM32F2: 2.2.6

0 commit comments

Comments
 (0)