Skip to content

Commit d66213d

Browse files
committed
[F7] Update STM32F7xx HAL Drivers to v1.2.7
Included in STM32CubeF7 FW V1.15.0 Signed-off-by: Frederic.Pillon <[email protected]>
1 parent 3767f39 commit d66213d

File tree

194 files changed

+60797
-47431
lines changed

Some content is hidden

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

194 files changed

+60797
-47431
lines changed

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

Lines changed: 268 additions & 112 deletions
Large diffs are not rendered by default.

system/Drivers/STM32F7xx_HAL_Driver/Inc/Legacy/stm32f7xx_hal_can_legacy.h

Lines changed: 7 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,13 @@
66
******************************************************************************
77
* @attention
88
*
9-
* <h2><center>&copy; COPYRIGHT(c) 2017 STMicroelectronics</center></h2>
9+
* <h2><center>&copy; Copyright (c) 2017 STMicroelectronics.
10+
* All rights reserved.</center></h2>
1011
*
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.
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
3216
*
3317
******************************************************************************
3418
*/
@@ -701,7 +685,7 @@ HAL_CAN_StateTypeDef HAL_CAN_GetState(CAN_HandleTypeDef* hcan);
701685

702686
/**
703687
* @}
704-
*/
688+
*/
705689

706690
/* Private constants ---------------------------------------------------------*/
707691
/** @defgroup CAN_Private_Constants CAN Private Constants

system/Drivers/STM32F7xx_HAL_Driver/Inc/stm32_assert_template.h

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

system/Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal.h

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

3721
/* Define to prevent recursive inclusion -------------------------------------*/
3822
#ifndef __STM32F7xx_HAL_H
@@ -51,7 +35,7 @@
5135

5236
/** @addtogroup HAL
5337
* @{
54-
*/
38+
*/
5539

5640
/* Exported types ------------------------------------------------------------*/
5741
/* Exported constants --------------------------------------------------------*/
@@ -86,13 +70,13 @@ typedef enum
8670
/**
8771
* @}
8872
*/
89-
73+
9074
/* Exported macro ------------------------------------------------------------*/
9175
/** @defgroup HAL_Exported_Macros HAL Exported Macros
9276
* @{
9377
*/
94-
95-
/** @brief Freeze/Unfreeze Peripherals in Debug mode
78+
79+
/** @brief Freeze/Unfreeze Peripherals in Debug mode
9680
*/
9781
#define __HAL_DBGMCU_FREEZE_TIM2() (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_TIM2_STOP))
9882
#define __HAL_DBGMCU_FREEZE_TIM3() (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_TIM3_STOP))
@@ -148,7 +132,7 @@ typedef enum
148132
/** @brief FMC (NOR/RAM) mapped at 0x60000000 and SDRAM mapped at 0xC0000000
149133
*/
150134
#define __HAL_SYSCFG_REMAPMEMORY_FMC() (SYSCFG->MEMRMP &= ~(SYSCFG_MEMRMP_SWP_FMC))
151-
135+
152136

153137
/** @brief FMC/SDRAM mapped at 0x60000000 (NOR/RAM) mapped at 0xC0000000
154138
*/
@@ -181,7 +165,7 @@ typedef enum
181165
/**
182166
* @}
183167
*/
184-
168+
185169
/** @defgroup HAL_Private_Macros HAL Private Macros
186170
* @{
187171
*/
@@ -207,10 +191,21 @@ HAL_StatusTypeDef HAL_InitTick(uint32_t TickPriority);
207191
/**
208192
* @}
209193
*/
210-
194+
195+
/* Exported variables ---------------------------------------------------------*/
196+
/** @addtogroup HAL_Exported_Variables
197+
* @{
198+
*/
199+
extern __IO uint32_t uwTick;
200+
extern uint32_t uwTickPrio;
201+
extern HAL_TickFreqTypeDef uwTickFreq;
202+
/**
203+
* @}
204+
*/
205+
211206
/** @addtogroup HAL_Exported_Functions_Group2
212207
* @{
213-
*/
208+
*/
214209
/* Peripheral Control functions ************************************************/
215210
void HAL_IncTick(void);
216211
void HAL_Delay(uint32_t Delay);
@@ -246,7 +241,7 @@ void HAL_DisableMemorySwappingBank(void);
246241

247242
/**
248243
* @}
249-
*/
244+
*/
250245
/* Private types -------------------------------------------------------------*/
251246
/* Private variables ---------------------------------------------------------*/
252247
/** @defgroup HAL_Private_Variables HAL Private Variables
@@ -266,12 +261,12 @@ void HAL_DisableMemorySwappingBank(void);
266261
/* Private functions ---------------------------------------------------------*/
267262
/**
268263
* @}
269-
*/
264+
*/
270265

271266
/**
272267
* @}
273-
*/
274-
268+
*/
269+
275270
#ifdef __cplusplus
276271
}
277272
#endif

0 commit comments

Comments
 (0)