commit | 04ded00539a3f443b8a53ca503f8506c2f671303 | [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 | e0093feb1c1a73f2c6c95943cc43b90f0d432dfc [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>