Commit Graph

494 Commits

Author SHA1 Message Date
ArdaFu 48a59d1b44 [Componment] libc: Modify skip timespec define condication. Change IAR version from 8.11.2 to 8.10.1 2018-05-14 00:12:29 +08:00
armink 586685875b [libc/armlibc] Remove time() on stubs.c. 2018-05-10 11:30:36 +08:00
armink 8804c32801 [components/libc] Fix compile error. 2018-05-07 18:33:22 +08:00
armink 5501ec36cb [components/libc] Move time() and clock() function to libc time.c. 2018-05-07 18:19:15 +08:00
armink 201d2830e6 [components/libc] Remove #if defined(RT_USING_RTC) on time.c. 2018-05-07 18:05:10 +08:00
armink f09e39ebd3 [Components/libc] Fix compile error. 2018-05-04 09:06:57 +08:00
armink 2d9798ac3d [Components/libc] Fix time.c code style in armlibc and dlib. 2018-05-03 15:45:36 +08:00
armink 5dd0539293 [Components/libc] Add gettimeofday to newlib libc. 2018-05-03 15:43:14 +08:00
armink 3a0a3f7c69 [Components/dlib] Add dirent.h to dlib libc. 2018-05-02 15:18:55 +08:00
Bernard Xiong 74d045093b [tools] Fix the sys.path issue in IARVersion. 2018-04-15 14:39:35 +08:00
liang yongxiang 570627b72f [Libc][dlib] Auto remove macro _DLIB_THREAD_SUPPORT when IAR version higher than 8.20.1 2018-04-07 00:47:30 +08:00
armink b27b1d8032 [Libc][armlibc] Add STDIN_FILENO, STDOUT_FILENO and STDERR_FILENO to armlibc/sys/unistd.h. 2018-03-22 12:09:39 +08:00
armink 991baa7a04 [Libc][dlib] Add STDIN_FILENO, STDOUT_FILENO and STDERR_FILENO to dlib sys/unistd.h . 2018-03-20 17:50:12 +08:00
armink fed25c720e [Libc][dlib] Add fcntl.h and sys/stat.h to dlib. 2018-03-20 17:48:35 +08:00
ArdaFu 56c2ebbcc8 [components][mini-libc] Add missing C99 definition of int/uint_least/fast8/16/32/64_t. 2018-03-19 11:54:13 +08:00
Bernard Xiong f83eb41ef7 [libc] fix the compiling warning 2018-03-05 21:17:03 +08:00
armink 9c620cb2f1 [Libc][Minilibc] Add some function declaration to time.h . 2018-02-16 20:48:37 +08:00
armink 0c4922becb [Libc][Minilibc] Add type 'clock_t' to minilibc. 2018-02-16 20:40:20 +08:00
BernardXiong 43cc01742f [libc] cleanup code. 2018-02-11 13:58:20 +08:00
BernardXiong 780c09e3e4 [libc] Fix the O_CREAT issue.
libc_stdio_set_console/newlib uses fopen to open console device, which
has O_CREAT flag and cause fault.
2018-02-11 13:57:51 +08:00
Bernard Xiong 4e41b0573b [libc] fix the fcntl issue in newlib 2018-02-07 19:55:35 +08:00
MurphyZhao 97f0f26535 [components/libc/compilers/dlib]
Add dlib/time.c to support gettimeofday API
2018-01-16 17:12:30 +08:00
sundm75 9dfe8e25c2 龙芯1C使用的libc初始化添加了dev的定义条件 2018-01-14 09:22:02 +08:00
armink 392a33d6c5 [libc] Add libc_stdio_get_console . 2018-01-12 16:55:47 +08:00
MurphyZhao c258ca794d Fix-IAR-Version-Problem
[dlib/sys/time.h] Fix iar version problem
[bsp/stm32f429-apollo/applications/SConscript] Remove CPPDEFINES
2018-01-10 10:55:59 +08:00
BernardXiong d3da3bd9b2 [libc] move clock_time to time. 2017-12-31 16:43:08 +08:00
JasonJiaJie 3454484346 [Termios]Fix compile error for gcc and iar.
Fix compile error for gcc and iar.Add termios.h to newlib and dlib
2017-12-07 18:32:06 +08:00
JasonJiaJie de0a201e44 [Termios]1. Add termios test. 2.Add termios.h
1. Add termios test. 2.Add termios.h
2017-12-07 18:32:06 +08:00
bernard ed033053cf [libc] Add mmap API 2017-11-30 21:18:55 +08:00
SummerGift 0363220042 add components/libc/compilers/armlibc/time.c 2017-11-13 09:53:08 +08:00
SummerGift 4dfabdcb0a add components/libc/compilers/armlibc/dirent.h 2017-11-09 13:07:58 +08:00
tanek liang be48c3c419 [libc] fix time () not found when no RT_USING_RTC defined 2017-11-01 19:20:01 +08:00
bernard b3d872740b [libc] Fix the typedef in minilibc. 2017-10-31 10:24:11 +08:00
bernard d9592457fb Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2017-10-25 07:25:39 +08:00
bernard 0d45288f06 [libc] Add mode_t in rtlibc.h for Keil MDK/IAR. 2017-10-25 07:25:24 +08:00
Bernard Xiong b4831fbde4 [libc] disable minilibc under simulator 2017-10-22 17:07:38 +08:00
armink 137a65a6ce [libc] Remove `RT_USING_POSIX_STDIN` in libc. 2017-10-18 20:20:41 +08:00
bernard 9b87270682 [libc] Add intptr_t/uintptr_t in minilibc. 2017-10-17 22:27:26 +08:00
bernard 8a38307e2c [libc] Add RT_USING_POSIX macro.
1. Add macro check in rtdebug.h;
2. Use RT_USING_POSIX for poll/select, stdin etc.
3. Split dfs_posix.h to dfs_posix.h, dfs_poll.h and dfs_select.h;
2017-10-17 22:27:06 +08:00
bernard 53227b6a74 [lib] Fix the compiling warning in libc. 2017-10-17 09:48:35 +08:00
Bernard Xiong 591339e7a8 [BSP] fix compiling issue 2017-10-16 19:16:10 +08:00
bernard 5c7b16d00b [libc] Update libc.
1. Add POSIX termios implementation;
2. Add POSIX signals implementation;
3. Add stdio for each libc.
2017-10-15 22:41:59 +08:00
bernard 8bdf993bfc [libc] Build correct SConscript file. 2017-10-13 12:44:54 +08:00
bernard db88c0b6a2 [libc] Change libc stubs to compiler folder. 2017-10-10 17:12:03 +08:00