Skip to content

M487: Fix premature lp_ticker interrupt #5552

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

Closed
wants to merge 2 commits into from

Conversation

ccli8
Copy link
Contributor

@ccli8 ccli8 commented Nov 22, 2017

Description

This PR fixes premature lp_ticker interrupt issue on NUMAKER_PFM_M487 target.

Related PRs

#5366
This PR is the resend of the above due to abuse flag issue on travis CI.

ccli8 added 2 commits November 8, 2017 14:13
Old lp_ticker handles past event, but it has a bug with premature go-off.
The bug can re-produce on mbed-os-tests-mbed_drivers-lp_timeout/mbed-os-tests-mbed_hal-lp_us_tickers (mbed-os commit: 9c1fd48).
Because upper layer (mbed-os/hal/mbed_ticker_api.c) has handled past event, this code can be removed from lp_ticker.

The similar fix also applies to us_ticker.
@ccli8 ccli8 mentioned this pull request Nov 22, 2017
@0xc0170
Copy link
Contributor

0xc0170 commented Nov 22, 2017

Travis still fails to report, when I check https://travis-ci.org/OpenNuvoton, it fails to find any, but @ccli8 is there in the travis database so should work as indicated earlier by their support. I am going to resend this from my fork, that will trigger travis 😕 I emailed to the support again that their proposal fails (you on the copy so should see the msg).

@0xc0170 0xc0170 closed this Nov 22, 2017
@ccli8
Copy link
Contributor Author

ccli8 commented Nov 23, 2017

@0xc0170 The Travis CI abuse issue was fixed as in #5454. Would you close/reopen the PR and continue, or merge with your fork?

@0xc0170
Copy link
Contributor

0xc0170 commented Nov 24, 2017

It is already integrated: #5553

@ccli8
Copy link
Contributor Author

ccli8 commented Nov 27, 2017

It is already integrated: #5553

@0xc0170 Thank you.

@ccli8 ccli8 deleted the nuvoton_fix_lpticker branch November 27, 2017 01:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants