RTEMS | bsps/arm/stm32f4: Fix incorrect bit definition for EXTI line 22 (!1132)

Mohamed Ayman (@mohamedayman23) gitlab at rtems.org
Sun Mar 15 11:38:32 UTC 2026



Mohamed Ayman created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1132

Project:Branches: mohamedayman23/rtems:fix-incorrect-bit-definition to rtems/rtos/rtems:main
Author:   Mohamed Ayman



bsps/arm/stm32f4: Fix incorrect bit definition for EXTI line 22

The macro STM32F4_EXTI_LINE22 was incorrectly defined as BSP_BIT32(21), which overlaps with STM32F4_EXTI_LINE21. According to the STM32F4 reference manual, EXTI line 22 corresponds to bit position 22.

Update STM32F4_EXTI_LINE22 to use BSP_BIT32(22) so that each EXTI line maps to the correct bit in the EXTI registers.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1132
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260315/c00b35bd/attachment.htm>


More information about the bugs mailing list