Closed fronders closed 2 years ago
Hi @fronders,
Thank you for this report. The point you reported is actually related to the CubeMX generation problem and not to the firmware published in this repository. Unfortunately, we don't treat aspect related to CubeMX tool in our GitHub repositories. They are rather treated at the STM32CubeMX dedicated page of the ST Community .
Since this issue is not directly related to the STM32Cube firmware but rather to our ecosystem, please allow me then to close this thread. Thank you for your comprehension.
With regards,
Describe the set-up
Describe the bug After migration to v1.17.1 regenerated code in
stm32l4xx_it.c
hasEXTIx_IRQHandler()
calls with incorrect argument forHAL_GPIO_EXTI_IRQHandler()
. It has incorrect pin labels - uses label of other pin with same pin number, but different port (this pin is set in GPIO_Input or AF Output mode, but definitely not EXTI):Old code:
New regenerated code:
These are GPIO settings used:
Pin labels highlighted in yellow should have been used, but instead code got generated with labels of other pins that are not even in EXTI mode (technically it works, because
GPIO_PIN_x
is the same, but labels are confusing)