Commit f76c1179 authored by Erwan Gouriou's avatar Erwan Gouriou Committed by Kumar Gala
Browse files

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: default avatarErwan Gouriou <erwan.gouriou@linaro.org>
parent 6b4308f4
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -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
+4 −0
Original line number Diff line number Diff line
@@ -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