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 |
Bernard Xiong
|
ab595cc864
|
[pthreads] fix the free ptd issue when there is no pthread slot.
|
2019-05-13 09:19:44 +08:00 |
Bernard Xiong
|
7038465d13
|
[pthreads] Add PTHREAD_NUM_MAX in Kconfig.
|
2019-05-12 21:48:54 +08:00 |
Bernard Xiong
|
bb506e8493
|
[pthreads] Add spinlock declare and fix code issue.
|
2019-05-12 21:44:28 +08:00 |
Bernard Xiong
|
5d36fa78c0
|
[pthreads] Use pthread table for pthread management.
|
2019-05-12 17:56:11 +08:00 |
Bernard Xiong
|
3638e5129e
|
[pthreads] The fields definition are more like those of newlib/glibc.
|
2019-05-12 15:04:46 +08:00 |
armink
|
fa4d4ab7cf
|
Update all of debug log definition to DBG_TAG and DBG_LVL.
|
2019-04-12 10:18:57 +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 |
Bernard Xiong
|
cfb4a9c323
|
Merge pull request #2525 from jesven/fix_dlopen
fix dlmodule_load(): return immediately when open file fail
|
2019-04-01 18:11:13 +08:00 |
shaojinchun
|
832fc23b02
|
fix dlmodule_load(): return immediately when open file fail
|
2019-03-31 14:24:58 +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 |
armink
|
0d7ba79219
|
Remove the DBG_COLOR and DBG_ENABLE definition.
|
2019-03-06 17:54:30 +08:00 |
Bernard Xiong
|
f9f7e6c520
|
[ptherad] Fix pthread_exit issue
When pthread invokes pthread_exit, it just detach self.
|
2019-02-14 13:45:25 +08:00 |
Bernard Xiong
|
c003bdf44f
|
[pthreads] Add _pthread_destroy to release pthread resource.
|
2019-02-07 23:50:49 +08:00 |
gztss
|
11751d60e0
|
实现_sys_flen()函数
|
2019-01-24 09:05:41 +08:00 |
Bernard Xiong
|
97560dd8e2
|
[libc] Fix the addr=NULL issue in mmap.
|
2019-01-21 17:19:07 +08:00 |
Bernard Xiong
|
75061a2712
|
[libc] Fix the result length issue in aio_read_work.
|
2019-01-21 17:18:48 +08:00 |
Hao Zhu
|
d3c2cb5845
|
[components][libc] add extern "C" for header file
|
2019-01-09 15:13:03 +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
|
c7d9daefaa
|
Merge pull request #1868 from jg1uaa/master
change hello.mo building process, compile and link separately
|
2018-11-05 09:14:02 +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 |
SASANO Takayoshi
|
777554bb86
|
Fixed undefined reference to 'dlmodule_relocate'
This is caused by #ifdef __x86__
For x86(32bit) gcc, pre-defined macro is __i386__ not __x86__.
|
2018-10-10 15:38:24 +09: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 |
Bernard Xiong
|
277e0bc177
|
Merge pull request #1814 from parai/master
bring up dlmoudle on x86
|
2018-09-15 15:53:31 +08:00 |
parai.wang
|
133a42fbb7
|
bring up dlmoudle on x86
|
2018-09-15 13:32:42 +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
|
ba5c1bea44
|
[dlmodule] Add cache ops in dlmodule.
|
2018-09-01 11:00:42 +08:00 |
Bernard Xiong
|
75c8515f1a
|
[dlmodule] Add priority and stack size option for dlmodule.
|
2018-08-31 15:02:48 +08:00 |
Bernard Xiong
|
efe4523132
|
[Kernel] move module tolibc/libdl.
|
2018-08-30 20:27:45 +08:00 |
Bernard Xiong
|
f68bb0ec90
|
[pthreads] Fix the object check issue.
|
2018-08-03 14:28:45 +08:00 |
liang yongxiang
|
bd044f674d
|
[components] format Kconfig
|
2018-07-18 11:59:50 +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
|
41f2f1829f
|
[libc] Add more typedef in minilibc.
|
2018-06-29 13:40:28 +08:00 |
Bernard Xiong
|
884fb70fe9
|
[Kernel] Add device ops feature.
|
2018-06-10 17:59:17 +08:00 |
Bernard Xiong
|
682da9b249
|
[Kernel] Remove object container in module feature.
|
2018-06-10 17:56:02 +08:00 |
Bernard Xiong
|
d4af0828ea
|
Merge pull request #1432 from ArdaFu/master
[BSP] TM4C129X: Modify rtconfig.py to support compile from IAR-SCONS
|
2018-05-16 10:27:23 +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 |
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 |