356 Commits

Author SHA1 Message Date
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