-
Notifications
You must be signed in to change notification settings - Fork 3k
RTX idle: sleep without locked deep sleep fix #5866
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
Conversation
If tickless is enabled, it should not be locking deepsleep
Maybe because os_timer is not a lp_timer, so tick count is stopped during deepsleep ? |
os timer is lp ticker by default This is more related to how fast can a target wake up from deep sleep, not defined for the current version (see sleep feature branch). Therefore this should stay as it is. But the documentation should state this limitation that even with tickless mode, we only sleep for now I read some bug reports regarding sleep (2 reports within the last days ) and was notified about sleep manager confusion between docs and code. To resolve this, this code change is not accepted, and we will update Handbook to add a description about the sleep manager in the idle loop? Let me know what you think, I can send Handbook update |
https://os.mbed.com/docs/v5.7/reference/sleep-manager.html - this is the handbook sleep manager page
Eventhough deep sleep is enabled in the main app, it would not deepsleep. |
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.
I can't think about anything neither. If it passes all the tests then we are OK.
/morph build |
Build : FAILUREBuild number : 904 |
/morph build |
1 similar comment
/morph build |
Build : SUCCESSBuild number : 913 Triggering tests/morph test |
Jenkins didn't report abort. /morph export-build |
Exporter Build : FAILUREBuild number : 588 |
Test : SUCCESSBuild number : 755 |
Exporter Build : ABORTEDBuild number : 592 |
/morph export-build |
Exporter Build : FAILUREBuild number : 594 |
Eclipse error after cleaning up the workspace /morph export-build |
Exporter Build : SUCCESSBuild number : 599 |
I could not find a reason from the logs why this locking was present if tickless is enabled.
Please review