ext/hal: stm32cube: fix exti declaration in STM32F7
LL_EXTI_LINE_18 and LL_EXTI_LINE_20 are declared in stm32f7xx_hal_pcd.h and in stm32f7xx_ll_exti.h which generates warnings. Set #ifndef in stm32f7xx_ll_exti.h around declarations. STBugtracker: 55274 Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
parent
13e9f4ee94
commit
5776ea8869
2 changed files with 13 additions and 0 deletions
|
@ -48,6 +48,7 @@ Patch List:
|
|||
drivers/include/stm32f7xx_ll_spi.h
|
||||
ST Bug tracker ID: 13359
|
||||
|
||||
|
||||
*Add correct shifting to I2SR field in PLLI2SCFGR register
|
||||
The I2SR field should be shifted by RCC_PLLI2SCFGR_PLLI2SR_Pos when the PLLI2SCFGR register
|
||||
is read or written.
|
||||
|
@ -65,3 +66,11 @@ Patch List:
|
|||
CMakeLists.txt
|
||||
drivers/include/stm32f7xx_hal_conf.h
|
||||
drivers/src/Legacy/stm32f7_hal_can.c
|
||||
|
||||
*Fix LL_EXTI_LINE_18 and LL_EXTI_LINE_20 declarations
|
||||
LL_EXTI_LINE_18 and LL_EXTI_LINE_20 are declared in stm32f7xx_hal_pcd.h
|
||||
and in stm32f7xx_ll_exti.h which generates warnings. Set #ifndef
|
||||
in stm32f7xx_ll_exti.h around declarations.
|
||||
Impacted files:
|
||||
drivers/include/stm32f7xx_ll_exti.h
|
||||
ST Bug tracker ID: 55274
|
||||
|
|
|
@ -121,12 +121,16 @@ typedef struct
|
|||
#endif
|
||||
#define LL_EXTI_LINE_17 EXTI_IMR_IM17 /*!< Extended line 17 */
|
||||
#if defined(EXTI_IMR_IM18)
|
||||
#ifndef LL_EXTI_LINE_18
|
||||
#define LL_EXTI_LINE_18 EXTI_IMR_IM18 /*!< Extended line 18 */
|
||||
#endif
|
||||
#endif
|
||||
#define LL_EXTI_LINE_19 EXTI_IMR_IM19 /*!< Extended line 19 */
|
||||
#if defined(EXTI_IMR_IM20)
|
||||
#ifndef LL_EXTI_LINE_20
|
||||
#define LL_EXTI_LINE_20 EXTI_IMR_IM20 /*!< Extended line 20 */
|
||||
#endif
|
||||
#endif
|
||||
#if defined(EXTI_IMR_IM21)
|
||||
#define LL_EXTI_LINE_21 EXTI_IMR_IM21 /*!< Extended line 21 */
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue