Incorrect PR mask bits for EXTI2 and EXTI4 ISRs in STM32/LLD/EXTIv1 Topic is solved

Report here problems in any of ChibiOS components. This forum is NOT for support.
akscram
Posts: 7
Joined: Sat Jan 25, 2020 8:21 pm
Has thanked: 4 times
Been thanked: 4 times

Incorrect PR mask bits for EXTI2 and EXTI4 ISRs in STM32/LLD/EXTIv1  Topic is solved

Postby akscram » Wed Mar 18, 2020 9:16 am

Hello,

The STM32/LLD/EXTIv1 driver has incorrect masks passed in exti_serve_irq() for EXTI2 and EXTI4 which leads in that these interrupts are ignored and registered callbacks are not called. The proposed fix is in the attachment. If there is an idea how this can be automated in tests, then please let me know and I will add this in follow up patches.

ChibiOS git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13444 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
Compiler: GCC 9.2.1 20191025 (release) [ARM/arm-9-branch revision 277599]
Platform: STM32

Best regards,
Ilya.
Attachments
0005-Fix-PR-mask-for-EXTI2-and-EXTI4-ISR-handlers.patch.zip
(1.12 KiB) Downloaded 17 times

User avatar
Giovanni
Site Admin
Posts: 12943
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 729 times
Been thanked: 609 times
Contact:

Re: Incorrect PR mask bits for EXTI2 and EXTI4 ISRs in STM32/LLD/EXTIv1

Postby Giovanni » Fri Mar 20, 2020 10:07 am

Hi,

Fixed as bug #1077.

Giovanni


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 3 guests