Skip to content

Commit b9741cd

Browse files
flowergrassdpgeorge
authored andcommitted
stmhal/hal: Update ST32CubeF7 HAL files to V1.1.2.
These files originate from the STM32Cube_FW_F7_V1.5.0 software package from ST. Newlines are unixified and trailing whitespace is removed.
1 parent d9677f4 commit b9741cd

64 files changed

Lines changed: 12369 additions & 6921 deletions

Some content is hidden

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

stmhal/hal/f7/inc/Legacy/stm32_hal_legacy.h

Lines changed: 750 additions & 115 deletions
Large diffs are not rendered by default.

stmhal/hal/f7/inc/stm32f7xx_hal.h

Lines changed: 47 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
******************************************************************************
33
* @file stm32f7xx_hal.h
44
* @author MCD Application Team
5-
* @version V1.0.1
6-
* @date 25-June-2015
5+
* @version V1.1.2
6+
* @date 23-September-2016
77
* @brief This file contains all the functions prototypes for the HAL
88
* module driver.
99
******************************************************************************
1010
* @attention
1111
*
12-
* <h2><center>&copy; COPYRIGHT(c) 2015 STMicroelectronics</center></h2>
12+
* <h2><center>&copy; COPYRIGHT(c) 2016 STMicroelectronics</center></h2>
1313
*
1414
* Redistribution and use in source and binary forms, with or without modification,
1515
* are permitted provided that the following conditions are met:
@@ -57,6 +57,23 @@
5757

5858
/* Exported types ------------------------------------------------------------*/
5959
/* Exported constants --------------------------------------------------------*/
60+
/** @defgroup SYSCFG_Exported_Constants SYSCFG Exported Constants
61+
* @{
62+
*/
63+
64+
/** @defgroup SYSCFG_BootMode Boot Mode
65+
* @{
66+
*/
67+
#define SYSCFG_MEM_BOOT_ADD0 ((uint32_t)0x00000000U)
68+
#define SYSCFG_MEM_BOOT_ADD1 SYSCFG_MEMRMP_MEM_BOOT
69+
/**
70+
* @}
71+
*/
72+
73+
/**
74+
* @}
75+
*/
76+
6077
/* Exported macro ------------------------------------------------------------*/
6178
/** @defgroup HAL_Exported_Macros HAL Exported Macros
6279
* @{
@@ -125,6 +142,29 @@
125142
#define __HAL_SYSCFG_REMAPMEMORY_FMC_SDRAM() do {SYSCFG->MEMRMP &= ~(SYSCFG_MEMRMP_SWP_FMC);\
126143
SYSCFG->MEMRMP |= (SYSCFG_MEMRMP_SWP_FMC_0);\
127144
}while(0);
145+
/**
146+
* @brief Return the memory boot mapping as configured by user.
147+
* @retval The boot mode as configured by user. The returned value can be one
148+
* of the following values:
149+
* @arg @ref SYSCFG_MEM_BOOT_ADD0
150+
* @arg @ref SYSCFG_MEM_BOOT_ADD1
151+
*/
152+
#define __HAL_SYSCFG_GET_BOOT_MODE() READ_BIT(SYSCFG->MEMRMP, SYSCFG_MEMRMP_MEM_BOOT)
153+
154+
#if defined (STM32F765xx) || defined (STM32F767xx) || defined (STM32F769xx) || defined (STM32F777xx) || defined (STM32F779xx)
155+
/** @brief SYSCFG Break Cortex-M7 Lockup lock.
156+
* Enable and lock the connection of Cortex-M7 LOCKUP (Hardfault) output to TIM1/8 Break input.
157+
* @note The selected configuration is locked and can be unlocked only by system reset.
158+
*/
159+
#define __HAL_SYSCFG_BREAK_LOCKUP_LOCK() SET_BIT(SYSCFG->CBR, SYSCFG_CBR_CLL)
160+
161+
/** @brief SYSCFG Break PVD lock.
162+
* Enable and lock the PVD connection to Timer1/8 Break input, as well as the PVDE and PLS[2:0] in the PWR_CR1 register.
163+
* @note The selected configuration is locked and can be unlocked only by system reset.
164+
*/
165+
#define __HAL_SYSCFG_BREAK_PVD_LOCK() SET_BIT(SYSCFG->CBR, SYSCFG_CBR_PVDL)
166+
#endif /* STM32F765xx || STM32F767xx || STM32F769xx || STM32F777xx || STM32F779xx */
167+
128168
/**
129169
* @}
130170
*/
@@ -168,6 +208,10 @@ void HAL_EnableCompensationCell(void);
168208
void HAL_DisableCompensationCell(void);
169209
void HAL_EnableFMCMemorySwapping(void);
170210
void HAL_DisableFMCMemorySwapping(void);
211+
#if defined (STM32F765xx) || defined (STM32F767xx) || defined (STM32F769xx) || defined (STM32F777xx) || defined (STM32F779xx)
212+
void HAL_EnableMemorySwappingBank(void);
213+
void HAL_DisableMemorySwappingBank(void);
214+
#endif /* STM32F765xx || STM32F767xx || STM32F769xx || STM32F777xx || STM32F779xx */
171215
/**
172216
* @}
173217
*/

stmhal/hal/f7/inc/stm32f7xx_hal_adc.h

Lines changed: 196 additions & 101 deletions
Large diffs are not rendered by default.

stmhal/hal/f7/inc/stm32f7xx_hal_adc_ex.h

Lines changed: 85 additions & 38 deletions
Large diffs are not rendered by default.

stmhal/hal/f7/inc/stm32f7xx_hal_can.h

Lines changed: 74 additions & 75 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)