mirror of https://github.com/ARMmbed/mbed-os.git
STM32F4 update drivers version to CUBE V1.26.1
parent
b62970fdf1
commit
5f279efc75
|
@ -50,11 +50,11 @@
|
|||
* @{
|
||||
*/
|
||||
/**
|
||||
* @brief STM32F4xx HAL Driver version number V1.7.11
|
||||
* @brief STM32F4xx HAL Driver version number V1.7.12
|
||||
*/
|
||||
#define __STM32F4xx_HAL_VERSION_MAIN (0x01U) /*!< [31:24] main version */
|
||||
#define __STM32F4xx_HAL_VERSION_SUB1 (0x07U) /*!< [23:16] sub1 version */
|
||||
#define __STM32F4xx_HAL_VERSION_SUB2 (0x0BU) /*!< [15:8] sub2 version */
|
||||
#define __STM32F4xx_HAL_VERSION_SUB2 (0x0CU) /*!< [15:8] sub2 version */
|
||||
#define __STM32F4xx_HAL_VERSION_RC (0x00U) /*!< [7:0] release candidate */
|
||||
#define __STM32F4xx_HAL_VERSION ((__STM32F4xx_HAL_VERSION_MAIN << 24U)\
|
||||
|(__STM32F4xx_HAL_VERSION_SUB1 << 16U)\
|
||||
|
|
|
@ -2557,7 +2557,7 @@ static HAL_StatusTypeDef USART_Receive_IT(USART_HandleTypeDef *husart)
|
|||
pdata8bits = (uint8_t *) husart->pRxBuffPtr;
|
||||
pdata16bits = NULL;
|
||||
|
||||
if ((husart->Init.WordLength == UART_WORDLENGTH_9B) || ((husart->Init.WordLength == UART_WORDLENGTH_8B) && (husart->Init.Parity == UART_PARITY_NONE)))
|
||||
if ((husart->Init.WordLength == USART_WORDLENGTH_9B) || ((husart->Init.WordLength == USART_WORDLENGTH_8B) && (husart->Init.Parity == USART_PARITY_NONE)))
|
||||
{
|
||||
*pdata8bits = (uint8_t)(husart->Instance->DR & (uint8_t)0x00FF);
|
||||
}
|
||||
|
@ -2662,7 +2662,7 @@ static HAL_StatusTypeDef USART_TransmitReceive_IT(USART_HandleTypeDef *husart)
|
|||
{
|
||||
pdata8bits = (uint8_t *) husart->pRxBuffPtr;
|
||||
pdata16bits = NULL;
|
||||
if ((husart->Init.WordLength == UART_WORDLENGTH_9B) || ((husart->Init.WordLength == UART_WORDLENGTH_8B) && (husart->Init.Parity == UART_PARITY_NONE)))
|
||||
if ((husart->Init.WordLength == USART_WORDLENGTH_9B) || ((husart->Init.WordLength == USART_WORDLENGTH_8B) && (husart->Init.Parity == USART_PARITY_NONE)))
|
||||
{
|
||||
*pdata8bits = (uint8_t)(husart->Instance->DR & (uint8_t)0x00FF);
|
||||
}
|
||||
|
|
|
@ -164,7 +164,7 @@ const uint8_t APBPrescTable[8] = {0, 0, 0, 0, 1, 2, 3, 4};
|
|||
* @param None
|
||||
* @retval None
|
||||
*/
|
||||
void SystemInit(void)
|
||||
__weak void SystemInit(void)
|
||||
{
|
||||
#include "nvic_addr.h" // MBED
|
||||
SCB->VTOR = NVIC_FLASH_VECTOR_ADDRESS; // MBED
|
||||
|
|
Loading…
Reference in New Issue