Commit Graph

32 Commits

Author SHA1 Message Date
zylx 920d6ecec7 [Libc] move gmtime_r api to rt-thread\components\libc\compilers\common 2018-10-26 15:21:31 +08:00
zylx 3bf68f2f42 [Libc][dlib][armlibc] add gmtime_r api 2018-10-26 11:17:41 +08:00
Bernard Xiong 9064b28c2a [license] Change license to Apache. 2018-10-14 19:28:18 +08:00
Bernard Xiong 32939be90c [libc] Fix the fputc issue when enable microlib. 2018-09-25 11:04:02 +08:00
Bernard Xiong b49859582a [libc] Fix the fputc issue when use microlib. 2018-09-23 14:43:21 +08:00
Bernard Xiong b98a0ba804 [Kernel] Add ARMCC 6.x support. 2018-09-23 12:08:44 +08:00
yangfasheng f31b11de78 update armlibc/stdio.c
Signed-off-by: yangfasheng <yangfasheng@rt-thread.com>
2018-09-18 17:53:28 +08:00
liruncong ba20a00e19 _sys_command_string返回值错误,no support时cmd为随机数据,可能导致c库初始化时在此函数返回处死循环或跑飞. 2018-09-11 23:36:01 +08:00
liruncong f61c2fb882 armlibc下malloc/realloc/calloc声明同一更正 2018-09-11 19:46:08 +08:00
Bernard Xiong 41c27cce5e
Merge pull request #1639 from liangyongxiang/console-device
[libc] dependence update:
2018-07-17 21:17:21 +08:00
liang yongxiang a27144eb4e [libc] dependence update: rt_device_write()/rt_console_get_device() need RT_USING_CONSOLE and RT_USING_DEVICE 2018-07-17 16:58:17 +08:00
liang yongxiang b822ac8ff6 [libc] fix compilation error when RT_USING_HEAP is disable 2018-07-17 11:24:47 +08:00
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
armink 586685875b [libc/armlibc] Remove time() on stubs.c. 2018-05-10 11:30:36 +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 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 392a33d6c5 [libc] Add libc_stdio_get_console . 2018-01-12 16:55:47 +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 0d45288f06 [libc] Add mode_t in rtlibc.h for Keil MDK/IAR. 2017-10-25 07:25:24 +08:00
armink 137a65a6ce [libc] Remove `RT_USING_POSIX_STDIN` in libc. 2017-10-18 20:20:41 +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 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