Commit Graph

53 Commits

Author SHA1 Message Date
Meco Man a1cc3d43e7 modify time.h to sys/time.h 2021-11-23 22:38:00 -05:00
Meco Man df9a23c534 [mutex] use RT_IPC_FLAG_PRIO to replace RT_IPC_FLAG_FIFO 2021-11-17 15:57:15 -05:00
armink 816a99d88e [DeviceDriver][RTC] Add RT_DEVICE_CTRL_RTC_GET_TIMEVAL and RT_DEVICE_CTRL_RTC_SET_TIMEVAL ops 2021-09-29 17:52:10 +08:00
Bernard Xiong 8da9f78d72 [libc] remove rtlibc 2021-09-11 11:07:51 +08:00
Meco Man e18d44940f [finsh] 修复由于移除finsh导致__cmd_xxx命令无法使用的问题 2021-09-05 01:57:26 -04:00
马志远 221da7f464 Remove C Style Command Shell 2021-08-23 17:30:05 +08:00
Meco Man a25667a7e5 [rtc] add comments 2021-07-30 07:01:09 +08:00
Meco Man 94a9332915 [rtc] 移除rtc_core.c/.h 将内容转移到rtc.c/.h 2021-07-30 03:24:50 +08:00
Meco Man 9e47b95e61 rt_rtc_dev_register -> rt_hw_rtc_register 2021-07-30 02:31:33 +08:00
Meco Man fb31ab9c72 [rtc] localtime 改 localtime_r 2021-07-30 02:03:55 +08:00
guozhanxin 40e7d5a23d Merge remote-tracking branch 'remotes/gitee/master' 2021-07-12 10:14:20 +08:00
iysheng 2bd7e04827 [components][rtc] Add microsecond resolution support with RTC framework V2.0 2021-07-08 22:41:40 +08:00
iysheng a2a7f3c2d9 [components][rtc] Add RTC framework V2.0 to simplify RTC registration process 2021-07-08 22:41:06 +08:00
Meco Man e71e693fd1 移除readme关于NTP部分 2021-05-09 16:10:58 +08:00
Meco Man 3fd276bb44 add comment 2021-05-09 15:59:27 +08:00
Meco Man 9de977a046 remove list_date 2021-05-08 23:51:47 +08:00
Meco Man 43e9aec85e 将rt_soft_rtc_init设为私有函数 2021-05-06 23:47:33 +08:00
Meco Man f982d81389 [rtc driver]remove NTP 2021-05-06 23:43:44 +08:00
Meco Man 787e46c6a3 [rtc]调整rtc驱动框架函数位置,功能无影响,为后续新的RTC框架铺路 2021-05-04 13:06:24 +08:00
Meco Man 3c05a4e719 [compoenets] auto & manual formatted 2021-03-08 18:19:04 +08:00
Meco Man f073911cd3 解决底层驱动格林威治时间与当地时间胡乱使用的问题 mktime函数改为timegm函数 2021-02-07 21:08:41 +08:00
Meco Man ffd270acef fix comment 2021-02-05 18:55:39 +08:00
Meco Man c2fca3dffe 修复RTC驱动以及libc time.c库若干问题 2021-02-05 13:13:22 +08:00
张世争 9609bc032a [RTC alarm]alarm功能优化,SOFT_RTC增加alarm功能 2020-12-03 17:52:03 +08:00
张世争 e8eb74da58 [rtc.alarm][fix]fix alarm when update datetime 2020-11-20 09:02:20 +08:00
张世争 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