265 Commits

Author SHA1 Message Date
Meco Man
23d4c200c9 add noreturn 2021-02-13 13:23:18 +08:00
Meco Man
b89b3958bc [libc][exit][abort] 重新实现exit和abort函数 2021-02-13 13:16:17 +08:00
Meco Man
598aa86f75 move clock_time_to_tick to time.c 2021-02-12 20:36:17 +08:00
Meco Man
5fc59f88c1 update 2021-02-12 12:14:45 +08:00
Meco Man
ac500f35d6 change RT_USING_PTHREADS to RT_USING_POSIX 2021-02-12 12:08:14 +08:00
Meco Man
e33e7822d7 add <sys/types.h> 2021-02-12 02:58:44 +08:00
Meco Man
fa8e8ed31f add RTM_EXPORT label for unistd.c 2021-02-12 02:21:30 +08:00
Meco Man
e3a32e807c update 2021-02-12 02:20:22 +08:00
Meco Man
789f1a8753 move all functions located in <pthread_sleep.c> to this file 2021-02-12 02:12:33 +08:00
Meco Man
417f8b9bed update 2021-02-12 01:46:16 +08:00
Meco Man
107c27f38d update 2021-02-12 01:40:45 +08:00
Meco Man
291fe36139 [pthread][libc] move 'clock_time' to libc 2021-02-12 01:30:41 +08:00
Bernard Xiong
a4dd106d49
Merge pull request #4316 from mysterywolf/gettimeofday
[libc][time] 修复多处bug;增加time相关函数
2021-02-11 23:37:25 +08:00
Meco Man
ce4fabe158 add errno 2021-02-11 20:48:30 +08:00
Meco Man
dbe1a9c2dc 移除无用的代码 2021-02-11 16:29:14 +08:00
Meco Man
dd147925e5 fix time() return value 2021-02-11 13:41:24 +08:00
Meco Man
e904f9bf27 update common 2021-02-11 03:03:59 +08:00
Meco Man
b4c8cb1445 remove declare 2021-02-11 03:02:32 +08:00
Meco Man
a400991ee9 remove _gettimeofday_r() and _times_r() 2021-02-11 02:58:19 +08:00
Meco Man
e3fee1ca77 2 spaces -> 4 spaces 2021-02-11 02:46:23 +08:00
Meco Man
d67d4d3fd0 add difftime() 2021-02-11 02:34:38 +08:00
Meco Man
51cb109cf8 fix bug #3183 - align days[] and months[] to 4 bytes 2021-02-11 02:33:45 +08:00
Meco Man
5e5ceabfdc add ctime_r() and re-implement ctime() 2021-02-11 02:32:47 +08:00
Meco Man
072dbe57c6 format & add clear tm_isdst 2021-02-11 02:31:53 +08:00
Meco Man
66e2a9424b update 2021-02-10 21:01:16 +08:00
Meco Man
39ff4b5a97 修改时区计算公式的错误 2021-02-08 11:37:24 +08:00
Meco Man
2645aec2e3 删除没有用的预编译,在新版的IAR中此已经不需要了
对time函数增加RT_WEAK
2021-02-08 11:30:49 +08:00
Meco Man
3e9c77efd5 优化IAR 2021-02-08 10:55:08 +08:00
Meco Man
9b428e519f avoid warning 2021-02-08 10:42:50 +08:00
Meco Man
d0c2631b12 revert time() 2021-02-08 10:33:12 +08:00
Meco Man
6c7dd30532 add function settimeofday & stime 2021-02-08 00:56:31 +08:00
Meco Man
4c6962436a update 2021-02-07 22:33:37 +08:00
Meco Man
d92f8a53da update 2021-02-07 22:25:30 +08:00
Meco Man
0d30632de6 fix #3976 2021-02-07 22:09:22 +08:00
Meco Man
c2fca3dffe 修复RTC驱动以及libc time.c库若干问题 2021-02-05 13:13:22 +08:00
yangjie
eeaf1fcc50 resolve Conflicts
bsp/nrf52832/board/Sconscript
	bsp/nrf52832/startups/Sconscript
	bsp/raspberry-pi/raspi4-32/driver/SConscript
2020-12-28 12:02:31 +08:00
yangjie
ef62febf1f [SConscript]update group name 2020-12-19 16:49:11 +08:00
mysterywolf
ab75425540 update 2020-12-17 11:32:10 +08:00
mysterywolf
e5b10628ee update 2020-12-16 16:05:43 +08:00
mysterywolf
702103a203 prepare for usleep 2020-12-16 15:25:08 +08:00
Bernard Xiong
95130a9000
Merge pull request #4117 from mysterywolf/time1
[bug][keil][libc]修复开启pthread功能后keil报错的问题
2020-12-16 10:13:45 +08:00
mysterywolf
1ad70b20ad [keil][libc]防止开启pthread功能后 keil报错 2020-12-04 20:16:56 +08:00
yangjie11
ba83ddc3c4 [SConscript] change libcpu to LIBARCH,and correcte letter case 2020-11-30 15:52:43 +08:00
Meco Man
54143409ca
增加#include <rtconfig.h> 防止开启termios功能后报错 2020-11-23 01:14:44 +08:00
yangjie11
91261e25b9 [SConscript]rename group name 2020-11-20 13:38:11 +08:00
mysterywolf
d5f8830177 add newlib/dlib readme 2020-11-10 13:06:16 +08:00
mysterywolf
794f969d36 [libc][armlibc] add readme 2020-11-10 12:55:21 +08:00
Bernard Xiong
4515c21d29
Merge pull request #3942 from mysterywolf/unsitd
[fixed] 在keil环境下 compilers\armlibc\sys\unistd.h 与 libc_fcntl.h的宏定义发生了…
2020-10-11 09:39:13 +08:00
Bernard Xiong
a5cd7e7abd
Merge pull request #3944 from mysterywolf/libc
[fix bug] #3902
2020-10-11 09:37:38 +08:00
mysterywolf
96acad78ba 将posix_getline.h termios.h 头文件包含从<>改为""以防止路径出现分歧 2020-10-03 00:31:49 +08:00