Commit Graph

100 Commits

Author SHA1 Message Date
mysterywolf 837604553b 增加unistd.c文件 2020-09-02 10:22:47 +08:00
Meco 576475f14f change format 2020-08-05 09:28:10 +08:00
Meco f7ba4a6341 增加条件编译,防止RT_USING_DFS没有定义时 _sys_flen()出现编译警告:stat变量定义但没有被调用 的问题 2020-08-05 02:47:27 +08:00
Bernard Xiong be43008c56 [libc] remove pthread.h in newlib/syscalls.c 2020-06-06 13:23:56 +08:00
bigmagic 3d29ac8953 remove redefinition 'mode_t' 2020-04-11 22:35:02 +08:00
Bernard Xiong b5e4aa58e0 [Kernel] Fix the signal compiling issue when using minilibc 2019-12-18 23:06:36 +08:00
zhangjun f7e7170536 [components][libc][compilers][newlib]添加flock接口 2019-09-26 14:34:59 +08:00
zhangjun 8ed3daed5f [components][libc][compilers][newlib]添加getuid和umask函数 2019-09-26 11:27:37 +08:00
liruncong 408bb22af6 [components/libc/compilers]撤销由VS编辑器在键入}后自动引起的缩进 2019-09-15 11:47:11 +08:00
liruncong d76d30cf50 [components/libc/compilers]c++文件引用libc.h支持 2019-09-14 22:52:06 +08:00
zhangjun 3f39059217 [components][libc][compilers][common]移除time.c中未使用的变量timezone 2019-09-11 18:51:10 +08:00
zhangjun a186ada6da [components][libc][compilers]移动time相关头文件到common目录 2019-09-10 09:59:11 +08:00
yangjie 27222e9cd8 [compilers][libc] 在 minilibc 的 math.h 中增加 float_t 与 double_t 的定义 2019-09-07 18:06:03 +08:00
zhangjun dabe951415 [components][libc][common]修改__IAR_SYSTEMS_ICC__宏定义的作用范围 2019-09-02 14:52:32 +08:00
zhangjun 6910a9e97b 修复IAR8.1之后出现的__localtime32等重定义错误 2019-08-27 15:03:01 +08:00
zhangjun 9714b520c4 [components][libc]修改Kconfig选项名 2019-08-22 15:59:51 +08:00
zhangjun 3ede7630c0 [components][libc][compilers][common]拆分armcc和iar的time相关函数到common目录,同时修复原来在使用LIBC时time相关函数的BUG(armcc下使用gmtime、localtime、mktime会导致崩溃) 2019-08-22 15:34:50 +08:00
Bernard Xiong 2844e3d974 [dlib] Add more header files for IAR/dlib 2019-07-08 13:34:57 +08:00
SummerGift e809ced607 【完善】格式化 minilibc/time.c 2019-05-16 08:48:31 +08:00
SummerGift 9f300de9cc 【修改】dlib newlib minilib 中的 gettimeofday() 函数实现 2019-05-16 08:47:47 +08:00
SummerGift ec99faf022 【修改】由于 gettimeofday 函数依赖 rtc 设备才能实现,因此如果无法获取 rtc 设备应当断言 2019-05-16 08:42:01 +08:00
MurphyZhao 9596a94a8b [compilers/newlib] 在 syscalls.c 增加 __errno () 函数实现,解决在使用 newlib 编译时 errno 无法重定向到 _rt_errno 的问题
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-04-11 14:24:36 +08:00
ZYH 6b7335a36f [libc]fix size_t ssize_t 2019-03-28 17:18:40 +08:00
liruncong 4f108dbadf [components/libc]armclang支持相关 2019-03-10 10:55:27 +08:00
liruncong ce9629cb57 [components/libc/compilers/armlibc]_sys_exit增加RT_WEAK限定,由具体bsp重新实现,通常需要关闭中断,关闭IO输出等 2019-03-10 10:55:24 +08:00
gztss 11751d60e0 实现_sys_flen()函数 2019-01-24 09:05:41 +08:00
Bernard Xiong 56f1a8af4f
Merge pull request #2100 from gbcwbz/vi
Fix stdio fd error when POSIX api is used
2018-12-30 18:31:18 +08:00
Bernard Xiong 38c49099c9 [libc] Fix the printf issue when disable DFS 2018-12-28 21:41:01 +08:00
Bernard Xiong 96e6deac29 [Kernel] Fix the errno definitions in armcc/iar. 2018-12-27 09:11:07 +08:00
gbcwbz 48848c2917 [libc][armlibc] Fix getchar error after exit vi
- _sys_istty() add stdio as tty
 - without this, after exit vi program getchar will return -1, I don't know why it works
2018-12-23 19:15:20 +08:00
Bernard Xiong ad42abb933 [Libc] Disable ENV when disable DFS. 2018-11-09 09:18:05 +08:00
Bernard Xiong 125195c870
Merge pull request #1925 from qgyhd1234/gmtime_r
[kernel][kservice] add rt_gmtime_r api
2018-10-27 14:28:40 +08:00
hichard 6d2be00b9c 修复IAR dlib的时间映射,从rtt历史版本找到iar支持64bit时间的起始版本 2018-10-26 20:36:17 +08:00
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
hichard 61656e23f2 修复iar dlib时间映射函数的函数声明,适应不同版本的iar 2018-10-15 19:45:16 +08:00
Bernard Xiong 9064b28c2a [license] Change license to Apache. 2018-10-14 19:28:18 +08:00
hichard 3b957d7516 修复IAR的dlib时间映射,支持64bit的时间。 2018-10-08 22:13:38 +08:00
xuzhuoyi 472ca31d50 [libc] Remove redefinition in minilibc/errno.h 2018-10-06 15:44:10 +08:00
Bernard Xiong fcb62b80da [libc] Add _EXFUN judgement 2018-09-30 09:41:43 +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
Bluebear233 ad1d6600b8
Update libc.c
修复没有使用RT_USING_CONSOLE时,libc.c编译报错
2018-09-15 00:32:36 +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 efe4523132 [Kernel] move module tolibc/libdl. 2018-08-30 20:27:45 +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