Skip to content

Commit dda963e

Browse files
committed
[F4] Update STM32F4xx HAL Drivers to v1.7.7
Included in STM32CubeF4 FW V1.24.2 Note: Trailing spaces have been cleaned. Signed-off-by: Frederic.Pillon <[email protected]>
1 parent d4792de commit dda963e

File tree

92 files changed

+8093
-4014
lines changed

Some content is hidden

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

92 files changed

+8093
-4014
lines changed

system/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h

+346-21
Large diffs are not rendered by default.

system/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32f4xx_hal_can_legacy.h

+22-6
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,29 @@
66
******************************************************************************
77
* @attention
88
*
9-
* <h2><center>&copy; Copyright (c) 2017 STMicroelectronics.
10-
* All rights reserved.</center></h2>
9+
* <h2><center>&copy; COPYRIGHT(c) 2017 STMicroelectronics</center></h2>
1110
*
12-
* This software component is licensed by ST under BSD 3-Clause license,
13-
* the "License"; You may not use this file except in compliance with the
14-
* License. You may obtain a copy of the License at:
15-
* opensource.org/licenses/BSD-3-Clause
11+
* Redistribution and use in source and binary forms, with or without modification,
12+
* are permitted provided that the following conditions are met:
13+
* 1. Redistributions of source code must retain the above copyright notice,
14+
* this list of conditions and the following disclaimer.
15+
* 2. Redistributions in binary form must reproduce the above copyright notice,
16+
* this list of conditions and the following disclaimer in the documentation
17+
* and/or other materials provided with the distribution.
18+
* 3. Neither the name of STMicroelectronics nor the names of its contributors
19+
* may be used to endorse or promote products derived from this software
20+
* without specific prior written permission.
21+
*
22+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
23+
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
25+
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
26+
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27+
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
28+
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
29+
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
30+
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31+
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1632
*
1733
******************************************************************************
1834
*/

system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h

+12
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,18 @@ typedef enum
197197
* @}
198198
*/
199199

200+
/* Exported variables --------------------------------------------------------*/
201+
202+
/** @addtogroup HAL_Exported_Variables
203+
* @{
204+
*/
205+
extern __IO uint32_t uwTick;
206+
extern uint32_t uwTickPrio;
207+
extern HAL_TickFreqTypeDef uwTickFreq;
208+
/**
209+
* @}
210+
*/
211+
200212
/* Exported functions --------------------------------------------------------*/
201213
/** @addtogroup HAL_Exported_Functions
202214
* @{

system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dcmi.h

+11
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,16 @@
4848
/** @defgroup DCMI_Exported_Types DCMI Exported Types
4949
* @{
5050
*/
51+
/**
52+
* @brief DCMI Embedded Synchronisation CODE Init structure definition
53+
*/
54+
typedef struct
55+
{
56+
uint8_t FrameStartUnmask; /*!< Specifies the frame start delimiter unmask. */
57+
uint8_t LineStartUnmask; /*!< Specifies the line start delimiter unmask. */
58+
uint8_t LineEndUnmask; /*!< Specifies the line end delimiter unmask. */
59+
uint8_t FrameEndUnmask; /*!< Specifies the frame end delimiter unmask. */
60+
}DCMI_SyncUnmaskTypeDef;
5161
/**
5262
* @brief HAL DCMI State structures definition
5363
*/
@@ -458,6 +468,7 @@ void HAL_DCMI_IRQHandler(DCMI_HandleTypeDef *hdcmi);
458468
HAL_StatusTypeDef HAL_DCMI_ConfigCrop(DCMI_HandleTypeDef *hdcmi, uint32_t X0, uint32_t Y0, uint32_t XSize, uint32_t YSize);
459469
HAL_StatusTypeDef HAL_DCMI_EnableCrop(DCMI_HandleTypeDef *hdcmi);
460470
HAL_StatusTypeDef HAL_DCMI_DisableCrop(DCMI_HandleTypeDef *hdcmi);
471+
HAL_StatusTypeDef HAL_DCMI_ConfigSyncUnmask(DCMI_HandleTypeDef *hdcmi, DCMI_SyncUnmaskTypeDef *SyncUnmask);
461472
/**
462473
* @}
463474
*/

system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma2d.h

+6-4
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@
2525
extern "C" {
2626
#endif
2727

28-
#if defined (DMA2D)
29-
3028
/* Includes ------------------------------------------------------------------*/
3129
#include "stm32f4xx_hal_def.h"
3230

3331
/** @addtogroup STM32F4xx_HAL_Driver
3432
* @{
3533
*/
3634

35+
#if defined (DMA2D)
36+
3737
/** @addtogroup DMA2D DMA2D
3838
* @brief DMA2D HAL module driver
3939
* @{
@@ -447,6 +447,8 @@ HAL_StatusTypeDef HAL_DMA2D_Suspend(DMA2D_HandleTypeDef *hdma2d);
447447
HAL_StatusTypeDef HAL_DMA2D_Resume(DMA2D_HandleTypeDef *hdma2d);
448448
HAL_StatusTypeDef HAL_DMA2D_Abort(DMA2D_HandleTypeDef *hdma2d);
449449
HAL_StatusTypeDef HAL_DMA2D_EnableCLUT(DMA2D_HandleTypeDef *hdma2d, uint32_t LayerIdx);
450+
HAL_StatusTypeDef HAL_DMA2D_CLUTStartLoad(DMA2D_HandleTypeDef *hdma2d, DMA2D_CLUTCfgTypeDef *CLUTCfg, uint32_t LayerIdx);
451+
HAL_StatusTypeDef HAL_DMA2D_CLUTStartLoad_IT(DMA2D_HandleTypeDef *hdma2d, DMA2D_CLUTCfgTypeDef *CLUTCfg, uint32_t LayerIdx);
450452
HAL_StatusTypeDef HAL_DMA2D_CLUTLoad(DMA2D_HandleTypeDef *hdma2d, DMA2D_CLUTCfgTypeDef CLUTCfg, uint32_t LayerIdx);
451453
HAL_StatusTypeDef HAL_DMA2D_CLUTLoad_IT(DMA2D_HandleTypeDef *hdma2d, DMA2D_CLUTCfgTypeDef CLUTCfg, uint32_t LayerIdx);
452454
HAL_StatusTypeDef HAL_DMA2D_CLUTLoading_Abort(DMA2D_HandleTypeDef *hdma2d, uint32_t LayerIdx);
@@ -612,12 +614,12 @@ uint32_t HAL_DMA2D_GetError(DMA2D_HandleTypeDef *hdma2d);
612614
* @}
613615
*/
614616

617+
#endif /* defined (DMA2D) */
618+
615619
/**
616620
* @}
617621
*/
618622

619-
#endif /* defined (DMA2D) */
620-
621623
#ifdef __cplusplus
622624
}
623625
#endif

system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dsi.h

+17-1
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,11 @@
2525
extern "C" {
2626
#endif
2727

28-
#if defined(DSI)
2928
/* Includes ------------------------------------------------------------------*/
3029
#include "stm32f4xx_hal_def.h"
3130

31+
#if defined(DSI)
32+
3233
/** @addtogroup STM32F4xx_HAL_Driver
3334
* @{
3435
*/
@@ -347,6 +348,9 @@ typedef void (*pDSI_CallbackTypeDef)(DSI_HandleTypeDef *hdsi); /*!< pointer to
347348
#endif /* USE_HAL_DSI_REGISTER_CALLBACKS */
348349

349350
/* Exported constants --------------------------------------------------------*/
351+
/** @defgroup DSI_Exported_Constants DSI Exported Constants
352+
* @{
353+
*/
350354
/** @defgroup DSI_DCS_Command DSI DCS Command
351355
* @{
352356
*/
@@ -908,7 +912,15 @@ typedef void (*pDSI_CallbackTypeDef)(DSI_HandleTypeDef *hdsi); /*!< pointer to
908912
* @}
909913
*/
910914

915+
/**
916+
* @}
917+
*/
918+
911919
/* Exported macros -----------------------------------------------------------*/
920+
/** @defgroup DSI_Exported_Macros DSI Exported Macros
921+
* @{
922+
*/
923+
912924
/**
913925
* @brief Reset DSI handle state.
914926
* @param __HANDLE__: DSI handle
@@ -1101,6 +1113,10 @@ typedef void (*pDSI_CallbackTypeDef)(DSI_HandleTypeDef *hdsi); /*!< pointer to
11011113
*/
11021114
#define __HAL_DSI_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->WIER & (__INTERRUPT__))
11031115

1116+
/**
1117+
* @}
1118+
*/
1119+
11041120
/* Exported functions --------------------------------------------------------*/
11051121
/** @defgroup DSI_Exported_Functions DSI Exported Functions
11061122
* @{

0 commit comments

Comments
 (0)