Commit Graph

210 Commits

Author SHA1 Message Date
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
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 a437ffbf3e [libc] code cleanup for termios. 2017-10-17 22:24:23 +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
Bernard Xiong 1f45d8c723 Merge pull request #822 from parai/upstream
x86: bring up share object module on i386 machine
2017-08-21 09:30:17 +08:00
parai 2957cf6f52 x86: bring up share object module on i386 machine
1. upddate kernel module to support i386
2. update libdl to support open *.so by absolute path
3. new test case bsp/x86/src/hello.c to test i386 module feature

Signed-off-by: parai <parai@foxmail.com>
2017-08-20 20:24:07 +08:00
armink e515408d00 [Libc] Add some errno to `armlibc/sys/errno.h`. 2017-08-20 10:47:53 +08:00
armink db1eb96a49 [Libc] Change tabs to 4 spaces on `armlibc/sys/errno.h'. 2017-08-20 09:52:57 +08:00
armink 0727ea25ae [libc] Change tabs to 4 spaces on dlib 'errno.h'. 2017-08-07 13:25:50 +08:00
armink 5b35327966 [Libc] Add some errno to dlib. 2017-08-07 13:15:46 +08:00
bernard b47994cb42 Add more checking for SConscript files of libc. 2017-06-15 14:38:39 +08:00
pinhaozhang 1330a70207 modified: components/libc/newlib/libc.c 2017-06-09 12:18:40 +08:00
ArdaFu 707540a8d3 [libc] Add dummy _gettimeofday function when hardware do not have the RTC. 2017-05-05 17:52:39 +08:00
bernard d692001fd5 [tools] Add KConfig files. 2017-01-31 11:54:12 +08:00
armink e379b4d2a4 [pthreads]Add component init for pthread_system_init. 2016-11-12 21:46:17 +08:00
Bernard Xiong 2d7486fcc0 [pthreads] Fix the sem_trywait issue. 2016-11-08 09:21:32 +08:00
Bernard Xiong 712c0673fb [pthreads] Fix the phread_mutex_trylock issue for not recursive mutex. 2016-11-03 15:38:51 +08:00
Roamboy 29411bca71 IAR编译器dlib __close,__lseek hanle传入正确值 2016-08-05 21:10:29 +08:00
Urey 6d14e1390c Update SConscript 2016-07-13 10:49:21 +08:00
weety 0af00b9ce5 fixed time unit error in clock_gettime. 2016-06-01 14:07:47 +08:00
weety 11413896d3 Fixed time unit error. 2016-06-01 13:52:05 +08:00
weety 62e770f9de Fixed 64KB stack size limit. 2016-05-31 20:39:33 +08:00
Bernard Xiong 64feef0dde [LIBC] mv pthreads/libdl to libc and rename dfs_lwip to dfs_net 2016-05-10 09:22:01 +08:00
Bernard Xiong 06d3599d86 [libc] Add abort routine to replace old API.
abort routine will cause sig_xxx() reference.
2016-05-01 16:04:26 +08:00
Bernard Xiong fd7a65b4be [LIBC] remove minilibc when compiling simulator under Linux 2016-04-24 19:59:48 +08:00
Bernard Xiong 33cda0866f [libc] Fix the rtconfig issue in armlibc/unistd.h file. 2016-04-18 13:54:07 +08:00
Bernard Xiong 9c293336cb [DFS] Add fcntl.h for armlibc. 2016-04-09 23:11:17 +08:00
Bernard Xiong 2a9f80d947 Add some leaked dummy header file for armcc. 2016-04-02 14:15:25 +08:00
Bernard Xiong f677db1ff5 [libc] Add fputc/fgetc implementation for MICROLIB 2016-02-01 12:19:22 +08:00
Bernard Xiong 83404b825b [libc] Does export time API if RTC component is not used. 2015-11-22 10:58:19 +08:00
Bernard Xiong 147901c2cb [Libc] Export more symbols for libc. 2015-10-11 15:37:34 +08:00
Arda 53c85fb989 [libc][dlib] Add missing definition of mode_t
For using pthread with IAR tool chain
2015-09-26 23:39:04 +08:00
Bernard Xiong 31824c7e78 [libc] implement an empty __libc_init_array routine in newlib 2015-09-21 10:00:38 +00:00
aozima eece1a7ac5 update armlibc/sys/errno.h: define EADDRNOTAVAIL 2015-07-01 16:44:56 +08:00
pangwei b5add19b0e [components] add definition of mode_t for armlibc. 2015-05-21 09:18:05 +08:00
Bernard Xiong 7e981e3e26 [DFS] Fix the accept/shutdown issue in dfs_lwip. 2015-05-11 12:32:53 +08:00
Bernard Xiong 0af011101d [libc] Add more system header file for armlibc and dlib. 2015-05-04 20:35:28 +08:00
Bernard Xiong 1bf01f0d38 [libc] fix compiling warning for newlib 2015-04-24 11:48:23 +08:00
Bernard.Xiong 0da8d515ac [Libc] Change libc_system_init as INIT_COMPONENT 2015-03-26 19:58:05 +08:00
bernard 2c88533659 [LIBC] fix compiling issue for dlib (IAR). 2015-01-31 21:59:58 +08:00
Bernard Xiong 918b790882 [libc] Add IAR dlib porting 2015-01-31 11:13:50 +08:00
Bernard Xiong 87171f003c [LIBC] code cleanup 2015-01-28 14:14:30 +08:00
bernard b73283135d Add cplusplus initialization for ARMCC; Fix printf issue in _sys_write. 2014-12-31 11:53:12 +08:00
Bernard Xiong ab05daf4ef [LIBC] fix compiling warning 2014-12-06 07:26:19 +00:00
Bright Pan eeadfe4705 Fix compile warning: variable "c" was declared but never referenced, when RT_USING_CONSOLE is disable. 2014-11-23 00:04:58 +08:00
Bernard Xiong 0797e54f3f [LIBC] fix the fopen/open issue in armlibc 2014-10-30 03:53:22 +00:00
Bernard Xiong 802c768475 [LIBC] Use RT_USING_LIBC instead of libs option for each compiler 2014-10-28 03:45:43 +00:00
Grissiom e030451220 minilibc: only define malloc family when RT_USING_HEAP enabled 2014-10-14 16:14:02 +08:00
Grissiom ab729429b3 minilibc: define SIZE_MAX in stdint.h 2014-09-01 10:41:37 +08:00
Bernard Xiong d0a7861534 Update string.h 2014-08-22 09:02:35 +08:00
Bernard Xiong 50dbce3c1a Update string.c 2014-08-22 09:01:33 +08:00
bernard 4ee93b7552 [libc] Fix system issue when use msh and make code cleanup. 2014-08-03 14:31:19 +08:00
bernard fccd0e6b83 [libc] Use __SIZE_TYPE__ instead of rt_size_t in minilibc. 2014-08-03 14:30:31 +08:00
Bernard Xiong 59c128c073 [libc] fix compiling warning 2014-07-31 09:30:18 +08:00
bernard a58593f784 [libc] code cleanup. 2014-06-25 17:20:57 +08:00
Grissiom 5ad58a59a4 minilibc: no double braces in if statement 2014-04-12 16:58:17 +08:00