-
Notifications
You must be signed in to change notification settings - Fork 2k
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
cpu/stm32f1: improve rtc irq #13013
cpu/stm32f1: improve rtc irq #13013
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the fix!
I have some small comments.
Also Travis is complaining about whitespace errors.
Looks good to me, tested on |
Mmh, it seems i did something wrong with this squashing thing. Any tipps? That's new for me. |
Then select "fixup' for the commits you want to squash into the previous one. |
e27c599
to
3b966cc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good and works as intended.
Thank you for your contribution!
Contribution description
This PR changes the rtc irq from
RTC_IRQ
toRTC_ALARM_IRQ
. So the cpu wakes up fromStop-Mode
too.Testing procedure
Tested on
BOARD=bluepill
withtests/periph_pm
andtests/periph_rtc
Issues/PRs references
Fixes #11258 (comment)