commit | 87e9963d5acaa41f3c54c1dee9159c775352f86a | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Thu Oct 22 23:52:14 2020 +0200 |
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | Tue Oct 27 21:13:15 2020 +0100 |
tree | 00e9f91b032e54658a8ee3f6558af6777c0eb9bb | |
parent | cbf0ffea14c812a19b2eede887e3db1ccc425cd4 [diff] |
rtc: provide an emulated RTC On a board without hardware clock this software real time clock can be used. The build time is used to initialize the RTC. So you will have to adjust the time either manually using the 'date' command or use the 'sntp' to update the RTC with the time from a network time server. See CONFIG_CMD_SNTP and CONFIG_BOOTP_NTPSERVER. The RTC time is advanced according to CPU ticks. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>