219 Commits

Author SHA1 Message Date
Bernard Xiong
6ac213d622 Add GCC version detection.
Add cconfig.h file for different version of GCC, which is automatically
detected and generated by scons script.
2018-05-14 21:37:11 +08:00
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
cdd12b7930 [libc] Add dl features in KConfig. 2018-04-25 23:26:20 +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
Bernard Xiong
8203b6004b [Libc] add HAVE_SYS_SIGNALS config 2018-03-04 17:27:11 +08:00
BernardXiong
38b9ed3118 [Kernel] add sigwait implementation 2018-03-01 13:36:22 +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
84a44e58dd [pthread] Fix pthread_detach issue for a none-joinable thread 2018-02-07 19:55:35 +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
d8ec36a964 [libc] Remove wrong include file in clock_time.c 2018-01-02 15:35:13 +08:00
BernardXiong
d3da3bd9b2 [libc] move clock_time to time. 2017-12-31 16:43:08 +08:00
BernardXiong
1383a97737 [libc] Add the first version for AIO. 2017-12-31 14:49:18 +08:00
BernardXiong
4bc082e7cb [libc] move struct sigevent to libc_signal.h file. 2017-12-31 14:48:54 +08:00
Bernard Xiong
e1da54e513 [pthreads] Add CLOCK_CPUTIME_ID/CLOCK_MONOTONIC clock_id 2017-12-24 00:06:29 +08:00
Bernard Xiong
9b8a8d6e5f [libc] Remove Kconfig warning 2017-12-24 00:06:29 +08:00
luo jiao
3d65afc7d5 add some parameter check and function defintion etc. 2017-12-22 13:24:02 +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
Bernard Xiong
7bc87e4ae8 [Kconfig] Rename all of KConfig files to 'Kconfig' 2017-11-30 20:12:53 +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