Skip to content

Commit

Permalink
Merge pull request #1898 from fpistm/update_CubeMP1
Browse files Browse the repository at this point in the history
Update STM32MP1 HAL and CMSIS drivers
  • Loading branch information
fpistm authored Dec 20, 2022
2 parents 8717bd0 + 5ca3e7a commit 83e10ae
Show file tree
Hide file tree
Showing 156 changed files with 6,295 additions and 2,962 deletions.
2 changes: 1 addition & 1 deletion cores/arduino/stm32/OpenAMP/libmetal/generic/cortexm/sys.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifdef VIRTIOCON

#include "libmetal/lib/system/generic/cortexm/sys.c"
#include "libmetal/lib/system/generic/template/sys.c"

#endif /* VIRTIOCON */
10 changes: 0 additions & 10 deletions cores/arduino/stm32/OpenAMP/openamp.c
Original file line number Diff line number Diff line change
Expand Up @@ -164,16 +164,6 @@ void OPENAMP_DeInit()
metal_finish();
}

/**
* @brief Initialize the endpoint struct
*
* @param ept: virtio rpmsg endpoint
*/
void OPENAMP_init_ept(struct rpmsg_endpoint *ept)
{
rpmsg_init_ept(ept, "", RPMSG_ADDR_ANY, RPMSG_ADDR_ANY, NULL, NULL);
}

/**
* @brief Create and register the name service endpoint
*
Expand Down
2 changes: 2 additions & 0 deletions libraries/SrcWrapper/src/HAL/stm32yyxx_hal_smbus_ex.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
#include "stm32l4xx_hal_smbus_ex.c"
#elif STM32L5xx
#include "stm32l5xx_hal_smbus_ex.c"
#elif STM32MP1xx
#include "stm32mp1xx_hal_smbus_ex.c"
#elif STM32U5xx
#include "stm32u5xx_hal_smbus_ex.c"
#elif STM32WBxx
Expand Down
106 changes: 72 additions & 34 deletions system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp151axx_ca7.h

Large diffs are not rendered by default.

106 changes: 72 additions & 34 deletions system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp151axx_cm4.h

Large diffs are not rendered by default.

106 changes: 72 additions & 34 deletions system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp151cxx_ca7.h

Large diffs are not rendered by default.

106 changes: 72 additions & 34 deletions system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp151cxx_cm4.h

Large diffs are not rendered by default.

106 changes: 72 additions & 34 deletions system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp151dxx_ca7.h

Large diffs are not rendered by default.

106 changes: 72 additions & 34 deletions system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp151dxx_cm4.h

Large diffs are not rendered by default.

106 changes: 72 additions & 34 deletions system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp151fxx_ca7.h

Large diffs are not rendered by default.

106 changes: 72 additions & 34 deletions system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp151fxx_cm4.h

Large diffs are not rendered by default.

106 changes: 72 additions & 34 deletions system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp153axx_ca7.h

Large diffs are not rendered by default.

106 changes: 72 additions & 34 deletions system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp153axx_cm4.h

Large diffs are not rendered by default.

106 changes: 72 additions & 34 deletions system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp153cxx_ca7.h

Large diffs are not rendered by default.

106 changes: 72 additions & 34 deletions system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp153cxx_cm4.h

Large diffs are not rendered by default.

106 changes: 72 additions & 34 deletions system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp153dxx_ca7.h

Large diffs are not rendered by default.

106 changes: 72 additions & 34 deletions system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp153dxx_cm4.h

Large diffs are not rendered by default.

106 changes: 72 additions & 34 deletions system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp153fxx_ca7.h

Large diffs are not rendered by default.

106 changes: 72 additions & 34 deletions system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp153fxx_cm4.h

Large diffs are not rendered by default.

106 changes: 72 additions & 34 deletions system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp157axx_ca7.h

Large diffs are not rendered by default.

106 changes: 72 additions & 34 deletions system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp157axx_cm4.h

Large diffs are not rendered by default.

106 changes: 72 additions & 34 deletions system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp157cxx_ca7.h

Large diffs are not rendered by default.

106 changes: 72 additions & 34 deletions system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp157cxx_cm4.h

Large diffs are not rendered by default.

106 changes: 72 additions & 34 deletions system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp157dxx_ca7.h

Large diffs are not rendered by default.

106 changes: 72 additions & 34 deletions system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp157dxx_cm4.h

Large diffs are not rendered by default.

106 changes: 72 additions & 34 deletions system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp157fxx_ca7.h

Large diffs are not rendered by default.

106 changes: 72 additions & 34 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 (0x05U) /*!< [23:16] sub1 version */
#define __STM32MP1xx_CMSIS_VERSION_SUB1 (0x06U) /*!< [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
67 changes: 44 additions & 23 deletions system/Drivers/CMSIS/Device/ST/STM32MP1xx/Release_Notes.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,35 @@ <h1 id="purpose">Purpose</h1>
<div class="col-sm-12 col-lg-8">
<h1 id="update-history"><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.5.0 / 04-November-2021</strong></label>
<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>
<div>
<h2 id="main-changes">Main Changes</h2>
<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>
</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>
<h2 id="dependencies">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-1">Main Changes</h2>
<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>DDR : Update DDR bit registers</li>
<li>USBPHYC: Update structure and add bitfields</li>
<li>Fix MISRA warnings:
Expand All @@ -67,37 +88,37 @@ <h2 id="contents">Contents</h2>
<li>Update the licenses declaration</li>
</ul></li>
</ul>
<h2 id="known-limitations">Known Limitations</h2>
<h2 id="known-limitations-1">Known Limitations</h2>
<p>None</p>
<h2 id="dependencies">Dependencies</h2>
<h2 id="dependencies-1">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>
<div>
<h2 id="main-changes-1">Main Changes</h2>
<h2 id="main-changes-2">Main Changes</h2>
<p>This is a <strong>Maintenance release</strong> for STM32MP15xx CMSIS</p>
<h2 id="contents-1">Contents</h2>
<h2 id="contents-2">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-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-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-2">Main Changes</h2>
<h2 id="main-changes-3">Main Changes</h2>
<p>This is a <strong>Maintenance release</strong> for STM32MP15xx CMSIS</p>
<h2 id="contents-2">Contents</h2>
<h2 id="contents-3">Contents</h2>
<ul>
<li>Header files:
<ul>
Expand All @@ -106,18 +127,18 @@ <h2 id="contents-2">Contents</h2>
<li>Fix typo in MDMA register definition</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-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-3">Main Changes</h2>
<h2 id="main-changes-4">Main Changes</h2>
<p>This is a <strong>Maintenance release</strong> for STM32MP15xx CMSIS</p>
<h2 id="contents-3">Contents</h2>
<h2 id="contents-4">Contents</h2>
<ul>
<li>Header files:
<ul>
Expand All @@ -131,18 +152,18 @@ <h2 id="contents-3">Contents</h2>
<li>Add OpenAMP region ( region present by default, to comment if needed )</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-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-4">Main Changes</h2>
<h2 id="main-changes-5">Main Changes</h2>
<p>This is the <strong>First Maintenance release</strong> for STM32MP15xx CMSIS</p>
<h2 id="contents-4">Contents</h2>
<h2 id="contents-5">Contents</h2>
<ul>
<li>Header files:
<ul>
Expand All @@ -163,24 +184,24 @@ <h2 id="contents-4">Contents</h2>
</ul></li>
<li>Update startup file for KEIL and IAR</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-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-5">Main Changes</h2>
<h2 id="main-changes-6">Main Changes</h2>
<p>This is the <strong>First Official release</strong> for STM32MP15xx CMSIS</p>
<h2 id="contents-5">Contents</h2>
<h2 id="contents-6">Contents</h2>
<ul>
<li>First official release version of bits and registers definition aligned with STM32MP1 reference manual.</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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,14 @@
*****************************************************************************
** @attention
**
** <h2><center>&copy; Copyright (c) 2019 STMicroelectronics.
** All rights reserved.</center></h2>
** Copyright (c) 2019 STMicroelectronics.
** All rights reserved.
**
** This software component is licensed by ST under BSD 3-Clause license,
** the License; You may not use this file except in compliance with the
** License. You may obtain a copy of the License at:
** opensource.org/licenses/BSD-3-Clause
** This software is licensed under terms that can be found in the LICENSE file
** in the root directory of this software component.
** If no LICENSE file comes with this software, it is provided AS-IS.
**
*****************************************************************************
******************************************************************************
*/

/* Entry Point */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,12 @@
******************************************************************************
* @attention
*
* <h2><center>&copy; Copyright (c) 2019 STMicroelectronics.
* All rights reserved.</center></h2>
* Copyright (c) 2019 STMicroelectronics.
* All rights reserved.
*
* This software component is licensed by ST under BSD 3-Clause license,
* the "License"; You may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
* opensource.org/licenses/BSD-3-Clause
* This software is licensed under terms that can be found in the LICENSE file
* in the root directory of this software component.
* If no LICENSE file comes with this software, it is provided AS-IS.
*
******************************************************************************
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,12 @@
******************************************************************************
* @attention
*
* <h2><center>&copy; Copyright (c) 2019 STMicroelectronics.
* All rights reserved.</center></h2>
* Copyright (c) 2019 STMicroelectronics.
* All rights reserved.
*
* This software component is licensed by ST under BSD 3-Clause license,
* the "License"; You may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
* opensource.org/licenses/BSD-3-Clause
* This software is licensed under terms that can be found in the LICENSE file
* in the root directory of this software component.
* If no LICENSE file comes with this software, it is provided AS-IS.
*
******************************************************************************
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,12 @@
******************************************************************************
* @attention
*
* <h2><center>&copy; Copyright (c) 2019 STMicroelectronics.
* All rights reserved.</center></h2>
* Copyright (c) 2019 STMicroelectronics.
* All rights reserved.
*
* This software component is licensed by ST under BSD 3-Clause license,
* the "License"; You may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
* opensource.org/licenses/BSD-3-Clause
* This software is licensed under terms that can be found in the LICENSE file
* in the root directory of this software component.
* If no LICENSE file comes with this software, it is provided AS-IS.
*
******************************************************************************
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,12 @@
******************************************************************************
* @attention
*
* <h2><center>&copy; Copyright (c) 2019 STMicroelectronics.
* All rights reserved.</center></h2>
* Copyright (c) 2019 STMicroelectronics.
* All rights reserved.
*
* This software component is licensed by ST under BSD 3-Clause license,
* the "License"; You may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
* opensource.org/licenses/BSD-3-Clause
* This software is licensed under terms that can be found in the LICENSE file
* in the root directory of this software component.
* If no LICENSE file comes with this software, it is provided AS-IS.
*
******************************************************************************
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,12 @@
******************************************************************************
* @attention
*
* <h2><center>&copy; Copyright (c) 2019 STMicroelectronics.
* All rights reserved.</center></h2>
* Copyright (c) 2019 STMicroelectronics.
* All rights reserved.
*
* This software component is licensed by ST under BSD 3-Clause license,
* the "License"; You may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
* opensource.org/licenses/BSD-3-Clause
* This software is licensed under terms that can be found in the LICENSE file
* in the root directory of this software component.
* If no LICENSE file comes with this software, it is provided AS-IS.
*
******************************************************************************
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,12 @@
******************************************************************************
* @attention
*
* <h2><center>&copy; Copyright (c) 2019 STMicroelectronics.
* All rights reserved.</center></h2>
* Copyright (c) 2019 STMicroelectronics.
* All rights reserved.
*
* This software component is licensed by ST under BSD 3-Clause license,
* the "License"; You may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
* opensource.org/licenses/BSD-3-Clause
* This software is licensed under terms that can be found in the LICENSE file
* in the root directory of this software component.
* If no LICENSE file comes with this software, it is provided AS-IS.
*
******************************************************************************
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,12 @@
******************************************************************************
* @attention
*
* <h2><center>&copy; Copyright (c) 2019 STMicroelectronics.
* All rights reserved.</center></h2>
* Copyright (c) 2019 STMicroelectronics.
* All rights reserved.
*
* This software component is licensed by ST under BSD 3-Clause license,
* the "License"; You may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
* opensource.org/licenses/BSD-3-Clause
* This software is licensed under terms that can be found in the LICENSE file
* in the root directory of this software component.
* If no LICENSE file comes with this software, it is provided AS-IS.
*
******************************************************************************
*/
Expand Down Expand Up @@ -788,5 +787,3 @@ g_pfnVectors:
.weak WAKEUP_PIN_IRQHandler
.thumb_set WAKEUP_PIN_IRQHandler,Default_Handler

/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
* @{
*/

#include "stm32mp1xx_hal.h"
#include "stm32mp1xx.h"

/**
* @}
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
Expand Up @@ -13,7 +13,7 @@
* STM32L1: 2.3.2
* STM32L4: 1.7.2
* STM32L5: 1.0.5
* STM32MP1: 1.5.0
* STM32MP1: 1.6.0
* STM32U5: 1.1.0
* STM32WB: 1.12.0
* STM32WL: 1.2.0
Expand Down
Loading

0 comments on commit 83e10ae

Please sign in to comment.