Skip to content

Commit b9a3117

Browse files
committed
Release STM32CubeMP1 v1.6.0 Ecosystem
1 parent 817e844 commit b9a3117

File tree

1,502 files changed

+57254
-12991
lines changed

Some content is hidden

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

1,502 files changed

+57254
-12991
lines changed

Drivers/BSP/STM32MP15xx_DISCO/Release_Notes.html

Lines changed: 39 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ <h1 id="purpose">Purpose</h1>
3434
<div class="col-sm-12 col-lg-8">
3535
<h1 id="update-history">Update History</h1>
3636
<div class="collapse">
37-
<input type="checkbox" id="collapse-section0" checked aria-hidden="true"> <label for="collapse-section0" aria-hidden="true"><strong>V1.5.0 / 04-November-2021</strong></label>
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>
3838
<div>
3939
<h2 id="main-changes">Main Changes</h2>
4040
<p><strong>Maintenance Release of STMP32MP1xx_DISCO BSP</strong></p>
4141
<h2 id="contents">Contents</h2>
4242
<ul>
43-
<li>Update the licenses declaration</li>
43+
<li>Add BSP_Error_Handler() to manage BSP Errors</li>
4444
</ul>
4545
<h2 id="known-limitations">Known Limitations</h2>
4646
<ul>
@@ -57,13 +57,13 @@ <h2 id="notes">Notes</h2>
5757
</div>
5858
</div>
5959
<div class="collapse">
60-
<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>
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>
6161
<div>
6262
<h2 id="main-changes-1">Main Changes</h2>
63-
<p><strong>Maintenance Release</strong> of STMP32MP15xx_DISCO BSP</p>
63+
<p><strong>Maintenance Release of STMP32MP1xx_DISCO BSP</strong></p>
6464
<h2 id="contents-1">Contents</h2>
6565
<ul>
66-
<li>No Update</li>
66+
<li>Update the licenses declaration</li>
6767
</ul>
6868
<h2 id="known-limitations-1">Known Limitations</h2>
6969
<ul>
@@ -78,16 +78,13 @@ <h2 id="notes-1">Notes</h2>
7878
</div>
7979
</div>
8080
<div class="collapse">
81-
<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>
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>
8282
<div>
8383
<h2 id="main-changes-2">Main Changes</h2>
8484
<p><strong>Maintenance Release</strong> of STMP32MP15xx_DISCO BSP</p>
8585
<h2 id="contents-2">Contents</h2>
8686
<ul>
87-
<li>Fix unterminated extern “C” definitions:
88-
<ul>
89-
<li>impacted files : stm32mp15xx_disco_conf_template.h and stm32mp15xx_disco_errno.h</li>
90-
</ul></li>
87+
<li>No Update</li>
9188
</ul>
9289
<h2 id="known-limitations-2">Known Limitations</h2>
9390
<ul>
@@ -102,13 +99,16 @@ <h2 id="notes-2">Notes</h2>
10299
</div>
103100
</div>
104101
<div class="collapse">
105-
<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>
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>
106103
<div>
107104
<h2 id="main-changes-3">Main Changes</h2>
108105
<p><strong>Maintenance Release</strong> of STMP32MP15xx_DISCO BSP</p>
109106
<h2 id="contents-3">Contents</h2>
110107
<ul>
111-
<li>No update</li>
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>
112112
</ul>
113113
<h2 id="known-limitations-3">Known Limitations</h2>
114114
<ul>
@@ -123,14 +123,13 @@ <h2 id="notes-3">Notes</h2>
123123
</div>
124124
</div>
125125
<div class="collapse">
126-
<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>
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>
127127
<div>
128128
<h2 id="main-changes-4">Main Changes</h2>
129-
<p><strong>First Maintenance Release</strong> of STMP32MP15xx_DISCO BSP</p>
129+
<p><strong>Maintenance Release</strong> of STMP32MP15xx_DISCO BSP</p>
130130
<h2 id="contents-4">Contents</h2>
131131
<ul>
132-
<li><p>Add support of console input from COM</p></li>
133-
<li><p>Rename stm32mp15xx_eval_stpmu1 file to stm32mp15xx_eval_stpmic1</p></li>
132+
<li>No update</li>
134133
</ul>
135134
<h2 id="known-limitations-4">Known Limitations</h2>
136135
<ul>
@@ -145,10 +144,15 @@ <h2 id="notes-4">Notes</h2>
145144
</div>
146145
</div>
147146
<div class="collapse">
148-
<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>
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>
149148
<div>
150149
<h2 id="main-changes-5">Main Changes</h2>
151-
<p><strong>First official release STM32MP15xx-DISCO</strong> board drivers for STM32CubeMP1 FW package</p>
150+
<p><strong>First Maintenance Release</strong> of STMP32MP15xx_DISCO BSP</p>
151+
<h2 id="contents-5">Contents</h2>
152+
<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>
155+
</ul>
152156
<h2 id="known-limitations-5">Known Limitations</h2>
153157
<ul>
154158
<li>None</li>
@@ -158,6 +162,23 @@ <h2 id="dependencies-5">Dependencies</h2>
158162
<li>None</li>
159163
</ul>
160164
<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>
166+
</div>
167+
</div>
168+
<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>
170+
<div>
171+
<h2 id="main-changes-6">Main Changes</h2>
172+
<p><strong>First official release STM32MP15xx-DISCO</strong> board drivers for STM32CubeMP1 FW package</p>
173+
<h2 id="known-limitations-6">Known Limitations</h2>
174+
<ul>
175+
<li>None</li>
176+
</ul>
177+
<h2 id="dependencies-6">Dependencies</h2>
178+
<ul>
179+
<li>None</li>
180+
</ul>
181+
<h2 id="notes-6">Notes</h2>
161182
<ul>
162183
<li>stm32mp15xx_disco_conf_template.h file must be copied in user application as &gt;stm32mp15xx_disco_conf.h with optional configuration update</li>
163184
</ul>
Binary file not shown.

Drivers/BSP/STM32MP15xx_DISCO/stm32mp15xx_disco.c

Lines changed: 1 addition & 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 (0x05U) /*!< [23:16] sub1 version */
51+
#define STM32MP15XX_DISCO_BSP_VERSION_SUB1 (0x06U) /*!< [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)\

Drivers/BSP/STM32MP15xx_DISCO/stm32mp15xx_disco.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,7 @@ typedef struct
254254
* @{
255255
*/
256256
uint32_t BSP_GetVersion(void);
257+
void BSP_Error_Handler(void);
257258

258259
/** @addtogroup STM32MP15XX_DISCO_LOW_LEVEL_Exported_Functions_Group1 LED Functions
259260
* @{

Drivers/BSP/STM32MP15xx_DISCO/stm32mp15xx_disco_stpmic1.c

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
*/
1818

1919
/* Includes ----------------------------------------------------------------------*/
20+
#include "stm32mp15xx_disco.h"
2021
#include "stm32mp15xx_disco_bus.h"
2122
#include "stm32mp15xx_disco_stpmic1.h"
2223
#include <string.h>
@@ -791,7 +792,6 @@ regul_struct regulators_table[] = {
791792
/* Private function prototypes -----------------------------------------------*/
792793
void STPMU1_IrqHandler(void);
793794
void STPMU1_INTn_Callback(PMIC_IRQn IRQn);
794-
static void My_Error_Handler(void);
795795
static regul_struct *STPMU1_Get_Regulator_Data(PMIC_RegulId_TypeDef id);
796796
static uint8_t STPMU1_Voltage_Find_Index(PMIC_RegulId_TypeDef id, uint16_t milivolts);
797797

@@ -808,7 +808,7 @@ static regul_struct *STPMU1_Get_Regulator_Data(PMIC_RegulId_TypeDef id)
808808
return &regulators_table[i];
809809
}
810810
/* id not found */
811-
My_Error_Handler();
811+
BSP_Error_Handler();
812812
return NULL;
813813
}
814814

@@ -824,7 +824,7 @@ static uint8_t STPMU1_Voltage_Find_Index(PMIC_RegulId_TypeDef id, uint16_t miliv
824824
}
825825
}
826826
/* voltage not found */
827-
My_Error_Handler();
827+
BSP_Error_Handler();
828828
return 0;
829829
}
830830

@@ -901,14 +901,17 @@ void STPMU1_IrqHandler(void)
901901
* @brief This function is executed in case of error occurrence.
902902
* @retval None
903903
*/
904-
static void My_Error_Handler(void)
904+
void BSP_Error_Handler(void)
905905
{
906-
/* Error if LED1 is slowly blinking (1 sec. period) */
906+
BSP_LED_Init(LED_RED);
907+
908+
/* Infinite loop */
907909
while(1)
908-
{
909-
//BSP_LED_Toggle(LED4);
910+
{
911+
/* Toggle LED_RED */
912+
BSP_LED_Toggle(LED_RED);
910913
HAL_Delay(500);
911-
}
914+
}
912915
}
913916

914917

@@ -962,7 +965,7 @@ uint8_t STPMU1_Register_Read(uint8_t register_id)
962965
/* Check the communication status */
963966
if(status != BSP_ERROR_NONE)
964967
{
965-
My_Error_Handler();
968+
BSP_Error_Handler();
966969
}
967970
return Value;
968971
}
@@ -976,7 +979,7 @@ void STPMU1_Register_Write(uint8_t register_id, uint8_t value)
976979
/* Check the communication status */
977980
if(status != BSP_ERROR_NONE)
978981
{
979-
My_Error_Handler();
982+
BSP_Error_Handler();
980983
}
981984

982985
/* verify register content */
@@ -985,7 +988,7 @@ void STPMU1_Register_Write(uint8_t register_id, uint8_t value)
985988
uint8_t readval = STPMU1_Register_Read(register_id);
986989
if (readval != value)
987990
{
988-
My_Error_Handler();
991+
BSP_Error_Handler();
989992
}
990993
}
991994
return ;

Drivers/BSP/STM32MP15xx_EVAL/Release_Notes.html

Lines changed: 38 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ <h1 id="purpose">Purpose</h1>
3434
<div class="col-sm-12 col-lg-8">
3535
<h1 id="update-history">Update History</h1>
3636
<div class="collapse">
37-
<input type="checkbox" id="collapse-section0" checked aria-hidden="true"> <label for="collapse-section0" aria-hidden="true"><strong>V1.5.0 / 04-November-2021</strong></label>
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>
3838
<div>
3939
<h2 id="main-changes">Main Changes</h2>
4040
<p><strong>Maintenance Release of STMP32MP1xx_EVAL BSP</strong></p>
4141
<h2 id="contents">Contents</h2>
4242
<ul>
43-
<li>Update the licenses declaration</li>
43+
<li>Add BSP_Error_Handler() to manage BSP Errors</li>
4444
</ul>
4545
<h2 id="known-limitations">Known Limitations</h2>
4646
<ul>
@@ -57,13 +57,13 @@ <h2 id="notes">Notes</h2>
5757
</div>
5858
</div>
5959
<div class="collapse">
60-
<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>
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>
6161
<div>
6262
<h2 id="main-changes-1">Main Changes</h2>
6363
<p><strong>Maintenance Release</strong> of STMP32MP15xx_EVAL BSP</p>
6464
<h2 id="contents-1">Contents</h2>
6565
<ul>
66-
<li>No Update</li>
66+
<li>Update the licenses declaration</li>
6767
</ul>
6868
<h2 id="known-limitations-1">Known Limitations</h2>
6969
<ul>
@@ -78,16 +78,13 @@ <h2 id="notes-1">Notes</h2>
7878
</div>
7979
</div>
8080
<div class="collapse">
81-
<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>
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>
8282
<div>
8383
<h2 id="main-changes-2">Main Changes</h2>
8484
<p><strong>Maintenance Release</strong> of STMP32MP15xx_EVAL BSP</p>
8585
<h2 id="contents-2">Contents</h2>
8686
<ul>
87-
<li>Fix unterminated extern “C” definitions:
88-
<ul>
89-
<li>impacted files : stm32mp15xx_eval_conf_template.h and stm32mp15xx_eval_errno.h</li>
90-
</ul></li>
87+
<li>No Update</li>
9188
</ul>
9289
<h2 id="known-limitations-2">Known Limitations</h2>
9390
<ul>
@@ -102,13 +99,16 @@ <h2 id="notes-2">Notes</h2>
10299
</div>
103100
</div>
104101
<div class="collapse">
105-
<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>
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>
106103
<div>
107104
<h2 id="main-changes-3">Main Changes</h2>
108105
<p><strong>Maintenance Release</strong> of STMP32MP15xx_EVAL BSP</p>
109106
<h2 id="contents-3">Contents</h2>
110107
<ul>
111-
<li>No update</li>
108+
<li>Fix unterminated extern “C” definitions:
109+
<ul>
110+
<li>impacted files : stm32mp15xx_eval_conf_template.h and stm32mp15xx_eval_errno.h</li>
111+
</ul></li>
112112
</ul>
113113
<h2 id="known-limitations-3">Known Limitations</h2>
114114
<ul>
@@ -123,14 +123,13 @@ <h2 id="notes-3">Notes</h2>
123123
</div>
124124
</div>
125125
<div class="collapse">
126-
<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>
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>
127127
<div>
128128
<h2 id="main-changes-4">Main Changes</h2>
129-
<p><strong>First Maintenance Release</strong> of STMP32MP15xx_EVAL BSP</p>
129+
<p><strong>Maintenance Release</strong> of STMP32MP15xx_EVAL BSP</p>
130130
<h2 id="contents-4">Contents</h2>
131131
<ul>
132-
<li><p>Add support of console input from COM</p></li>
133-
<li><p>Rename stm32mp15xx_eval_stpmu1 file to stm32mp15xx_eval_stpmic1</p></li>
132+
<li>No update</li>
134133
</ul>
135134
<h2 id="known-limitations-4">Known Limitations</h2>
136135
<ul>
@@ -145,10 +144,15 @@ <h2 id="notes-4">Notes</h2>
145144
</div>
146145
</div>
147146
<div class="collapse">
148-
<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>
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>
149148
<div>
150149
<h2 id="main-changes-5">Main Changes</h2>
151-
<p><strong>First official release STM32MP15xx-EVAL</strong> board drivers for STM32CubeMP1 FW package</p>
150+
<p><strong>First Maintenance Release</strong> of STMP32MP15xx_EVAL BSP</p>
151+
<h2 id="contents-5">Contents</h2>
152+
<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>
155+
</ul>
152156
<h2 id="known-limitations-5">Known Limitations</h2>
153157
<ul>
154158
<li>None</li>
@@ -158,6 +162,23 @@ <h2 id="dependencies-5">Dependencies</h2>
158162
<li>None</li>
159163
</ul>
160164
<h2 id="notes-5">Notes</h2>
165+
<p>stm32mp15xx_eval_conf_template.h file must be copied in user application as &gt;stm32mp15xx_eval_conf.h with optional configuration update</p>
166+
</div>
167+
</div>
168+
<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>
170+
<div>
171+
<h2 id="main-changes-6">Main Changes</h2>
172+
<p><strong>First official release STM32MP15xx-EVAL</strong> board drivers for STM32CubeMP1 FW package</p>
173+
<h2 id="known-limitations-6">Known Limitations</h2>
174+
<ul>
175+
<li>None</li>
176+
</ul>
177+
<h2 id="dependencies-6">Dependencies</h2>
178+
<ul>
179+
<li>None</li>
180+
</ul>
181+
<h2 id="notes-6">Notes</h2>
161182
<ul>
162183
<li>stm32mp15xx_eval_conf_template.h file must be copied in user application as &gt;stm32mp15xx_eval_conf.h with optional configuration update</li>
163184
</ul>
-39.1 KB
Binary file not shown.

Drivers/BSP/STM32MP15xx_EVAL/stm32mp15xx_eval.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ typedef void (* BSP_EXTI_LineCallback)(void);
4848
/** @brief STM32MP15XX EVAL BSP Driver version number V2.0.0
4949
*/
5050
#define STM32MP15XX_EVAL_BSP_VERSION_MAIN (0x01U) /*!< [31:24] main version */
51-
#define STM32MP15XX_EVAL_BSP_VERSION_SUB1 (0x05U) /*!< [23:16] sub1 version */
51+
#define STM32MP15XX_EVAL_BSP_VERSION_SUB1 (0x06U) /*!< [23:16] sub1 version */
5252
#define STM32MP15XX_EVAL_BSP_VERSION_SUB2 (0x00U) /*!< [15:8] sub2 version */
5353
#define STM32MP15XX_EVAL_BSP_VERSION_RC (0x00U) /*!< [7:0] release candidate */
5454
#define STM32MP15XX_EVAL_BSP_VERSION ((STM32MP15XX_EVAL_BSP_VERSION_MAIN << 24)\

Drivers/BSP/STM32MP15xx_EVAL/stm32mp15xx_eval.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,7 @@ typedef struct
254254
* @{
255255
*/
256256
uint32_t BSP_GetVersion(void);
257+
void BSP_Error_Handler(void);
257258

258259
/** @addtogroup STM32MP15XX_EVAL_LOW_LEVEL_Exported_Functions_Group1 LED Functions
259260
* @{

0 commit comments

Comments
 (0)