Skip to content

Commit 525d249

Browse files
committed
official release of STM32CubeMP1_FW_V1.7.0
1 parent a3859ad commit 525d249

File tree

739 files changed

+185536
-65418
lines changed

Some content is hidden

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

739 files changed

+185536
-65418
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
This software component is provided to you as part of a software package and
2+
applicable license terms are in the Package_license file. If you received this
3+
software component outside of a package or without applicable license terms,
4+
the terms of the BSD-3-Clause license shall apply.
5+
You may obtain a copy of the BSD-3-Clause at:
6+
https://opensource.org/licenses/BSD-3-Clause

Drivers/BSP/STM32MP15xx_DISCO/Release_Notes.html

Lines changed: 126 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -5,42 +5,67 @@
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 STM32MP1xx-Disco BSP Drivers</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+
/* The extra [class] is a hack that increases specificity enough to
15+
override a similar rule in reveal.js */
16+
ul.task-list[class]{list-style: none;}
17+
ul.task-list li input[type="checkbox"] {
18+
font-size: inherit;
19+
width: 0.8em;
20+
margin: 0 0.8em 0.2em -1.6em;
21+
vertical-align: middle;
22+
}
23+
.display.math{display: block; text-align: center; margin: 0.5rem auto;}
1324
</style>
1425
<link rel="stylesheet" href="_htmresc/mini-st_2020.css" />
26+
<link rel="icon" type="image/x-icon" href="_htmresc/favicon.png" />
1527
<!--[if lt IE 9]>
1628
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
1729
<![endif]-->
18-
<link rel="icon" type="image/x-icon" href="_htmresc/favicon.png" />
1930
</head>
2031
<body>
2132
<div class="row">
2233
<div class="col-sm-12 col-lg-4">
2334
<center>
24-
<h1 id="release-notes-for-stm32mp1xx-disco-bsp-drivers">Release Notes for <mark>STM32MP1xx-Disco BSP Drivers</mark></h1>
35+
<h1 id="release-notes-for-stm32mp1xx-disco-bsp-drivers">Release Notes
36+
for <mark>STM32MP1xx-Disco BSP Drivers</mark></h1>
2537
<p>Copyright © 2021 STMicroelectronics<br />
2638
</p>
27-
<a href="https://www.st.com" class="logo"><img src="_htmresc/st_logo_2020.png" alt="ST logo" /></a>
39+
<a href="https://www.st.com" class="logo"><img
40+
src="_htmresc/st_logo_2020.png" alt="ST logo" /></a>
2841
</center>
2942
<h1 id="purpose">Purpose</h1>
30-
<p>The BSP (Board Specific Package) drivers are parts of the STM32Cube package based on the HAL drivers and provide a set of high level APIs relative to the hardware components and features in the disco boards coming with the STM32Cube package for a given STM32 serie.</p>
31-
<p>The BSP drivers allow a quick access to the boards’ services using high level APIs and without any specific configuration as the link with the HAL and the external components is done in intrinsic within the drivers.</p>
32-
<p>From project settings points of view, user has only to add the necessary driver’s files in the workspace and call the needed functions from examples. However some low level configuration functions are weak and can be overridden by the applications if user wants to change some BSP drivers default behavior.</p>
43+
<p>The BSP (Board Specific Package) drivers are parts of the STM32Cube
44+
package based on the HAL drivers and provide a set of high level APIs
45+
relative to the hardware components and features in the disco boards
46+
coming with the STM32Cube package for a given STM32 serie.</p>
47+
<p>The BSP drivers allow a quick access to the boards’ services using
48+
high level APIs and without any specific configuration as the link with
49+
the HAL and the external components is done in intrinsic within the
50+
drivers.</p>
51+
<p>From project settings points of view, user has only to add the
52+
necessary driver’s files in the workspace and call the needed functions
53+
from examples. However some low level configuration functions are weak
54+
and can be overridden by the applications if user wants to change some
55+
BSP drivers default behavior.</p>
3356
</div>
34-
<div class="col-sm-12 col-lg-8">
35-
<h1 id="update-history">Update History</h1>
57+
<section id="update-history" class="col-sm-12 col-lg-8">
58+
<h1>Update History</h1>
3659
<div class="collapse">
37-
<input type="checkbox" id="collapse-section0" checked aria-hidden="true"> <label for="collapse-section0" aria-hidden="true"><strong>V1.6.0 / 02-June-2022</strong></label>
60+
<input type="checkbox" id="collapse-section0" checked aria-hidden="true">
61+
<label for="collapse-section0" aria-hidden="true"><strong>V1.7.0 /
62+
14-Feb-2025</strong></label>
3863
<div>
3964
<h2 id="main-changes">Main Changes</h2>
4065
<p><strong>Maintenance Release of STMP32MP1xx_DISCO BSP</strong></p>
4166
<h2 id="contents">Contents</h2>
4267
<ul>
43-
<li>Add BSP_Error_Handler() to manage BSP Errors</li>
68+
<li>Fix compilation warning in stm32mp15xx_disco.c</li>
4469
</ul>
4570
<h2 id="known-limitations">Known Limitations</h2>
4671
<ul>
@@ -52,18 +77,22 @@ <h2 id="dependencies">Dependencies</h2>
5277
</ul>
5378
<h2 id="notes">Notes</h2>
5479
<ul>
55-
<li>stm32mp15xx_disco_conf_template.h file must be copied in user application as &gt;stm32mp15xx_disco_conf.h with optional configuration update</li>
80+
<li>stm32mp15xx_disco_conf_template.h file must be copied in user
81+
application as &gt;stm32mp15xx_disco_conf.h with optional configuration
82+
update</li>
5683
</ul>
5784
</div>
5885
</div>
5986
<div class="collapse">
60-
<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>
87+
<input type="checkbox" id="collapse-section7" aria-hidden="true">
88+
<label for="collapse-section7" aria-hidden="true"><strong>V1.6.0 /
89+
02-June-2022</strong></label>
6190
<div>
6291
<h2 id="main-changes-1">Main Changes</h2>
6392
<p><strong>Maintenance Release of STMP32MP1xx_DISCO BSP</strong></p>
6493
<h2 id="contents-1">Contents</h2>
6594
<ul>
66-
<li>Update the licenses declaration</li>
95+
<li>Add BSP_Error_Handler() to manage BSP Errors</li>
6796
</ul>
6897
<h2 id="known-limitations-1">Known Limitations</h2>
6998
<ul>
@@ -74,17 +103,23 @@ <h2 id="dependencies-1">Dependencies</h2>
74103
<li>None</li>
75104
</ul>
76105
<h2 id="notes-1">Notes</h2>
77-
<p>stm32mp15xx_disco_conf_template.h file must be copied in user application as &gt;stm32mp15xx_disco_conf.h with optional configuration update</p>
106+
<ul>
107+
<li>stm32mp15xx_disco_conf_template.h file must be copied in user
108+
application as &gt;stm32mp15xx_disco_conf.h with optional configuration
109+
update</li>
110+
</ul>
78111
</div>
79112
</div>
80113
<div class="collapse">
81-
<input type="checkbox" id="collapse-section5" aria-hidden="true"> <label for="collapse-section5" aria-hidden="true"><strong>V1.4.0 / 27-January-2021</strong></label>
114+
<input type="checkbox" id="collapse-section6" aria-hidden="true">
115+
<label for="collapse-section6" aria-hidden="true"><strong>V1.5.0 /
116+
04-November-2021</strong></label>
82117
<div>
83118
<h2 id="main-changes-2">Main Changes</h2>
84-
<p><strong>Maintenance Release</strong> of STMP32MP15xx_DISCO BSP</p>
119+
<p><strong>Maintenance Release of STMP32MP1xx_DISCO BSP</strong></p>
85120
<h2 id="contents-2">Contents</h2>
86121
<ul>
87-
<li>No Update</li>
122+
<li>Update the licenses declaration</li>
88123
</ul>
89124
<h2 id="known-limitations-2">Known Limitations</h2>
90125
<ul>
@@ -95,20 +130,21 @@ <h2 id="dependencies-2">Dependencies</h2>
95130
<li>None</li>
96131
</ul>
97132
<h2 id="notes-2">Notes</h2>
98-
<p>stm32mp15xx_disco_conf_template.h file must be copied in user application as &gt;stm32mp15xx_disco_conf.h with optional configuration update</p>
133+
<p>stm32mp15xx_disco_conf_template.h file must be copied in user
134+
application as &gt;stm32mp15xx_disco_conf.h with optional configuration
135+
update</p>
99136
</div>
100137
</div>
101138
<div class="collapse">
102-
<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>
139+
<input type="checkbox" id="collapse-section5" aria-hidden="true">
140+
<label for="collapse-section5" aria-hidden="true"><strong>V1.4.0 /
141+
27-January-2021</strong></label>
103142
<div>
104143
<h2 id="main-changes-3">Main Changes</h2>
105144
<p><strong>Maintenance Release</strong> of STMP32MP15xx_DISCO BSP</p>
106145
<h2 id="contents-3">Contents</h2>
107146
<ul>
108-
<li>Fix unterminated extern “C” definitions:
109-
<ul>
110-
<li>impacted files : stm32mp15xx_disco_conf_template.h and stm32mp15xx_disco_errno.h</li>
111-
</ul></li>
147+
<li>No Update</li>
112148
</ul>
113149
<h2 id="known-limitations-3">Known Limitations</h2>
114150
<ul>
@@ -119,17 +155,25 @@ <h2 id="dependencies-3">Dependencies</h2>
119155
<li>None</li>
120156
</ul>
121157
<h2 id="notes-3">Notes</h2>
122-
<p>stm32mp15xx_disco_conf_template.h file must be copied in user application as &gt;stm32mp15xx_disco_conf.h with optional configuration update</p>
158+
<p>stm32mp15xx_disco_conf_template.h file must be copied in user
159+
application as &gt;stm32mp15xx_disco_conf.h with optional configuration
160+
update</p>
123161
</div>
124162
</div>
125163
<div class="collapse">
126-
<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>
164+
<input type="checkbox" id="collapse-section4" aria-hidden="true">
165+
<label for="collapse-section4" aria-hidden="true"><strong>V1.3.0 /
166+
20-October-2020</strong></label>
127167
<div>
128168
<h2 id="main-changes-4">Main Changes</h2>
129169
<p><strong>Maintenance Release</strong> of STMP32MP15xx_DISCO BSP</p>
130170
<h2 id="contents-4">Contents</h2>
131171
<ul>
132-
<li>No update</li>
172+
<li>Fix unterminated extern “C” definitions:
173+
<ul>
174+
<li>impacted files : stm32mp15xx_disco_conf_template.h and
175+
stm32mp15xx_disco_errno.h</li>
176+
</ul></li>
133177
</ul>
134178
<h2 id="known-limitations-4">Known Limitations</h2>
135179
<ul>
@@ -140,18 +184,21 @@ <h2 id="dependencies-4">Dependencies</h2>
140184
<li>None</li>
141185
</ul>
142186
<h2 id="notes-4">Notes</h2>
143-
<p>stm32mp15xx_disco_conf_template.h file must be copied in user application as &gt;stm32mp15xx_disco_conf.h with optional configuration update</p>
187+
<p>stm32mp15xx_disco_conf_template.h file must be copied in user
188+
application as &gt;stm32mp15xx_disco_conf.h with optional configuration
189+
update</p>
144190
</div>
145191
</div>
146192
<div class="collapse">
147-
<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>
193+
<input type="checkbox" id="collapse-section3" aria-hidden="true">
194+
<label for="collapse-section3" aria-hidden="true"><strong>V1.2.0 /
195+
03-February-2020</strong></label>
148196
<div>
149197
<h2 id="main-changes-5">Main Changes</h2>
150-
<p><strong>First Maintenance Release</strong> of STMP32MP15xx_DISCO BSP</p>
198+
<p><strong>Maintenance Release</strong> of STMP32MP15xx_DISCO BSP</p>
151199
<h2 id="contents-5">Contents</h2>
152200
<ul>
153-
<li><p>Add support of console input from COM</p></li>
154-
<li><p>Rename stm32mp15xx_eval_stpmu1 file to stm32mp15xx_eval_stpmic1</p></li>
201+
<li>No update</li>
155202
</ul>
156203
<h2 id="known-limitations-5">Known Limitations</h2>
157204
<ul>
@@ -162,14 +209,25 @@ <h2 id="dependencies-5">Dependencies</h2>
162209
<li>None</li>
163210
</ul>
164211
<h2 id="notes-5">Notes</h2>
165-
<p>stm32mp15xx_disco_conf_template.h file must be copied in user application as &gt;stm32mp15xx_disco_conf.h with optional configuration update</p>
212+
<p>stm32mp15xx_disco_conf_template.h file must be copied in user
213+
application as &gt;stm32mp15xx_disco_conf.h with optional configuration
214+
update</p>
166215
</div>
167216
</div>
168217
<div class="collapse">
169-
<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>
218+
<input type="checkbox" id="collapse-section2" aria-hidden="true">
219+
<label for="collapse-section2" aria-hidden="true"><strong>V1.1.0 /
220+
10-September-2019</strong></label>
170221
<div>
171222
<h2 id="main-changes-6">Main Changes</h2>
172-
<p><strong>First official release STM32MP15xx-DISCO</strong> board drivers for STM32CubeMP1 FW package</p>
223+
<p><strong>First Maintenance Release</strong> of STMP32MP15xx_DISCO
224+
BSP</p>
225+
<h2 id="contents-6">Contents</h2>
226+
<ul>
227+
<li><p>Add support of console input from COM</p></li>
228+
<li><p>Rename stm32mp15xx_eval_stpmu1 file to
229+
stm32mp15xx_eval_stpmic1</p></li>
230+
</ul>
173231
<h2 id="known-limitations-6">Known Limitations</h2>
174232
<ul>
175233
<li>None</li>
@@ -179,15 +237,41 @@ <h2 id="dependencies-6">Dependencies</h2>
179237
<li>None</li>
180238
</ul>
181239
<h2 id="notes-6">Notes</h2>
240+
<p>stm32mp15xx_disco_conf_template.h file must be copied in user
241+
application as &gt;stm32mp15xx_disco_conf.h with optional configuration
242+
update</p>
243+
</div>
244+
</div>
245+
<div class="collapse">
246+
<input type="checkbox" id="collapse-section1" aria-hidden="true">
247+
<label for="collapse-section1" aria-hidden="true"><strong>V1.0.0 /
248+
22-January-2019</strong></label>
249+
<div>
250+
<h2 id="main-changes-7">Main Changes</h2>
251+
<p><strong>First official release STM32MP15xx-DISCO</strong> board
252+
drivers for STM32CubeMP1 FW package</p>
253+
<h2 id="known-limitations-7">Known Limitations</h2>
182254
<ul>
183-
<li>stm32mp15xx_disco_conf_template.h file must be copied in user application as &gt;stm32mp15xx_disco_conf.h with optional configuration update</li>
255+
<li>None</li>
256+
</ul>
257+
<h2 id="dependencies-7">Dependencies</h2>
258+
<ul>
259+
<li>None</li>
260+
</ul>
261+
<h2 id="notes-7">Notes</h2>
262+
<ul>
263+
<li>stm32mp15xx_disco_conf_template.h file must be copied in user
264+
application as &gt;stm32mp15xx_disco_conf.h with optional configuration
265+
update</li>
184266
</ul>
185267
</div>
186268
</div>
187-
</div>
269+
</section>
188270
</div>
189271
<footer class="sticky">
190-
For complete documentation on <mark>STM32 Microcontrollers</mark> , visit: <span style="font-color: blue;"><a href="http://www.st.com/STM32">www.st.com</a></span>
272+
For complete documentation on <mark>STM32 Microcontrollers</mark> ,
273+
visit: <span style="font-color: blue;"><a
274+
href="http://www.st.com/STM32">www.st.com</a></span>
191275
</footer>
192276
</body>
193277
</html>

Drivers/BSP/STM32MP15xx_DISCO/stm32mp15xx_disco.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ typedef void (* BSP_EXTI_LineCallback)(void);
4848
/** @brief STM32MP15XX DISCO BSP Driver version number V2.0.0
4949
*/
5050
#define STM32MP15XX_DISCO_BSP_VERSION_MAIN (0x01U) /*!< [31:24] main version */
51-
#define STM32MP15XX_DISCO_BSP_VERSION_SUB1 (0x06U) /*!< [23:16] sub1 version */
51+
#define STM32MP15XX_DISCO_BSP_VERSION_SUB1 (0x07U) /*!< [23:16] sub1 version */
5252
#define STM32MP15XX_DISCO_BSP_VERSION_SUB2 (0x00U) /*!< [15:8] sub2 version */
5353
#define STM32MP15XX_DISCO_BSP_VERSION_RC (0x00U) /*!< [7:0] release candidate */
5454
#define STM32MP15XX_DISCO_BSP_VERSION ((STM32MP15XX_DISCO_BSP_VERSION_MAIN << 24)\
@@ -391,6 +391,7 @@ int32_t BSP_PB_Init(Button_TypeDef Button, ButtonMode_TypeDef ButtonMode)
391391
#if defined (CORE_CA7)
392392
IRQ_SetPriority(BUTTON_IRQn[Button], 0x00);
393393
IRQ_Enable(BUTTON_IRQn[Button]);
394+
UNUSED(BSP_BUTTON_IT_PRIORITY);
394395
#else
395396
HAL_NVIC_SetPriority((IRQn_Type)(BUTTON_IRQn[Button]), BSP_BUTTON_IT_PRIORITY[Button], 0x00);
396397
HAL_NVIC_EnableIRQ((IRQn_Type)(BUTTON_IRQn[Button]));

Drivers/BSP/STM32MP15xx_DISCO/stm32mp15xx_disco_stpmic1.c

Lines changed: 3 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -819,7 +819,6 @@ static uint8_t STPMU1_Voltage_Find_Index(PMIC_RegulId_TypeDef id, uint16_t miliv
819819
for ( i = 0 ; i < regul->voltage_table_size ; i++)
820820
{
821821
if ( regul->voltage_table[i] == milivolts ) {
822-
//printf("idx:%d for %dmV\n\r", (int)i, (int)milivolts);
823822
return i;
824823
}
825824
}
@@ -1177,12 +1176,12 @@ uint32_t BSP_PMIC_InitRegulators(void)
11771176
STPMU1_Regulator_Enable(STPMU1_BUCK2);
11781177

11791178
/* vdd */
1180-
STPMU1_Regulator_Voltage_Set(STPMU1_BUCK3, 1800);
1179+
STPMU1_Regulator_Voltage_Set(STPMU1_BUCK3, 3300);
11811180
STPMU1_Regulator_Enable(STPMU1_BUCK3);
11821181

11831182
/* 3v3 */
1184-
//STPMU1_Regulator_Voltage_Set(STPMU1_BUCK4, 3300);
1185-
//STPMU1_Regulator_Enable(STPMU1_BUCK4);
1183+
STPMU1_Regulator_Voltage_Set(STPMU1_BUCK4, 3300);
1184+
STPMU1_Regulator_Enable(STPMU1_BUCK4);
11861185

11871186
/* 1v8_audio */
11881187
STPMU1_Regulator_Voltage_Set(STPMU1_LDO1, 1800);
@@ -1223,45 +1222,6 @@ uint32_t BSP_PMIC_SwitchOff(void)
12231222

12241223
__weak void BSP_PMIC_INTn_Callback(PMIC_IRQn IRQn)
12251224
{
1226-
switch (IRQn)
1227-
{
1228-
case IT_PONKEY_F:
1229-
printf("IT_PONKEY_F");
1230-
break;
1231-
1232-
case IT_PONKEY_R:
1233-
printf("IT_PONKEY_R");
1234-
break;
1235-
1236-
case IT_WAKEUP_F:
1237-
printf("IT_WAKEUP_F");
1238-
break;
1239-
1240-
case IT_WAKEUP_R:
1241-
printf("IT_WAKEUP_R");
1242-
break;
1243-
1244-
case IT_VBUS_OTG_F:
1245-
printf("IT_VBUS_OTG_F");
1246-
break;
1247-
1248-
case IT_SWOUT_F:
1249-
printf("IT_SWOUT_F");
1250-
break;
1251-
1252-
case IT_TWARN_R:
1253-
printf("IT_TWARN_R");
1254-
break;
1255-
1256-
case IT_TWARN_F:
1257-
printf("IT_TWARN_F");
1258-
break;
1259-
1260-
default:
1261-
printf("%d",IRQn);
1262-
break;
1263-
}
1264-
printf(" Interrupt received\n\r");
12651225
}
12661226

12671227
void STPMU1_INTn_Callback(PMIC_IRQn IRQn) {
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
This software component is provided to you as part of a software package and
2+
applicable license terms are in the Package_license file. If you received this
3+
software component outside of a package or without applicable license terms,
4+
the terms of the BSD-3-Clause license shall apply.
5+
You may obtain a copy of the BSD-3-Clause at:
6+
https://opensource.org/licenses/BSD-3-Clause

0 commit comments

Comments
 (0)