cancel
Showing results for 
Search instead for 
Did you mean: 

Define error in stm32l4xx_hal_exti.h

Markus Vogel
Associate III

Hi everybody,

I think I found a bug in stm32l4xx_hal_exti.h at the definition of the GPIO-ports:

  • #define EXTI_GPIOA 0x00000000u
  • #define EXTI_GPIOB 0x00000001u
  • #define EXTI_GPIOC 0x00000002u
  • #define EXTI_GPIOD 0x00000003u
  • #define EXTI_GPIOE 0x00000004u
  • #define EXTI_GPIOF 0x00000005u
  • #define EXTI_GPIOG 0x00000005u
  • #define EXTI_GPIOH 0x00000007u
  • #define EXTI_GPIOI 0x00000008u

The definition for EXTI_GPIOG is wrong!!! When trying to activate EXTI for PortG you actually activate it for port F in SYSCFG->EXTICR.

Could you please fix this?

Best regards

Markus

2 REPLIES 2
Peter BENSCH
ST Employee

Thank you Markus, for pointing this out!

Regards

/Peter

@Sara BEN HADJ YAHYA​ Please forward this to the library managers.

@Imen DAHMEN​ 

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
Imen.D
ST Employee

Hello @Community member​ and @Peter BENSCH​ 

Thank you for bringing this issue to my attention.

Internal ticket number 120638 is submitted to fix this error in the coming release of CubeL4 MCU package.

(PS: number 120638, this is an internal tracking number and is not accessible or usable by customers).

Thanks

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen