Meco Man
4accfc410c
修改get_timeval的错误返回形式
2021-04-15 00:57:01 +08:00
armink
76be91c7de
[libc/time] Add microseconds time get feature in gettimeofday.
2021-04-14 20:10:47 +08:00
Meco Man
b4040df9dc
[libc][time][bug] LOG_W will cause a recursive printing if ulog timestamp function is turned on
2021-04-11 13:31:11 +08:00
jeshrz
7c999e1950
enhance robustness for pthread
2021-03-31 09:22:47 +08:00
Meco Man
a584b8ba6b
[libc][time] add debug tag
2021-03-28 10:33:13 +08:00
Meco Man
0ec2a5f782
[libc][time] add LOG_W to give a warning when RTC device is not used
2021-03-26 17:36:43 +08:00
Bernard Xiong
5c50a8794f
Merge pull request #4458 from mysterywolf/time
...
[libc][time] 修复没有末尾\0的bug
2021-03-23 20:10:37 +08:00
Bernard Xiong
677f9c5aa6
Merge pull request #4470 from mysterywolf/ioctl
...
[libc][ioctl] 将sys/ioctl.h移至common文件夹
2021-03-19 22:52:40 +08:00
Meco Man
9d17aa7ce5
[libc][ioctl] 将sys/ioctl.h移至common文件夹
2021-03-17 02:37:42 +08:00
tangyuxin
1b68098f08
[libc] Fix Win32 compilation errors
2021-03-16 14:07:36 +08:00
Bernard Xiong
b12615f344
Merge pull request #4427 from mysterywolf/components
...
[components] auto & manual formatted
2021-03-16 13:53:54 +08:00
Meco Man
cc1277d491
[libc][time] 修复没有末尾\0的bug
2021-03-15 11:29:42 +08:00
Meco Jianting Man
bc606f9a78
Delete rmtx.c
2021-03-11 15:42:22 +08:00
Bernard Xiong
d9b8984398
Merge pull request #4433 from mysterywolf/clang
...
[libc][time][bug] 修复ARM6报错的问题
2021-03-09 21:00:15 +08:00
Meco Man
09c5420d21
[libc][time][bug] 修复ARM6报错的问题
2021-03-09 17:51:35 +08:00
Meco Man
9952042b0c
remove inherent mutex protect
2021-03-09 11:33:22 +08:00
Meco Man
3c05a4e719
[compoenets] auto & manual formatted
2021-03-08 18:19:04 +08:00
Meco Man
ff9210a84d
revise comment
2021-03-05 23:13:57 +08:00
Meco Man
3253312758
remove difftime()
2021-03-05 23:09:00 +08:00
Bernard Xiong
0a54f4c3dd
Merge pull request #4388 from mysterywolf/getline
...
[libc][getline] 删除不必要的声明信息
2021-03-01 15:18:52 +08:00
Meco Man
70f5c10262
remove comments
2021-02-28 11:12:18 +08:00
Meco Man
ac275965f2
[libc][newlib] 对syscall中malloc相关桩函数做出编译调整
2021-02-28 11:09:48 +08:00
Bernard Xiong
2bf53d315d
Merge pull request #4369 from mysterywolf/removeminilibc
...
[libc]移除minilibc 并将其职能并入newlibc中
2021-02-27 09:12:45 +08:00
Meco Man
952e35d9d3
update Kconfig
2021-02-26 06:34:52 +08:00
Meco Man
88abde1578
[libc] beatify getline
2021-02-26 06:17:22 +08:00
Bernard Xiong
fae0fa8eea
Merge pull request #4383 from mysterywolf/istty
...
[libc]fix bug of _isatty_r()
2021-02-26 00:48:58 +08:00
Meco Man
1ce2065660
[libc][armlibc] add multithreaded protection
2021-02-25 09:14:19 +08:00
Meco Man
20b95b8af5
[libc]fix bug of _isatty_r()
2021-02-24 22:09:00 +08:00
Bernard Xiong
b7a71b8552
Merge pull request #4371 from mysterywolf/fixold
...
[libc] 去除RT_USING_NOLIBC 历史遗留
2021-02-24 16:45:29 +08:00
Bernard Xiong
86aec6371a
Merge pull request #4381 from mysterywolf/exit
...
[kernel] rt_thread_control() 关闭线程后增加rt_schedule调度
2021-02-24 16:43:00 +08:00
Meco Man
2b98ac215a
[kernel] rearrange rt_thread_control() - schedule the thread when close it
2021-02-24 16:29:43 +08:00
Meco Man
bf7a3af6fd
update readme
2021-02-23 11:28:25 +08:00
Meco Man
6ee0d45644
update
2021-02-23 11:16:41 +08:00
Meco Man
9220447060
update
2021-02-23 10:28:13 +08:00
Meco Man
497e7b45d4
remove minilibc
2021-02-23 03:28:19 +08:00
Meco Man
b2d3317c6a
remove minilibc
2021-02-23 03:21:16 +08:00
Meco Man
19c8cab8bd
update
2021-02-22 17:02:45 +08:00
Meco Man
69dc37e1aa
update
2021-02-22 16:53:54 +08:00
Meco Man
46b5eb378f
remove _getpid_r()
2021-02-22 16:30:10 +08:00
Meco Man
19ef112016
improve and beautify syscalls
2021-02-21 18:20:45 +08:00
Meco Man
3ebb48fae1
add comment
2021-02-21 18:05:47 +08:00
Meco Man
c13c00e45c
update
2021-02-21 18:01:29 +08:00
Meco Man
d06420e1d7
implement getuid and getpid
2021-02-21 17:25:36 +08:00
Bernard Xiong
4094b0e398
Merge pull request #4358 from mysterywolf/master
...
[libc] 优化abort函数
2021-02-20 12:15:49 +08:00
Bernard Xiong
b204651517
Merge pull request #4333 from mysterywolf/pthread
...
[pthread][libc][time] 修改pthread与libc的时间函数若干问题
2021-02-20 12:12:56 +08:00
Meco Man
ae2d414ca1
add system() for IAR
2021-02-20 11:57:41 +08:00
Meco Man
0ce0e2c234
update
2021-02-20 11:35:41 +08:00
Meco Man
eaa3454bbe
优化abort函数
2021-02-20 11:31:58 +08:00
Bernard Xiong
7ed6644db9
Merge pull request #4344 from mysterywolf/exit_1
...
[libc][common] 精简exit和abort函数
2021-02-18 00:06:18 +08:00
Meco Man
263d856fa4
update
2021-02-17 23:50:12 +08:00
Meco Man
3392d7fe50
[libc][newlib]重定义CLOCKS_PER_SEC宏
2021-02-17 03:21:20 +08:00
Meco Man
933c54c668
update
2021-02-17 00:27:24 +08:00
Meco Man
9f5878b2fb
update
2021-02-17 00:18:49 +08:00
Meco Man
e927a53b41
精简exit abort system函数
2021-02-17 00:02:28 +08:00
Bernard Xiong
06f47dafd2
Merge pull request #4339 from mysterywolf/exit
...
[libc][keil]实现_sys_tmpnam()函数
2021-02-15 23:43:32 +08:00
Bernard Xiong
91d29c33db
Merge pull request #4340 from mysterywolf/RT_TICK_PER_SECOND
...
[libc][keil] 在sconscript中定义CLOCKS_PER_SEC宏
2021-02-15 23:30:10 +08:00
Bernard Xiong
d1cb9c5d97
Merge pull request #4341 from mysterywolf/unlink
...
[libc][iar][gcc] 优化remove函数
2021-02-15 09:28:48 +08:00
Meco Man
c842f2a067
change header
2021-02-15 08:05:49 +08:00
Meco Man
540bacad9c
update
2021-02-15 08:03:52 +08:00
Meco Man
abcb050603
[libc][iar][gcc] 优化remove函数
2021-02-15 07:53:58 +08:00
Meco Man
4615a7d96c
remove gcc
2021-02-15 07:35:14 +08:00
Meco Man
33769db3cf
[libc][gcc][keil] 在sconscript中定义RT_TICK_PER_SECOND宏
2021-02-15 07:17:16 +08:00
Meco Man
c4d11f52dd
update
2021-02-14 18:47:48 +08:00
Meco Man
bb35f07bf2
implement _sys_tmpnam()
2021-02-14 18:46:55 +08:00
Meco Man
652d98bca6
update dlibc syscalls.c
2021-02-13 15:16:53 +08:00
Meco Man
2530a5a272
[dlib]remove syscalls.h and add syscalls.c to implement exit() and abort()
2021-02-13 15:14:07 +08:00
Meco Man
f1fa47611f
update
2021-02-13 13:30:40 +08:00
Meco Man
23d4c200c9
add noreturn
2021-02-13 13:23:18 +08:00
Meco Man
b89b3958bc
[libc][exit][abort] 重新实现exit和abort函数
2021-02-13 13:16:17 +08:00
Meco Man
598aa86f75
move clock_time_to_tick to time.c
2021-02-12 20:36:17 +08:00
Meco Man
5fc59f88c1
update
2021-02-12 12:14:45 +08:00
Meco Man
ac500f35d6
change RT_USING_PTHREADS to RT_USING_POSIX
2021-02-12 12:08:14 +08:00
Meco Man
e33e7822d7
add <sys/types.h>
2021-02-12 02:58:44 +08:00
Meco Man
fa8e8ed31f
add RTM_EXPORT label for unistd.c
2021-02-12 02:21:30 +08:00
Meco Man
e3a32e807c
update
2021-02-12 02:20:22 +08:00
Meco Man
789f1a8753
move all functions located in <pthread_sleep.c> to this file
2021-02-12 02:12:33 +08:00
Meco Man
417f8b9bed
update
2021-02-12 01:46:16 +08:00
Meco Man
107c27f38d
update
2021-02-12 01:40:45 +08:00
Meco Man
291fe36139
[pthread][libc] move 'clock_time' to libc
2021-02-12 01:30:41 +08:00
Bernard Xiong
a4dd106d49
Merge pull request #4316 from mysterywolf/gettimeofday
...
[libc][time] 修复多处bug;增加time相关函数
2021-02-11 23:37:25 +08:00
Meco Man
ce4fabe158
add errno
2021-02-11 20:48:30 +08:00
Meco Man
dbe1a9c2dc
移除无用的代码
2021-02-11 16:29:14 +08:00
Meco Man
dd147925e5
fix time() return value
2021-02-11 13:41:24 +08:00
Meco Man
e904f9bf27
update common
2021-02-11 03:03:59 +08:00
Meco Man
b4c8cb1445
remove declare
2021-02-11 03:02:32 +08:00
Meco Man
a400991ee9
remove _gettimeofday_r() and _times_r()
2021-02-11 02:58:19 +08:00
Meco Man
e3fee1ca77
2 spaces -> 4 spaces
2021-02-11 02:46:23 +08:00
Meco Man
d67d4d3fd0
add difftime()
2021-02-11 02:34:38 +08:00
Meco Man
51cb109cf8
fix bug #3183 - align days[] and months[] to 4 bytes
2021-02-11 02:33:45 +08:00
Meco Man
5e5ceabfdc
add ctime_r() and re-implement ctime()
2021-02-11 02:32:47 +08:00
Meco Man
072dbe57c6
format & add clear tm_isdst
2021-02-11 02:31:53 +08:00
Meco Man
66e2a9424b
update
2021-02-10 21:01:16 +08:00
Meco Man
39ff4b5a97
修改时区计算公式的错误
2021-02-08 11:37:24 +08:00
Meco Man
2645aec2e3
删除没有用的预编译,在新版的IAR中此已经不需要了
...
对time函数增加RT_WEAK
2021-02-08 11:30:49 +08:00
Meco Man
3e9c77efd5
优化IAR
2021-02-08 10:55:08 +08:00
Meco Man
9b428e519f
avoid warning
2021-02-08 10:42:50 +08:00
Meco Man
d0c2631b12
revert time()
2021-02-08 10:33:12 +08:00
Meco Man
6c7dd30532
add function settimeofday & stime
2021-02-08 00:56:31 +08:00
Meco Man
4c6962436a
update
2021-02-07 22:33:37 +08:00
Meco Man
d92f8a53da
update
2021-02-07 22:25:30 +08:00
Meco Man
0d30632de6
fix #3976
2021-02-07 22:09:22 +08:00
Meco Man
c2fca3dffe
修复RTC驱动以及libc time.c库若干问题
2021-02-05 13:13:22 +08:00
yangjie
eeaf1fcc50
resolve Conflicts
...
bsp/nrf52832/board/Sconscript
bsp/nrf52832/startups/Sconscript
bsp/raspberry-pi/raspi4-32/driver/SConscript
2020-12-28 12:02:31 +08:00
yangjie
ef62febf1f
[SConscript]update group name
2020-12-19 16:49:11 +08:00
mysterywolf
ab75425540
update
2020-12-17 11:32:10 +08:00
mysterywolf
e5b10628ee
update
2020-12-16 16:05:43 +08:00
mysterywolf
9d004a2892
实现 usleep
2020-12-16 15:34:41 +08:00
mysterywolf
702103a203
prepare for usleep
2020-12-16 15:25:08 +08:00
Bernard Xiong
95130a9000
Merge pull request #4117 from mysterywolf/time1
...
[bug][keil][libc]修复开启pthread功能后keil报错的问题
2020-12-16 10:13:45 +08:00
mysterywolf
1ad70b20ad
[keil][libc]防止开启pthread功能后 keil报错
2020-12-04 20:16:56 +08:00
Bernard Xiong
d7c367d38b
Merge pull request #4070 from mysterywolf/getline
...
[bug] [libc] 增加#include <rtconfig.h> 防止开启termios功能后报错
2020-12-03 08:40:07 +08:00
yangjie11
ba83ddc3c4
[SConscript] change libcpu to LIBARCH,and correcte letter case
2020-11-30 15:52:43 +08:00
chenjh
cb54cda19e
[bug] [libc] 修复posix_sem_find中iter->sem的数据类型转换问题
2020-11-24 11:18:54 +08:00
Meco Man
54143409ca
增加#include <rtconfig.h> 防止开启termios功能后报错
2020-11-23 01:14:44 +08:00
yangjie11
91261e25b9
[SConscript]rename group name
2020-11-20 13:38:11 +08:00
mysterywolf
d5f8830177
add newlib/dlib readme
2020-11-10 13:06:16 +08:00
mysterywolf
794f969d36
[libc][armlibc] add readme
2020-11-10 12:55:21 +08:00
Bernard Xiong
4515c21d29
Merge pull request #3942 from mysterywolf/unsitd
...
[fixed] 在keil环境下 compilers\armlibc\sys\unistd.h 与 libc_fcntl.h的宏定义发生了…
2020-10-11 09:39:13 +08:00
Bernard Xiong
a5cd7e7abd
Merge pull request #3944 from mysterywolf/libc
...
[fix bug] #3902
2020-10-11 09:37:38 +08:00
mysterywolf
96acad78ba
将posix_getline.h termios.h 头文件包含从<>改为""以防止路径出现分歧
2020-10-03 00:31:49 +08:00
mysterywolf
c7aa6f0619
[fix bug] #3902
2020-10-02 12:00:52 +08:00
Meco Man
60b1b87903
[fixed] 在keil环境下 compilers\armlibc\sys\unistd.h 与 libc_fcntl.h的宏定义发生了重复定义的冲突
2020-10-02 11:22:17 +08:00
mysterywolf
b3ab8a99e1
Signed-off-by: mysterywolf
2020-09-09 08:59:39 +08:00
mysterywolf
28e0c99d00
Signed-off-by: mysterywolf
2020-09-09 00:53:53 +08:00
mysterywolf
4305a678a3
修改common文件夹的sconscript 并 取消并恢复上一个commit的提交内容
2020-09-08 16:29:47 +08:00
mysterywolf
ff097f0467
增加 __GNUC__宏定义 和sconscript的平台识别以避免重复定义
2020-09-08 13:16:49 +08:00
mysterywolf
0607ff84ab
解决minilibc time.c和newlibc仅定义RT_LIBC_USING_TIME时冲突的问题
2020-09-08 11:12:56 +08:00
mysterywolf
f021cb982a
修改common下的sconscript脚本文件,增加unistd.c排除条件
2020-09-08 10:52:02 +08:00
mysterywolf
5eccf51b61
Signed-off-by: mysterywolf
2020-09-08 10:29:17 +08:00
mysterywolf
237a71de27
修复common文件夹,该文件夹为armlibc/newlib/dlib的共同文件的文件夹
2020-09-08 10:26:03 +08:00
mysterywolf
05190990b4
增加posix_getline.c/.h版权信息
2020-09-05 22:09:22 +08:00
mysterywolf
443978eb78
增加RT_USING_POSIX_GETLINE用于单独控制是否启用getline函数,并修改Kconfig增加对应选项
2020-09-05 19:47:34 +08:00
mysterywolf
f13014526c
[bug fix]对各个libc库的termios.h增加宏定义,以防止在termios函数没有定义时,将posix_termios.h头文件引入导致报错
2020-09-05 17:52:32 +08:00
mysterywolf
6eb62a3f9d
将unistd.c不再放在common中,分散到各个库中
2020-09-05 17:50:54 +08:00
mysterywolf
8a08be6b9e
[fix bugs]修改armlibc/sys/types.h 该文件中不能用rt_数据类型,否则会引起编译器递归编译
2020-09-05 17:41:54 +08:00
mysterywolf
d5d8b345f4
修改libc_signal.h 该文件中不能用rt_数据类型,否则会引起编译器递归编译
2020-09-05 16:59:53 +08:00
mysterywolf
74ab1551fd
add posix 2008 limit.h
2020-09-05 16:14:21 +08:00
mysterywolf
a41ebbb697
add posix functions getline/getdelim
2020-09-05 15:42:03 +08:00
mysterywolf
5721fa8990
Signed-off-by: mysterywolf
2020-09-02 10:33:37 +08:00
mysterywolf
a162640f89
Signed-off-by: mysterywolf
2020-09-02 10:25:52 +08:00
mysterywolf
837604553b
增加unistd.c文件
2020-09-02 10:22:47 +08:00
mysterywolf
9b470d448d
取消isatty函数在本文件中的实现,转移到其他文件中
2020-09-02 10:18:52 +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
Bernard Xiong
fe2e9e924e
[libc] fix 64bit issue for pthreads
2020-06-06 13:21:32 +08:00
Bernard Xiong
a4f1905b6d
[libc] Fix pthreads compiling issue with new newlib version
2020-06-06 13:20:58 +08:00
Cliff Chen
42f9de1b42
[dlmodule] Fix crash when dlmodule exit
...
Signed-off-by: Cliff Chen <cliff.chen@rock-chips.com>
2020-05-15 17:53:55 +08:00
bigmagic
3d29ac8953
remove redefinition 'mode_t'
2020-04-11 22:35:02 +08:00
roger
a3d6d47225
祛除了不必要的格式修改
2020-03-31 09:35:13 +08:00
roger
63a82cac47
在posix_termios.c中引用termios.h
2020-03-30 15:59:44 +08:00
roger
8601850a21
first commit
2020-03-30 15:21:58 +08:00
djndl1
48b9ab570f
make clock_time.h available to C++
2020-03-03 01:34:18 +08:00
tonyzheng-rockchip
1f5118f7dd
Add priority & stack_size param parsing for dlmodule
2020-01-03 14:31:38 +08:00
tonyzheng-rockchip
04c20bc8ed
Revert "Add priority & stack_size parameters for dlmodule custom"
...
This reverts commit f38b5a9f9f
.
2020-01-03 09:18:51 +08:00
tonyzheng-rockchip
f38b5a9f9f
Add priority & stack_size parameters for dlmodule custom
2020-01-02 08:54:48 +08:00
tonyzheng-rockchip
d910372010
Fix dlmodule must depends on file system issue
...
解决dlmodule只能依赖于文件系统的问题;
增加dlmodule扩展接口,以适应更多需求;
2019-12-27 14:27:31 +08:00
Bernard Xiong
b5e4aa58e0
[Kernel] Fix the signal compiling issue when using minilibc
2019-12-18 23:06:36 +08:00
qinpan1003
b838280d24
fix bug for pthread_create memory leak
2019-10-10 22:42:14 +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
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
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
aozima
e037d2e5f6
fixed _sys_read()/_sys_write() issues.
2013-11-24 23:11:17 +08:00
Bernard Xiong
2bcb9edd91
Add gettimeofday declaration in sys/time.h
2013-09-08 15:01:29 +08:00
user
06c6630bbf
fix compiling warning in finsh shell
2013-04-04 14:12:35 -04:00
Bernard Xiong
7890ee5d45
add libc in link when enable RT_USING_NEWLIB
2013-03-23 07:51:29 +08:00
Grissiom
9168e18e5c
newlib: use the LIBS argument in DefineGroup instead of modifying the Env
2013-01-13 09:48:37 +08:00
Grissiom
8ad12057c4
Newlib: link with libm in default.
...
libm is a frequently used lib. Newlib is compiled with
-ffunction-sections in recent GCC tool chains. The linker would just
link in the functions that have been referenced. So setting this won't
result in bigger text size.
2013-01-11 15:13:11 +08:00
Grissiom
3ef523714f
remove math code for newlib
...
Newlib already have optimized and full featured math implementation. To
use it, one should add:
env['LIBS'] = ['m']
or equivalent to the SConstruct.
2013-01-10 14:58:07 +08:00
Grissiom
1bb22a0a0b
fix math.h
...
Declare sin/cos and M_PI in math.h.
2013-01-09 21:37:41 +08:00
Ming, Bai
b4de7cce57
Re-normalizing the repo
2013-01-08 22:40:58 +08:00
dzzxzz@gmail.com
405977d3ca
fixed a compiling error while defining RTT_USING_PPP and using minilibc
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2474 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-11 02:05:22 +00:00
bernard.xiong@gmail.com
0405b647f7
fix preprocessor mistake.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2445 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-24 08:02:56 +00:00
bernard.xiong@gmail.com
6698e69fc8
Add exit function when exit from a module.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2437 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-23 06:36:58 +00:00
xiongyihui3@gmail.com
b820365317
add header dfs_posix.h to avoid warnings
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2436 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-23 03:46:05 +00:00
xiongyihui3@gmail.com
9fb62a5ff1
fix name of SConscript, add description to stubs.c and mem_std.c
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2435 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-23 03:26:09 +00:00
xiongyihui3@gmail.com
74bf69110e
add support of arm standard c library, support using armcc to compile lua
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2429 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-22 03:39:22 +00:00
xiongyihui3@gmail.com
e578007856
modified _write_r(), use CONSOLE to output stdout and stderr
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2411 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-13 15:30:31 +00:00
xiongyihui3@gmail.com
d48ef70ecd
In stm32fx's stm32_rom.ld, add symbol - '_stext' to support lua a. Update lua's README.TXT
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2410 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-13 15:21:01 +00:00
bernard.xiong@gmail.com
e6942f9a09
Add more errno definitions.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2401 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-12 02:08:27 +00:00
sc943313837@gmail.com
7f2731c666
removing gettimeofday in mktime that would cause nested call
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2331 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-09 15:31:28 +00:00
dzzxzz@gmail.com
06165b8290
fixed a compiling error of mini2440 project
...
defined O_BINARY in newlib/sys/fcntl.h
#define O_BINARY 0x0008000
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2328 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-09 02:35:49 +00:00
qiuyiuestc@gmail.com
70cee4b82e
add atol and isspace to minilibc.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2218 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-12 22:42:06 +00:00
bernard.xiong@gmail.com
c1ad7c8f69
Add more type definitions for POSIX thread.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2203 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-06 11:19:16 +00:00
dzzxzz@gmail.com
d402cfea19
fixed compiling error in stm32f0x
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2197 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-30 01:52:48 +00:00
bernard.xiong@gmail.com
1f6e13d1da
add int64_t and uint64_t definitions.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1956 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-17 16:31:25 +00:00
bernard.xiong@gmail.com
db2ceea2ce
remove the dependence of device file system when enable newlib.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1955 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-17 16:26:49 +00:00
bernard.xiong@gmail.com
50b5e18dce
fixed newlib building script error.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1748 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-10 12:45:38 +00:00
bernard.xiong@gmail.com
73a117039f
add newlib compiler depend
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1742 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-08 13:02:22 +00:00
bernard.xiong@gmail.com
a4efc927e2
remove errno in minilibc
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1686 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-01 06:24:05 +00:00
onelife.real
e74ca7fc9f
minilibc:
...
Fix a bug in time functions
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1520 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-17 03:24:04 +00:00
bernard.xiong@gmail.com
b2c7d265f2
add malloc, realloc etc implementation in minilibc.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1452 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-04 13:34:02 +00:00
qiuyiuestc@gmail.com
18476d9737
add more math function
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1420 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-05-21 07:34:02 +00:00
qiuyiuestc@gmail.com
ea009132a2
modify micro definition of file Operation flags
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1383 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-04-20 15:09:28 +00:00
bernard.xiong
79696e8649
fix _gettimeofday_r issue.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1325 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-03-10 10:30:51 +00:00
bernard.xiong
54228a0518
porting pthread to ARMCC compiler;
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1286 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-02-21 08:26:35 +00:00
bernard.xiong
48738e864f
set ENOMEM when malloc failed.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1156 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-30 06:58:37 +00:00
bernard.xiong@gmail.com
7a80d831c9
update doxygen comments.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1132 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-29 00:04:55 +00:00
bernard.xiong
f67eb617f5
add pthread initialization in libc_system_init.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1107 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-24 11:04:08 +00:00
bernard.xiong@gmail.com
c5c956a818
rewrite gettimeofday in minilibc.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1096 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-22 23:58:21 +00:00
bernard.xiong
cb72c44e5a
add time related function.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1090 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-22 09:51:40 +00:00
bernard.xiong@gmail.com
d57496b78c
add time related function.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1082 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-21 23:55:44 +00:00
bernard.xiong@gmail.com
03951e4e38
add RT_USING_MINILIBC definition in minilibc component.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1079 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-21 15:19:42 +00:00
bernard.xiong@gmail.com
71f3490515
add missed SConscript file.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1076 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-21 01:23:09 +00:00
bernard.xiong@gmail.com
10732a76e9
cleanup scons building script
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1065 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-20 12:31:00 +00:00
bernard.xiong@gmail.com
5c148b6705
remove newlib test code.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1055 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-17 23:34:45 +00:00
bernard.xiong@gmail.com
dda2cd7254
fix the compiling error.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1040 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-06 04:13:21 +00:00
bernard.xiong@gmail.com
d3caad90c9
add qsort implementation.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1036 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-10-31 22:22:28 +00:00
bernard.xiong
0486182353
add stdin, stdout, stderr implementation in newlib.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1031 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-10-29 05:57:19 +00:00
bernard.xiong
a6f06d24cf
add stdin, stdout, stderr implementation in newlib.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1029 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-10-22 10:20:38 +00:00
qiuyiuestc
e98032b284
implement sin and cos function
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1019 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-10-19 09:15:38 +00:00
bernard.xiong
b4a98e4457
Improve the Device File System of the POSIX compatibility
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1015 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-10-19 08:18:24 +00:00
bernard.xiong@gmail.com
0395886e11
add rand function in minilibc.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1011 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-10-15 23:31:11 +00:00
qiuyiuestc
af13fb6835
add sin, cos implementation
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@949 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-09-25 16:37:31 +00:00
bernard.xiong@gmail.com
b9fcbfc344
fix timegm function issue.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@817 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-07-29 21:02:50 +00:00
bernard.xiong
b5fbf220b3
add newlib stub building script.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@702 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-05-11 09:51:43 +00:00
bernard.xiong
c2b29a3e31
add more stubs.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@674 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-27 07:53:41 +00:00
bernard.xiong
c92a342559
add RT_USING_MINILIBC in building script.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@670 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-26 10:29:55 +00:00
bernard.xiong
914e281892
add more stub for newlib porting.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@669 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-26 10:21:24 +00:00
bernard.xiong
5562ddf77a
add group script support.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@641 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-18 15:27:13 +00:00
bernard.xiong
6f3e01a9c5
move to components directory
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@636 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-18 15:03:27 +00:00
bernard.xiong
01149ddd0e
add newlib directory
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@594 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-09 09:38:09 +00:00