3700 Commits

Author SHA1 Message Date
Meco Man
c4d11f52dd update 2021-02-14 18:47:48 +08:00
Meco Man
bb35f07bf2 implement _sys_tmpnam() 2021-02-14 18:46:55 +08:00
Bernard Xiong
bfde38030b
Merge pull request #4334 from mysterywolf/exit
[libc][exit][abort] 重新实现exit和abort函数
2021-02-13 23:20:21 +08:00
LeeChunHei
b51c6339f0 finish testing 2021-02-13 18:50:58 +08:00
LeeChunHei
fa5c8e1502 modifly to use multi usb(not tested) 2021-02-13 18:50:47 +08:00
LeeChunHei
75a4efc406 Add pulse encoder and usb host to imxrt (not tested) 2021-02-13 18:50:37 +08:00
Meco Man
652d98bca6 update dlibc syscalls.c 2021-02-13 15:16:53 +08:00
Meco Man
2530a5a272 [dlib]remove syscalls.h and add syscalls.c to implement exit() and abort() 2021-02-13 15:14:07 +08:00
Meco Man
f1fa47611f update 2021-02-13 13:30:40 +08:00
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
Bernard Xiong
122a1753d5
Merge pull request #4330 from liruncong/RT_SECTION
SECTION改为RT_SECTION
2021-02-12 13:02:31 +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
Bernard Xiong
ff9ef1a527
Merge pull request #4331 from mysterywolf/syscall
[libc][newlib]remove _gettimeofday_r() and _times_r()
2021-02-11 22:37:26 +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
liruncong
0208fc5546 [components]SECTION=>RT_SECTION(与catch2中SECTION冲突) 2021-02-09 23:25:46 +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
Bernard Xiong
9345ebfa12
Merge pull request #4310 from mysterywolf/pin
[bug][pin] 修复错误码没有为负的错误
2021-02-08 09:09:05 +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
86ebf17a23 localtim改为gmtime 2021-02-07 21:49:25 +08:00
Meco Man
f073911cd3 解决底层驱动格林威治时间与当地时间胡乱使用的问题 mktime函数改为timegm函数 2021-02-07 21:08:41 +08:00
tangyuxin
83692a54c4 【workqueue】添加函数声明
rt_err_t rt_workqueue_cancel_all_work(struct rt_workqueue *queue);
2021-02-07 11:14:59 +08:00