-
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
set_time not working on LPC1768 #7380
Comments
@ARMmbed/team-nxp Please review |
I stumbled upon this issue when updating to the latest mbed release (5.9.4.). I think it is caused by this commit 6d90c27, where the RTC is was disabled for this device. Adding "RTC" to targets.json solved it for me. [Mirrored to Jira] |
RTC should be reenabled (but needs to make RTC testing green first) |
Below PR to reenable RTC on LPC1768 [Mirrored to Jira] |
If RTC is disabled it'll default to using a ticker which has a known issue and pending fix (haven't looked closely into this yet, just saw the issue and it sounds like it may be related): |
Internal Jira reference: https://jira.arm.com/browse/IOTPART-5784 |
With revision c53d51f (5.10.1) it's working now as expected - for me. |
Description
Using the time example from https://os.mbed.com/docs/latest/reference/time.html and updating mbed-os
to the newest version (03196b2) in the mbed online compiler returns the following in the terminal:
The expected result would have been:
Also not working is revision 866850a (5.9.0).
The last working revision with the expected result is 35fa909 (5.8)
Issue request type
[ ] Question
[ ] Enhancement
[x] Bug
The text was updated successfully, but these errors were encountered: