zhiweih
814b646d17
Specify date string length in FINSH date command.
...
libc ctime returns a fixed 25 character string without a NULL terminator. Print it without specifying length in FINSH date command prints extra contents and could potentially be dangerous.
2020-07-27 23:09:26 +08:00
Bernard Xiong
2c0640a178
[license] Change license to Apache.
2018-10-14 19:37:18 +08:00
armink
a6b6b05d7d
[drivers/rtc] Update NTP update time API.
2018-05-10 18:29:56 +08:00
armink
5501ec36cb
[components/libc] Move time() and clock() function to libc time.c.
2018-05-07 18:19:15 +08:00
liang yongxiang
2f5a9c37fa
[DeviceDriver][RTC] fixed warning when only enable finsh shell: function "date" was declared but never referenced
2018-04-09 12:00:43 +08:00
armink
c74bc870e8
[DeviceDriver][RTC] Fix rtc Kconfig and missing return.
2018-03-21 09:15:21 +08:00
armink
59be76af25
[DeviceDriver][RTC] Add 'date' command for set and get date time.
2018-02-16 13:03:56 +08:00
armink
47f389732d
[DeviceDriver] Add clock() to rtc.c .
2018-02-16 13:01:03 +08:00
armink
ce6b0a6efb
[DeviceDriver] Add NTP auto sync time for RTC device.
2018-02-16 12:58:48 +08:00
yiyue.fang
621fbdb90c
Embedded GPLv2 license in drivers
2013-06-28 00:36:54 +08:00
dzzxzz@gmail.com
ec1f35670d
reformat the coding style
...
using -RT_ERROR instead of RT_ERROR for the return value
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2311 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-29 00:14:29 +00:00
sc943313837@gmail.com
9809c138b7
add open operation
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2309 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-27 16:31:07 +00:00
wuyangyong
7582459691
add RTC public function.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2164 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-14 13:17:50 +00:00