-
-
You must be signed in to change notification settings -
ESP8266: Improved time keeping #2726
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
- Implement access to non-RTC system clock, which is more stable than built-in RTC;
- Modified general time function to use system clock instead of RTC;
- Implement more accurate code for tracking RTC clock.
…estore RTC ticks from RTC memory at initialization, keeps time across machine.reset
New commits simplifies system clock time keeping, restores RTC memory usage to match that of the pre-PR implementation; properly restores clock upon reset:
|
Thanks, but please follow https://github.com/micropython/micropython/blob/master/CONTRIBUTING.md (format of commit messages, no merge commits in pull requests, etc.) |
Sorry about that! :) |
Actually, the current branch is a bit messy. Let me redo the branch and submit a new PR. |
New PR: #2728 |
Is it possible to resurrect this modification as what appears to be a solution to the horrendously bad accuracy of the 8266 deepsleep timer ? |
Sure, this is still on todo - someone will need to re-research the matter and re-make the patch in clean way. |
ports: litex: add port and fomu board
can we merge this? |