-
Notifications
You must be signed in to change notification settings - Fork 3k
STM32: Fix disabling of IRQs shared by multiple events #8037
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
STM32: Fix disabling of IRQs shared by multiple events #8037
Conversation
Discern if an IRQ is being shared by multiple events and only disable the IRQ if no events are using it.
Hi |
@jeromecoutant Any update on this? |
@jeromecoutant assuming you approved after all tests passed for other platforms |
Yes CI test shield all OK with all STM32 families |
/morph build |
Build : SUCCESSBuild number : 3152 Triggering tests/morph test |
Exporter Build : SUCCESSBuild number : 2756 |
Test : SUCCESSBuild number : 2957 |
/morph mbed2-build |
Description
Proposed fix for STM32: gpio_irq_disable Disables all InterruptIn Instances Sharing EXTI9_5 or EXTI15_10 #8021.
Discern if an IRQ is being shared by multiple events and only disable the IRQ if no events are using it.
There are a great many combinations and permutations of targets, IRQs and events. This change solves my problem but I've only tried it on a STM32L442KC and I've only enabled/disabled EXTI9_5.
Pull request type