-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Call __WFI() when going idle #2769
Comments
|
It is not related to any particular change since it seems as if this behavior exists since a long time. |
|
Tickless mode shall get into the code base this year, there were some problems as you might have noticed with tickers that needs fixing, it's parked on the feature branch at the moment. Even if you add |
|
No, I didn't notice the issues with tickers. But did I get it right that when calling |
|
Ping! |
|
There's feature branch, that needs more work: https://github.com/ARMmbed/mbed-os/tree/feature_rtos_tickless. It should resolve this. cc @bulislaw |
|
Seems like an abandoned branch, I mean last commit about 4 months ago. Have you any timeline for when this branch would be merged?
|
|
There were difficulties with the tickless mode due to differences in platforms and how they implement low power timer. I have an idea how to address it, I'll write it down over Christmas and then we can discuss it and find some time to implement it. |
Addition to the comment above about issues with the tickers, there's a plan for RTX update, therefore this idle loop work should be based on that update (version >5.4) |
|
That shouldn't be a problem, as the RTX API changes are cosmetic. |
Description
Enhancement
As long as there is no tickless mode, function
default_idle_hook()should (at least) call__WFI()to reduce power consumption.Target
all
Toolchain:
all
mbed-cli version:
all
Expected behavior
Reduced power consumption when idle.
Actual behavior
No reduction in power consumption when idle.
Enhancement
Suggested enhancement
Call
__WFI()inside functiondefault_idle_hook()in non-tickless mode.The text was updated successfully, but these errors were encountered: