Skip to content

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

Merged
merged 1 commit into from
Sep 25, 2018
Merged

STM32: Fix disabling of IRQs shared by multiple events #8037

merged 1 commit into from
Sep 25, 2018

Conversation

mattbrown015
Copy link
Contributor

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

[X] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Breaking change

Discern if an IRQ is being shared by multiple events and only disable the IRQ if no events are using it.
@jeromecoutant
Copy link
Collaborator

Hi
ST CI tests started
Thx

@cmonr cmonr requested a review from a team September 7, 2018 16:52
@screamerbg
Copy link
Contributor

@jeromecoutant Any update on this?
@0xc0170 what about Mbed CI tests?

@0xc0170
Copy link
Contributor

0xc0170 commented Sep 20, 2018

@jeromecoutant assuming you approved after all tests passed for other platforms

@jeromecoutant
Copy link
Collaborator

Yes CI test shield all OK with all STM32 families

@0xc0170
Copy link
Contributor

0xc0170 commented Sep 24, 2018

/morph build

@mbed-ci
Copy link

mbed-ci commented Sep 24, 2018

Build : SUCCESS

Build number : 3152
Build artifacts/logs : http://mbed-os.s3-website-eu-west-1.amazonaws.com/?prefix=builds/8037/

Triggering tests

/morph test
/morph export-build
/morph mbed2-build

@mbed-ci
Copy link

mbed-ci commented Sep 24, 2018

@mbed-ci
Copy link

mbed-ci commented Sep 25, 2018

@0xc0170
Copy link
Contributor

0xc0170 commented Sep 25, 2018

/morph mbed2-build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants