Commit Graph

28 Commits

Author SHA1 Message Date
张世争 8d3f687abb add alarm flags, alarm can repeated by hour minute and second 2020-10-15 14:37:00 +08:00
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
Bernard Xiong 884fb70fe9 [Kernel] Add device ops feature. 2018-06-10 17:59:17 +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 ae867e1b65 [DeviceDriver][RTC] Add readme doc. 2018-02-16 13:16:53 +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
armink c4f4710b43 [DeviceDriver][RTC] Add software simulation RTC device. 2018-02-16 12:46:29 +08:00
bernard d7087fdd3b [DeviceDrivers] change cmd type.
1. Change 'rt_uint8_t' type of cmd to 'int';
2. Add waitqueue;
3. Split device ipc header files;
2017-10-15 22:56:46 +08:00
yiyue.fang 621fbdb90c Embedded GPLv2 license in drivers 2013-06-28 00:36:54 +08:00
aozima c77c69c46e fix spelling error. 2013-05-17 20:59:38 +08:00
aozima 9a671a5002 move initial alarm event & mutex in system init. 2013-05-17 20:58:40 +08:00
aozima 36fc5520cb format code by Astyle. 2013-05-17 20:57:05 +08:00
Ming, Bai b4de7cce57 Re-normalizing the repo 2013-01-08 22:40:58 +08:00
sc943313837@gmail.com 0f72824eda chang a macro name
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2457 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-28 06:55:30 +00:00
dzzxzz@gmail.com 68b7e7c481 fixed the coding style in the components/drivers
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2431 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-22 08:43:40 +00:00
sc943313837@gmail.com 715c1e609c Eliminate a warning
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2402 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-12 11:47:53 +00:00
sc943313837@gmail.com fa9a7b0b0c Modified return value
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2379 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-29 13:35:35 +00:00
sc943313837@gmail.com 04bf06124f to correct typos
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2376 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-29 01:56:20 +00:00
sc943313837@gmail.com c8857b64c0 add alarm
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2373 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-28 15:30:54 +00: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