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