Skip to content

chore(mp1): update to latest STM32CubeMP1 v1.7.0 #2659

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 5 commits into from
Feb 24, 2025
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
14 changes: 7 additions & 7 deletions CI/update/stm32cube.py
Original file line number Diff line number Diff line change
Expand Up @@ -930,13 +930,13 @@ def updateCore():
print(
"WARNING: OpenAmp MW has been updated, please check whether Arduino implementation:"
)
print(" * cores/arduino/stm32/OpenAMP/mbox_ipcc.h")
print(" * cores/arduino/stm32/OpenAMP/mbox_ipcc.c")
print(" * cores/arduino/stm32/OpenAMP/rsc_table.h")
print(" * cores/arduino/stm32/OpenAMP/rsc_table.c")
print(" * cores/arduino/stm32/OpenAMP/openamp.h")
print(" * cores/arduino/stm32/OpenAMP/openamp.c")
print(" * cores/arduino/stm32/OpenAMP/openamp_conf.h")
print(" * libraries/VirtIO/src/mbox_ipcc.h")
print(" * libraries/VirtIO/src/mbox_ipcc.c")
print(" * libraries/VirtIO/src/rsc_table.h")
print(" * libraries/VirtIO/src/rsc_table.c")
print(" * libraries/VirtIO/inc/openamp.h")
print(" * libraries/VirtIO/src/openamp.c")
print(" * libraries/VirtIO/inc/openamp_conf.h")
print(" should be updated from Cube project:")
print(
" --> Projects/STM32MP157C-DK2/Applications/OpenAMP/OpenAMP_TTY_echo"
Expand Down
854 changes: 447 additions & 407 deletions system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp151axx_ca7.h

Large diffs are not rendered by default.

854 changes: 447 additions & 407 deletions system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp151axx_cm4.h

Large diffs are not rendered by default.

854 changes: 447 additions & 407 deletions system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp151cxx_ca7.h

Large diffs are not rendered by default.

854 changes: 447 additions & 407 deletions system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp151cxx_cm4.h

Large diffs are not rendered by default.

854 changes: 447 additions & 407 deletions system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp151dxx_ca7.h

Large diffs are not rendered by default.

854 changes: 447 additions & 407 deletions system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp151dxx_cm4.h

Large diffs are not rendered by default.

854 changes: 447 additions & 407 deletions system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp151fxx_ca7.h

Large diffs are not rendered by default.

854 changes: 447 additions & 407 deletions system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp151fxx_cm4.h

Large diffs are not rendered by default.

854 changes: 447 additions & 407 deletions system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp153axx_ca7.h

Large diffs are not rendered by default.

854 changes: 447 additions & 407 deletions system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp153axx_cm4.h

Large diffs are not rendered by default.

854 changes: 447 additions & 407 deletions system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp153cxx_ca7.h

Large diffs are not rendered by default.

854 changes: 447 additions & 407 deletions system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp153cxx_cm4.h

Large diffs are not rendered by default.

854 changes: 447 additions & 407 deletions system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp153dxx_ca7.h

Large diffs are not rendered by default.

854 changes: 447 additions & 407 deletions system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp153dxx_cm4.h

Large diffs are not rendered by default.

854 changes: 447 additions & 407 deletions system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp153fxx_ca7.h

Large diffs are not rendered by default.

854 changes: 447 additions & 407 deletions system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp153fxx_cm4.h

Large diffs are not rendered by default.

854 changes: 447 additions & 407 deletions system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp157axx_ca7.h

Large diffs are not rendered by default.

854 changes: 447 additions & 407 deletions system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp157axx_cm4.h

Large diffs are not rendered by default.

854 changes: 447 additions & 407 deletions system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp157cxx_ca7.h

Large diffs are not rendered by default.

854 changes: 447 additions & 407 deletions system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp157cxx_cm4.h

Large diffs are not rendered by default.

854 changes: 447 additions & 407 deletions system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp157dxx_ca7.h

Large diffs are not rendered by default.

854 changes: 447 additions & 407 deletions system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp157dxx_cm4.h

Large diffs are not rendered by default.

854 changes: 447 additions & 407 deletions system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp157fxx_ca7.h

Large diffs are not rendered by default.

854 changes: 447 additions & 407 deletions system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp157fxx_cm4.h

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
* @brief CMSIS Device version number
*/
#define __STM32MP1xx_CMSIS_VERSION_MAIN (0x01U) /*!< [31:24] main version */
#define __STM32MP1xx_CMSIS_VERSION_SUB1 (0x06U) /*!< [23:16] sub1 version */
#define __STM32MP1xx_CMSIS_VERSION_SUB1 (0x07U) /*!< [23:16] sub1 version */
#define __STM32MP1xx_CMSIS_VERSION_SUB2 (0x00U) /*!< [15:8] sub2 version */
#define __STM32MP1xx_CMSIS_VERSION_RC (0x00U) /*!< [7:0] release candidate */
#define __STM32MP1xx_CMSIS_VERSION ((__CMSIS_DEVICE_VERSION_MAIN << 24)\
Expand Down
6 changes: 6 additions & 0 deletions system/Drivers/CMSIS/Device/ST/STM32MP1xx/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
This software component is provided to you as part of a software package and
applicable license terms are in the Package_license file. If you received this
software component outside of a package or without applicable license terms,
the terms of the Apache-2.0 license shall apply.
You may obtain a copy of the Apache-2.0 at:
https://opensource.org/licenses/Apache-2.0
211 changes: 145 additions & 66 deletions system/Drivers/CMSIS/Device/ST/STM32MP1xx/Release_Notes.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,57 +5,85 @@
<meta name="generator" content="pandoc" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<title>Release Notes for STM32MP15xx 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;}
/* The extra [class] is a hack that increases specificity enough to
override a similar rule in reveal.js */
ul.task-list[class]{list-style: none;}
ul.task-list li input[type="checkbox"] {
font-size: inherit;
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" />
<link rel="icon" type="image/x-icon" href="_htmresc/favicon.png" />
<!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
<![endif]-->
<link rel="icon" type="image/x-icon" href="_htmresc/favicon.png" />
</head>
<body>
<div class="row">
<div class="col-sm-12 col-lg-4">
<center>
<h1 id="release-notes-for-stm32mp15xx-cmsis">Release Notes for <mark> STM32MP15xx CMSIS </mark></h1>
<h1 id="release-notes-for-stm32mp15xx-cmsis">Release Notes for
<mark> STM32MP15xx CMSIS </mark></h1>
<p>Copyright © 2021 STMicroelectronics<br />
</p>
<a href="https://www.st.com" class="logo"><img src="_htmresc/st_logo_2020.png" alt="ST logo" /></a>
<a href="https://www.st.com" class="logo"><img
src="_htmresc/st_logo_2020.png" alt="ST logo" /></a>
</center>
<h1 id="purpose">Purpose</h1>
<p>This driver provides the CMSIS device for the STM32MP15xx products. This covers</p>
<p>This driver provides the CMSIS device for the STM32MP15xx products.
This covers</p>
<ul>
<li>STM32MP151Cxx ,STM32MP151Axx, STM32MP151Dxx ,STM32MP151Fxx devices</li>
<li>STM32MP153Cxx ,STM32MP153Axx, STM32MP153Dxx ,STM32MP153Fxx devices</li>
<li>STM32MP157Cxx ,STM32MP157Axx, STM32MP157Dxx ,STM32MP157Fxx devices</li>
<li>STM32MP151Cxx ,STM32MP151Axx, STM32MP151Dxx ,STM32MP151Fxx
devices</li>
<li>STM32MP153Cxx ,STM32MP153Axx, STM32MP153Dxx ,STM32MP153Fxx
devices</li>
<li>STM32MP157Cxx ,STM32MP157Axx, STM32MP157Dxx ,STM32MP157Fxx
devices</li>
</ul>
<p>This driver is composed of the descriptions of the registers under “Include” directory.</p>
<p>Various template file are provided to easily build an application. They can be adapted to fit applications requirements.</p>
<p>This driver is composed of the descriptions of the registers under
“Include” directory.</p>
<p>Various template file are provided to easily build an application.
They can be adapted to fit applications requirements.</p>
<ul>
<li>Templates/system_stm32mp1xx.c contains the initialization code referred as SystemInit.</li>
<li>Startup and linker files are provided as example for STM32CubeIDE©.</li>
<li>Templates/system_stm32mp1xx.c contains the initialization code
referred as SystemInit.</li>
<li>Startup and linker files are provided as example for
STM32CubeIDE©.</li>
</ul>
</div>
<div class="col-sm-12 col-lg-8">
<h1 id="update-history"><strong>Update History</strong></h1>
<section id="update-history" class="col-sm-12 col-lg-8">
<h1><strong>Update History</strong></h1>
<div class="collapse">
<input type="checkbox" id="collapse-section0" checked aria-hidden="true"> <label for="collapse-section0" checked aria-hidden="true"><strong>V1.6.0 / 02-June-2022</strong></label>
<input type="checkbox" id="collapse-section0" checked aria-hidden="true">
<label for="collapse-section0" checked aria-hidden="true"><strong>V1.7.0
/ 14-Feb-2025</strong></label>
<div>
<h2 id="main-changes">Main Changes</h2>
<p>This is a <strong>Maintenance release</strong> for STM32MP15xx CMSIS</p>
<p>This is a <strong>Maintenance release</strong> for STM32MP15xx
CMSIS</p>
<h2 id="contents">Contents</h2>
<ul>
<li>Update bit definition in header files:
<ul>
<li>BSEC : Add missing registers</li>
<li>ETH : Update bitfield names</li>
<li>ADC : Add missing registers &amp; Update bitfield names</li>
<li>DMA : Fix missing interrupts used in UART</li>
</ul></li>
<li>Fixes in startup and linker files
<ul>
<li>Added default clock values in system files</li>
<li>Linker files aligned with GCC12</li>
<li>Fixed declaration of g_pfnVectors size in gcc/startup files</li>
</ul></li>
<li>Update License declaration for startup and linker files</li>
<li>Change include in system file ( alignment with other STM32 families)</li>
</ul>
<h2 id="known-limitations">Known Limitations</h2>
<p>None</p>
Expand All @@ -64,81 +92,121 @@ <h2 id="dependencies">Dependencies</h2>
</div>
</div>
<div class="collapse">
<input type="checkbox" id="collapse-section6" aria-hidden="true"> <label for="collapse-section6" aria-hidden="true"><strong>V1.5.0 / 04-November-2021</strong></label>
<input type="checkbox" id="collapse-section7" aria-hidden="true">
<label for="collapse-section7" checked aria-hidden="true"><strong>V1.6.0
/ 02-June-2022</strong></label>
<div>
<h2 id="main-changes-1">Main Changes</h2>
<p>This is a <strong>Maintenance release</strong> for STM32MP15xx CMSIS</p>
<p>This is a <strong>Maintenance release</strong> for STM32MP15xx
CMSIS</p>
<h2 id="contents-1">Contents</h2>
<ul>
<li>Update bit definition in header files:
<ul>
<li>BSEC : Add missing registers</li>
<li>ETH : Update bitfield names</li>
</ul></li>
<li>Update License declaration for startup and linker files</li>
<li>Change include in system file ( alignment with other STM32
families)</li>
</ul>
<h2 id="known-limitations-1">Known Limitations</h2>
<p>None</p>
<h2 id="dependencies-1">Dependencies</h2>
<p>None</p>
</div>
</div>
<div class="collapse">
<input type="checkbox" id="collapse-section6" aria-hidden="true">
<label for="collapse-section6" aria-hidden="true"><strong>V1.5.0 /
04-November-2021</strong></label>
<div>
<h2 id="main-changes-2">Main Changes</h2>
<p>This is a <strong>Maintenance release</strong> for STM32MP15xx
CMSIS</p>
<h2 id="contents-2">Contents</h2>
<ul>
<li>Update bit definition in header files:
<ul>
<li>DDR : Update DDR bit registers</li>
<li>USBPHYC: Update structure and add bitfields</li>
<li>Fix MISRA warnings:
<ul>
<li>Remove duplicate definitions</li>
<li>Use ‘UL’ postfix for _Msk definitions and memory/peripheral base addresses</li>
<li>Use ‘UL’ postfix for _Msk definitions and memory/peripheral base
addresses</li>
<li>Unexpected space in “startup_stm32mp151axx_cm4 .s”</li>
</ul></li>
<li>Linker script :
<ul>
<li>Prevent text section to overide data ( resource table )</li>
<li>Suppress the check and add AT (ADDR (.bss)) to set the LMA to the VMA.</li>
<li>Suppress the check and add AT (ADDR (.bss)) to set the LMA to the
VMA.</li>
</ul></li>
<li>Update the licenses declaration</li>
</ul></li>
</ul>
<h2 id="known-limitations-1">Known Limitations</h2>
<h2 id="known-limitations-2">Known Limitations</h2>
<p>None</p>
<h2 id="dependencies-1">Dependencies</h2>
<h2 id="dependencies-2">Dependencies</h2>
<p>None</p>
</div>
</div>
<div class="collapse">
<input type="checkbox" id="collapse-section5" aria-hidden="true"> <label for="collapse-section5" aria-hidden="true"><strong>V1.4.0 / 26-February-2021</strong></label>
<input type="checkbox" id="collapse-section5" aria-hidden="true">
<label for="collapse-section5" aria-hidden="true"><strong>V1.4.0 /
26-February-2021</strong></label>
<div>
<h2 id="main-changes-2">Main Changes</h2>
<p>This is a <strong>Maintenance release</strong> for STM32MP15xx CMSIS</p>
<h2 id="contents-2">Contents</h2>
<h2 id="main-changes-3">Main Changes</h2>
<p>This is a <strong>Maintenance release</strong> for STM32MP15xx
CMSIS</p>
<h2 id="contents-3">Contents</h2>
<ul>
<li>Header files:
<ul>
<li>Remove C1EMRx registers which does not exist on the silicon</li>
<li>Update RNG register structure</li>
</ul></li>
</ul>
<h2 id="known-limitations-2">Known Limitations</h2>
<h2 id="known-limitations-3">Known Limitations</h2>
<p>None</p>
<h2 id="dependencies-2">Dependencies</h2>
<h2 id="dependencies-3">Dependencies</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"><strong>V1.3.0 / 20-October-2020</strong></label>
<input type="checkbox" id="collapse-section4" aria-hidden="true">
<label for="collapse-section4" aria-hidden="true"><strong>V1.3.0 /
20-October-2020</strong></label>
<div>
<h2 id="main-changes-3">Main Changes</h2>
<p>This is a <strong>Maintenance release</strong> for STM32MP15xx CMSIS</p>
<h2 id="contents-3">Contents</h2>
<h2 id="main-changes-4">Main Changes</h2>
<p>This is a <strong>Maintenance release</strong> for STM32MP15xx
CMSIS</p>
<h2 id="contents-4">Contents</h2>
<ul>
<li>Header files:
<ul>
<li>Rename RCC bit definition to be more compliant with the name from RCC spec</li>
<li>Rename RCC bit definition to be more compliant with the name from
RCC spec</li>
<li>Update license with BSD 3-Clause template</li>
<li>Fix typo in MDMA register definition</li>
</ul></li>
</ul>
<h2 id="known-limitations-3">Known Limitations</h2>
<h2 id="known-limitations-4">Known Limitations</h2>
<p>None</p>
<h2 id="dependencies-3">Dependencies</h2>
<h2 id="dependencies-4">Dependencies</h2>
<p>None</p>
</div>
</div>
<div class="collapse">
<input type="checkbox" id="collapse-section3" aria-hidden="true"> <label for="collapse-section3" aria-hidden="true"><strong>V1.2.0 / 03-February-2020</strong></label>
<input type="checkbox" id="collapse-section3" aria-hidden="true">
<label for="collapse-section3" aria-hidden="true"><strong>V1.2.0 /
03-February-2020</strong></label>
<div>
<h2 id="main-changes-4">Main Changes</h2>
<p>This is a <strong>Maintenance release</strong> for STM32MP15xx CMSIS</p>
<h2 id="contents-4">Contents</h2>
<h2 id="main-changes-5">Main Changes</h2>
<p>This is a <strong>Maintenance release</strong> for STM32MP15xx
CMSIS</p>
<h2 id="contents-5">Contents</h2>
<ul>
<li>Header files:
<ul>
Expand All @@ -149,29 +217,34 @@ <h2 id="contents-4">Contents</h2>
</ul></li>
<li>Update Linker Template file for KEIL and IAR:
<ul>
<li>Add OpenAMP region ( region present by default, to comment if needed )</li>
<li>Add OpenAMP region ( region present by default, to comment if needed
)</li>
</ul></li>
</ul>
<h2 id="known-limitations-4">Known Limitations</h2>
<h2 id="known-limitations-5">Known Limitations</h2>
<p>None</p>
<h2 id="dependencies-4">Dependencies</h2>
<h2 id="dependencies-5">Dependencies</h2>
<p>None</p>
</div>
</div>
<div class="collapse">
<input type="checkbox" id="collapse-section2" aria-hidden="true"> <label for="collapse-section2" aria-hidden="true"><strong>V1.1.0 / 10-September-2019</strong></label>
<input type="checkbox" id="collapse-section2" aria-hidden="true">
<label for="collapse-section2" aria-hidden="true"><strong>V1.1.0 /
10-September-2019</strong></label>
<div>
<h2 id="main-changes-5">Main Changes</h2>
<p>This is the <strong>First Maintenance release</strong> for STM32MP15xx CMSIS</p>
<h2 id="contents-5">Contents</h2>
<h2 id="main-changes-6">Main Changes</h2>
<p>This is the <strong>First Maintenance release</strong> for
STM32MP15xx CMSIS</p>
<h2 id="contents-6">Contents</h2>
<ul>
<li>Header files:
<ul>
<li>Update FMC bit definition</li>
<li>Update ETH bit definition</li>
<li>update EXTI_EXTICR bit definition</li>
<li>Update I2C bit definition</li>
<li>Update SPI bit definition (SPI_CR1_CRC33_17, SPI_RXCRC, SPI_IER, SPI_I2SCFGR)</li>
<li>Update SPI bit definition (SPI_CR1_CRC33_17, SPI_RXCRC, SPI_IER,
SPI_I2SCFGR)</li>
<li>TMPSENS IP renamed DTS</li>
<li>Update FDCAN TXBC bit definition</li>
<li>Update DAC_DHR8RD bit definition</li>
Expand All @@ -184,31 +257,37 @@ <h2 id="contents-5">Contents</h2>
</ul></li>
<li>Update startup file for KEIL and IAR</li>
</ul>
<h2 id="known-limitations-5">Known Limitations</h2>
<h2 id="known-limitations-6">Known Limitations</h2>
<p>None</p>
<h2 id="dependencies-5">Dependencies</h2>
<h2 id="dependencies-6">Dependencies</h2>
<p>None</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 / 22-January-2019</strong></label>
<input type="checkbox" id="collapse-section1" aria-hidden="true">
<label for="collapse-section1" aria-hidden="true"><strong>V1.0.0 /
22-January-2019</strong></label>
<div>
<h2 id="main-changes-6">Main Changes</h2>
<p>This is the <strong>First Official release</strong> for STM32MP15xx CMSIS</p>
<h2 id="contents-6">Contents</h2>
<h2 id="main-changes-7">Main Changes</h2>
<p>This is the <strong>First Official release</strong> for STM32MP15xx
CMSIS</p>
<h2 id="contents-7">Contents</h2>
<ul>
<li>First official release version of bits and registers definition aligned with STM32MP1 reference manual.</li>
<li>First official release version of bits and registers definition
aligned with STM32MP1 reference manual.</li>
</ul>
<h2 id="known-limitations-6">Known Limitations</h2>
<h2 id="known-limitations-7">Known Limitations</h2>
<p>None</p>
<h2 id="dependencies-6">Dependencies</h2>
<h2 id="dependencies-7">Dependencies</h2>
<p>None</p>
</div>
</div>
</div>
</section>
</div>
<footer class="sticky">
For complete documentation on STM32 Microcontrollers </mark> , visit: <span style="font-color: blue;"><a href="http://www.st.com/stm32">www.st.com/stm32</a></span>
For complete documentation on STM32 Microcontrollers </mark> , visit:
<span style="font-color: blue;"><a
href="http://www.st.com/stm32">www.st.com/stm32</a></span>
</footer>
</body>
</html>
Loading