Skip to content

Commit 5f279ef

Browse files
committed
STM32F4 update drivers version to CUBE V1.26.1
1 parent b62970f commit 5f279ef

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

targets/TARGET_STM/TARGET_STM32F4/STM32Cube_FW/STM32F4xx_HAL_Driver/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)\

targets/TARGET_STM/TARGET_STM32F4/STM32Cube_FW/STM32F4xx_HAL_Driver/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
}

targets/TARGET_STM/TARGET_STM32F4/STM32Cube_FW/system_stm32f4xx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ const uint8_t APBPrescTable[8] = {0, 0, 0, 0, 1, 2, 3, 4};
164164
* @param None
165165
* @retval None
166166
*/
167-
void SystemInit(void)
167+
__weak void SystemInit(void)
168168
{
169169
#include "nvic_addr.h" // MBED
170170
SCB->VTOR = NVIC_FLASH_VECTOR_ADDRESS; // MBED

0 commit comments

Comments
 (0)