7YZ7
501b22aabe
[HUST CSE] Fix many abnormal symbols in annotations and format code
2023-04-17 22:26:23 -04:00
Meco Man
991b6e78b3
[bug] 修正rtc对时间参数范围的处理 | fix a bug of rtc
2022-04-19 11:48:59 +08:00
tyx
e896021b56
[drivers][rtc]Add comments
2022-04-06 10:26:04 +08:00
tyx
f35c9d6df7
[drivers][rtc] Enhanced date command
2022-04-06 10:26:04 +08:00
tyx
8a7babadda
[drivers][rtc]Add get/set timestamp function
2022-04-06 10:26:04 +08:00
tyx
9a4bd20149
[drivers][rtc] Optimize execution efficiency
2022-04-06 10:26:04 +08:00
Meco Man
a1cc3d43e7
modify time.h to sys/time.h
2021-11-23 22:38:00 -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
马志远
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
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
a2a7f3c2d9
[components][rtc] Add RTC framework V2.0 to simplify RTC registration process
2021-07-08 22:41:06 +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
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
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
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