Skip to content

Commit

Permalink
Merge pull request #2065 from fpistm/stm32CubeC0_1.1.0
Browse files Browse the repository at this point in the history
Update to latest STM32CubeC0 v1.1.0
  • Loading branch information
fpistm authored Jul 17, 2023
2 parents 2e75489 + cb5d54a commit 22feae1
Show file tree
Hide file tree
Showing 75 changed files with 3,808 additions and 2,226 deletions.
519 changes: 282 additions & 237 deletions system/Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c011xx.h

Large diffs are not rendered by default.

519 changes: 282 additions & 237 deletions system/Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c031xx.h

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
* @brief CMSIS Device version number V1.0.0
*/
#define __STM32C0_CMSIS_VERSION_MAIN (0x01U) /*!< [31:24] main version */
#define __STM32C0_CMSIS_VERSION_SUB1 (0x00U) /*!< [23:16] sub1 version */
#define __STM32C0_CMSIS_VERSION_SUB1 (0x01U) /*!< [23:16] sub1 version */
#define __STM32C0_CMSIS_VERSION_SUB2 (0x00U) /*!< [15:8] sub2 version */
#define __STM32C0_CMSIS_VERSION_RC (0x00U) /*!< [7:0] release candidate */
#define __STM32C0_CMSIS_VERSION ((__STM32C0_CMSIS_VERSION_MAIN << 24)\
Expand Down
6 changes: 0 additions & 6 deletions system/Drivers/CMSIS/Device/ST/STM32C0xx/LICENSE.txt

This file was deleted.

38 changes: 29 additions & 9 deletions system/Drivers/CMSIS/Device/ST/STM32C0xx/Release_Notes.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,19 @@
<meta name="generator" content="pandoc" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<title>Release Notes for STM32C0xx CMSIS</title>
<style type="text/css">
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
span.underline{text-decoration: underline;}
div.column{display: inline-block; vertical-align: top; width: 50%;}
<style>
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
div.columns{display: flex; gap: min(4vw, 1.5em);}
div.column{flex: auto; overflow-x: auto;}
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
ul.task-list{list-style: none;}
ul.task-list li input[type="checkbox"] {
width: 0.8em;
margin: 0 0.8em 0.2em -1.6em;
vertical-align: middle;
}
.display.math{display: block; text-align: center; margin: 0.5rem auto;}
</style>
<link rel="stylesheet" href="_htmresc/mini-st_2020.css" />
<!--[if lt IE 9]>
Expand All @@ -21,25 +29,37 @@
<div class="row">
<div class="col-sm-12 col-lg-4">
<center>
<h1 id="release-notes-for-stm32c0xx-cmsis">Release Notes for <mark> STM32C0xx CMSIS </mark></h1>
<h1 id="release-notes-for-stm32c0xx-cmsis">Release Notes for
<mark> STM32C0xx CMSIS </mark></h1>
<p>Copyright © 2022 STMicroelectronics<br />
</p>
<a href="https://www.st.com" class="logo"><img src="_htmresc/st_logo_2020.png" alt="ST logo" /></a>
</center>
</div>
<div class="col-sm-12 col-lg-8">
<h1 id="update-history"><strong>Update History</strong></h1>
<h1 id="update-history">Update History</h1>
<div class="collapse">
<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>
<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>
<div>
<h2 id="main-changes">Main Changes</h2>
<p>Align flash register address with STM32C0 reference manual</p>
</div>
</div>
<div class="collapse">
<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>
<div>
<h2 id="main-changes-1">Main Changes</h2>
<p>First official release version of bits and registers definition aligned with STM32C0 reference manual</p>
</div>
</div>
</div>

</div>
<footer class="sticky">
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.
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.
</footer>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ defined in linker script */
Reset_Handler:
ldr r0, =_estack
mov sp, r0 /* set stack pointer */
/* Call the clock system initialization function.*/
bl SystemInit

/* Copy the data segment initializers from flash to SRAM */
movs r1, #0
Expand Down Expand Up @@ -82,8 +84,7 @@ LoopFillZerobss:
cmp r2, r3
bcc FillZerobss

/* Call the clock system initialization function.*/
bl SystemInit

/* Call static constructors */
bl __libc_init_array
/* Call the application's entry point.*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ defined in linker script */
Reset_Handler:
ldr r0, =_estack
mov sp, r0 /* set stack pointer */
/* Call the clock system initialization function.*/
bl SystemInit

/* Copy the data segment initializers from flash to SRAM */
movs r1, #0
Expand Down Expand Up @@ -82,8 +84,7 @@ LoopFillZerobss:
cmp r2, r3
bcc FillZerobss

/* Call the clock system initialization function.*/
bl SystemInit

/* Call static constructors */
bl __libc_init_array
/* Call the application's entry point.*/
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
@@ -1,6 +1,6 @@
# STM32YYxx CMSIS version:

* STM32C0: 1.0.0
* STM32C0: 1.1.0
* STM32F0: 2.3.7
* STM32F1: 4.3.3
* STM32F2: 2.2.6
Expand Down
Loading

0 comments on commit 22feae1

Please sign in to comment.