Skip to content

Commit 2f3b26f

Browse files
committed
Release v1.26.1
1 parent d599a82 commit 2f3b26f

46 files changed

Lines changed: 18370 additions & 3281 deletions

File tree

Some content is hidden

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

Drivers/STM32F4xx_HAL_Driver/README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,15 @@ In this table, you can find the successive versions of this HAL-LL Driver compon
3636

3737
It is **crucial** that you use a consistent set of versions for the CMSIS Core - CMSIS Device - HAL, as mentioned in this table.
3838

39-
HAL Driver F4 | CMSIS Device F4 | CMSIS Core | Was delivered in the full MCU package
40-
------------- | --------------- | ---------- | -------------------------------------
41-
Tag v1.7.6 | Tag v2.6.3 | Tag v5.4.0_cm4 | Tag v1.24.1 (and following, if any, till next tag)
42-
Tag v1.7.7 | Tag v2.6.4 | Tag v5.4.0_cm4 | Tag v1.24.2 (and following, if any, till next tag)
43-
Tag v1.7.8 | Tag v2.6.5 | Tag v5.4.0_cm4 | Tag v1.25.0 (and following, if any, till next tag)
44-
Tag v1.7.9 | Tag v2.6.5 | Tag v5.4.0_cm4 | Tag v1.25.1 (and following, if any, till next tag)
45-
Tag v1.7.10| Tag v2.6.5 | Tag v5.4.0_cm4 | Tag v1.25.2 (and following, if any, till next tag)
46-
Tag v1.7.11| Tag v2.6.6 | Tag v5.4.0_cm4 | Tag v1.26.0 (and following, if any, till next tag)
39+
HAL Driver F4 | CMSIS Device F4 | CMSIS Core | Was delivered in the full MCU package
40+
------------- | --------------- | -------------- | -------------------------------------
41+
Tag v1.7.6 | Tag v2.6.3 | Tag v5.4.0_cm4 | Tag v1.24.1 (and following, if any, till next tag)
42+
Tag v1.7.7 | Tag v2.6.4 | Tag v5.4.0_cm4 | Tag v1.24.2 (and following, if any, till next tag)
43+
Tag v1.7.8 | Tag v2.6.5 | Tag v5.4.0_cm4 | Tag v1.25.0 (and following, if any, till next tag)
44+
Tag v1.7.9 | Tag v2.6.5 | Tag v5.4.0_cm4 | Tag v1.25.1 (and following, if any, till next tag)
45+
Tag v1.7.10 | Tag v2.6.5 | Tag v5.4.0_cm4 | Tag v1.25.2 (and following, if any, till ne1xt tag)
46+
Tag v1.7.11 | Tag v2.6.6 | Tag v5.4.0_cm4 | Tag v1.26.0 (and following, if any, till next tag)
47+
Tag v1.7.12 | Tag v2.6.6 | Tag v5.4.0_cm4 | Tag v1.26.1 (and following, if any, till next tag)
4748

4849
The full **STM32CubeF4** MCU package is available [here](https://github.com/STMicroelectronics/STM32CubeF4).
4950

Drivers/STM32F4xx_HAL_Driver/Release_Notes.html

Lines changed: 17889 additions & 2941 deletions
Large diffs are not rendered by default.

Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@
5050
* @{
5151
*/
5252
/**
53-
* @brief STM32F4xx HAL Driver version number V1.7.11
53+
* @brief STM32F4xx HAL Driver version number V1.7.12
5454
*/
5555
#define __STM32F4xx_HAL_VERSION_MAIN (0x01U) /*!< [31:24] main version */
5656
#define __STM32F4xx_HAL_VERSION_SUB1 (0x07U) /*!< [23:16] sub1 version */
57-
#define __STM32F4xx_HAL_VERSION_SUB2 (0x0BU) /*!< [15:8] sub2 version */
57+
#define __STM32F4xx_HAL_VERSION_SUB2 (0x0CU) /*!< [15:8] sub2 version */
5858
#define __STM32F4xx_HAL_VERSION_RC (0x00U) /*!< [7:0] release candidate */
5959
#define __STM32F4xx_HAL_VERSION ((__STM32F4xx_HAL_VERSION_MAIN << 24U)\
6060
|(__STM32F4xx_HAL_VERSION_SUB1 << 16U)\

Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_usart.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2557,7 +2557,7 @@ static HAL_StatusTypeDef USART_Receive_IT(USART_HandleTypeDef *husart)
25572557
pdata8bits = (uint8_t *) husart->pRxBuffPtr;
25582558
pdata16bits = NULL;
25592559

2560-
if ((husart->Init.WordLength == UART_WORDLENGTH_9B) || ((husart->Init.WordLength == UART_WORDLENGTH_8B) && (husart->Init.Parity == UART_PARITY_NONE)))
2560+
if ((husart->Init.WordLength == USART_WORDLENGTH_9B) || ((husart->Init.WordLength == USART_WORDLENGTH_8B) && (husart->Init.Parity == USART_PARITY_NONE)))
25612561
{
25622562
*pdata8bits = (uint8_t)(husart->Instance->DR & (uint8_t)0x00FF);
25632563
}
@@ -2662,7 +2662,7 @@ static HAL_StatusTypeDef USART_TransmitReceive_IT(USART_HandleTypeDef *husart)
26622662
{
26632663
pdata8bits = (uint8_t *) husart->pRxBuffPtr;
26642664
pdata16bits = NULL;
2665-
if ((husart->Init.WordLength == UART_WORDLENGTH_9B) || ((husart->Init.WordLength == UART_WORDLENGTH_8B) && (husart->Init.Parity == UART_PARITY_NONE)))
2665+
if ((husart->Init.WordLength == USART_WORDLENGTH_9B) || ((husart->Init.WordLength == USART_WORDLENGTH_8B) && (husart->Init.Parity == USART_PARITY_NONE)))
26662666
{
26672667
*pdata8bits = (uint8_t)(husart->Instance->DR & (uint8_t)0x00FF);
26682668
}

Projects/Release_Notes.html

Lines changed: 170 additions & 76 deletions
Large diffs are not rendered by default.

Projects/STM32F411E-Discovery/Applications/EEPROM/EEPROM_Emulation/Src/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ int main(void)
221221
* PLL_P = 4
222222
* PLL_Q = 7
223223
* VDD(V) = 3.3
224-
* Main regulator output voltage = Scale2 mode
224+
* Main regulator output voltage = Scale1 mode
225225
* Flash Latency(WS) = 3
226226
* @param None
227227
* @retval None
@@ -237,7 +237,7 @@ static void SystemClock_Config(void)
237237
/* The voltage scaling allows optimizing the power consumption when the device is
238238
clocked below the maximum system frequency, to update the voltage scaling value
239239
regarding system frequency refer to product datasheet. */
240-
__HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE2);
240+
__HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE1);
241241

242242
/* Enable HSI Oscillator and activate PLL with HSI as source */
243243
RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI;

Projects/STM32F411E-Discovery/Examples/ADC/ADC_RegularConversion_DMA/Src/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ int main(void)
136136
* PLL_P = 4
137137
* PLL_Q = 7
138138
* VDD(V) = 3.3
139-
* Main regulator output voltage = Scale2 mode
139+
* Main regulator output voltage = Scale1 mode
140140
* Flash Latency(WS) = 3
141141
* @param None
142142
* @retval None
@@ -152,7 +152,7 @@ static void SystemClock_Config(void)
152152
/* The voltage scaling allows optimizing the power consumption when the device is
153153
clocked below the maximum system frequency, to update the voltage scaling value
154154
regarding system frequency refer to product datasheet. */
155-
__HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE2);
155+
__HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE1);
156156

157157
/* Enable HSI Oscillator and activate PLL with HSI as source */
158158
RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI;

Projects/STM32F411E-Discovery/Examples/BSP/Src/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ int main(void)
123123
* PLL_P = 4
124124
* PLL_Q = 7
125125
* VDD(V) = 3.3
126-
* Main regulator output voltage = Scale2 mode
126+
* Main regulator output voltage = Scale1 mode
127127
* Flash Latency(WS) = 3
128128
* @param None
129129
* @retval None
@@ -139,7 +139,7 @@ static void SystemClock_Config(void)
139139
/* The voltage scaling allows optimizing the power consumption when the device is
140140
clocked below the maximum system frequency, to update the voltage scaling value
141141
regarding system frequency refer to product datasheet. */
142-
__HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE2);
142+
__HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE1);
143143

144144
/* Enable HSI Oscillator and activate PLL with HSI as source */
145145
RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI;

Projects/STM32F411E-Discovery/Examples/DMA/DMA_FLASHToRAM/Src/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ static void TransferError(DMA_HandleTypeDef *DmaHandle)
194194
* PLL_P = 4
195195
* PLL_Q = 7
196196
* VDD(V) = 3.3
197-
* Main regulator output voltage = Scale2 mode
197+
* Main regulator output voltage = Scale1 mode
198198
* Flash Latency(WS) = 3
199199
* @param None
200200
* @retval None
@@ -210,7 +210,7 @@ static void SystemClock_Config(void)
210210
/* The voltage scaling allows optimizing the power consumption when the device is
211211
clocked below the maximum system frequency, to update the voltage scaling value
212212
regarding system frequency refer to product datasheet. */
213-
__HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE2);
213+
__HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE1);
214214

215215
/* Enable HSI Oscillator and activate PLL with HSI as source */
216216
RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI;

Projects/STM32F411E-Discovery/Examples/FLASH/FLASH_EraseProgram/Src/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ static void Error_Handler(void)
280280
* PLL_P = 4
281281
* PLL_Q = 7
282282
* VDD(V) = 3.3
283-
* Main regulator output voltage = Scale2 mode
283+
* Main regulator output voltage = Scale1 mode
284284
* Flash Latency(WS) = 3
285285
* @param None
286286
* @retval None
@@ -296,7 +296,7 @@ static void SystemClock_Config(void)
296296
/* The voltage scaling allows optimizing the power consumption when the device is
297297
clocked below the maximum system frequency, to update the voltage scaling value
298298
regarding system frequency refer to product datasheet. */
299-
__HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE2);
299+
__HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE1);
300300

301301
/* Enable HSI Oscillator and activate PLL with HSI as source */
302302
RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI;

0 commit comments

Comments
 (0)