Man, Jianting (Meco)
8b58577230
[ulog][rtc][time][bug] solve the interference when enable the ulog timestamp ( #5687 )
...
* [ulog] 解决ulog开启时间戳后与libc time以及rtc驱动相关函数干涉的问题
* ulog:当发生递归输出时,后续递归想要输出的内容可能会因为防范递归的判断而无法输出
因此修改输出规则,在发生递归时,采用简单的,无格式的方式直接输出。这样既保证不会发生递归输出,也可以保证递归输出的部分可以正常输出。
* [ulog] size_t->rt_size_t NULL->RT_NULL
2022-03-21 14:06:17 +08:00
liuxianliang
11d83225d6
[remove] useless variable.
2022-01-24 14:42:22 +08:00
xiangxistu
075e04e344
the support for PSE51 ( #5534 )
...
* [add] the function realization of signal for posix.
* [update] the posix support for armclang.
* [add] the new macro "RT_USING_POSIX_TIMER".
* [modify] select "RT_USING_SOFT_TIMER" when use posix'timer.
* [bug] optimize the logic for the "time_xxx" functions.
* [modify] use "RT_USING_POSIX_TIMER" to protect the macro definition.
* [modify] error code when except happened.
* [delete] the "environ" is useless at this time.
2022-01-20 20:53:47 +08:00
Meco Man
add72f1d7c
[dfs][posix] add creat()
2022-01-20 20:50:24 +08:00
Man, Jianting (Meco)
c3162f373f
[libc][lwip] 修复ioctl与lwip socket定义冲突的问题 ( #5504 )
...
* [lwip] 修复ioctl与lwip socket定义冲突的问题
* format sys/ioctl.h
2022-01-17 11:21:39 +08:00
Meco Man
76cab376ad
[libc] 调整文件结构
2022-01-17 11:18:09 +08:00
Meco Man
8213bbd92e
update
2022-01-14 23:09:32 +08:00
liukangcc
3d2e23ec1c
[update] move dfs_posix.h to legacy/dfs/dfs_posix.h
2022-01-14 23:09:32 +08:00
Man, Jianting (Meco)
bb1084556f
[console] 解决在没有定义RT_USING_DEVICE的情况下使用device报错的问题
...
* [console] 解决在没有定义RT_USING_DEVICE的情况下使用device报错的问题
* format codes
* [libc] 整理格式
* refresh projects
2022-01-09 00:20:32 +08:00
Meco Man
29c19f7ffd
[libc] 优化nanosleep函数
2022-01-08 15:46:52 +08:00
Meco Man
8565fe2448
[simulator] 消除vs下的警告
2022-01-08 15:46:52 +08:00
Meco Man
e6fd3ffcd9
[libc]修理一些细节问题
2022-01-05 23:12:41 +08:00
Meco Man
918ee6147c
add RT_USING_POSIX_STDIO
2022-01-05 23:11:58 +08:00
Meco Man
ee93914d78
[libc] 处理在win32平台下的编译问题
2022-01-03 13:33:03 -05:00
Meco Man
85276f4535
[libc] 删除compiler_private.c文件
2021-12-30 01:27:25 +08:00
Meco Man
c8dcf7cc68
[libc]rename group name
2021-12-30 01:27:25 +08:00
Meco Man
ed09f38012
[libc] remove RT_USING_LIBC
2021-12-30 01:27:25 +08:00
Meco Man
29b73ecb6f
[newlib] 处理newlib版本不一致导致的问题
2021-12-29 12:10:02 +08:00
Man, Jianting (Meco)
ed1f8b3f64
Revert "add clang-arm support."
...
This reverts commit a5f6fdc780
.
2021-12-22 18:57:16 -05:00
guozhanxin
acc62c1e3d
【修复】armclang cpp11 内存泄漏及编译警告问题
2021-12-22 13:04:35 +08:00
guozhanxin
a5f6fdc780
add clang-arm support.
2021-12-22 13:03:05 +08:00
Man, Jianting (Meco)
6369e89502
[posix] POSIX standard implementation for PSE51 ( #5384 )
...
* [posix] POSIX standard implementation for PSE51
- add some posix's interfaces that we haven't before.
- these PR have passed the interface definition test across gcc platfrom;
- have tested base on qemu-a9 and stm32h750-art-pi.
* [newlib] only enable POSIX.1-1990
* update projects
2021-12-17 15:34:17 +08:00
Meco Man
15435b6850
[posix][mmap] create the mman folder
2021-12-14 06:12:04 +08:00
Meco Man
67e14adc4f
[posix] 按照高级unix环境编程整理IO类别
2021-12-05 23:07:41 -05:00
Meco Man
7973ede5a8
增加RT_USING_POSIX_FS
2021-11-29 00:53:46 -05:00
Meco Man
7c789d4b11
revise some RT_USING_POSIX to RT_USING_POSIX_DEVIO
2021-11-24 09:47:55 -05:00
Meco Man
09666e6b99
[libc] 修复在fcntl.h中两种不同的宏编码方式导致的bug
2021-11-10 17:16:33 -05:00
Meco Man
3c232125db
[bsp][simulator] update project
2021-10-29 09:59:45 -04:00
Meco Man
7b43cf9793
[libc][posix] move libc.c/.h to posix folder
2021-10-28 02:54:45 -04:00
Meco Man
a9910a780e
[posix][libc] 优化libc中posix结构
2021-10-26 23:09:54 -04:00
guo
50bb6e33d1
Merge pull request #5212 from mysterywolf/posix
...
[posix][dfs] move dfs_posix dfs_poll dfs_select.c to posix folder
2021-10-26 09:37:43 +08:00
Meco Man
7f619606a1
[stm32l475] improve the structrue of sconscript
2021-10-24 16:21:21 -04:00
Meco Man
f7548b934e
[posix][dfs] move dfs_posix dfs_poll dfs_select.c to posix folder
2021-10-21 19:05:53 -04:00
Meco Man
396b7da6fd
[libc][time] Ensure the data types are consistent
2021-10-13 23:24:17 -04:00
Meco Man
8f6260146c
[libc][win32] improve win32 support
2021-10-13 15:29:01 -04:00
armink
75e0ec124f
[components][time] Revert the old code.
2021-09-29 18:19:13 +08:00
armink
ff0b6d241b
[DeviceDriver][RTC] Remove RT_DEVICE_CTRL_RTC_GET_TIME_US and RT_DEVICE_CTRL_RTC_SET_TIME_US. Add RT_DEVICE_CTRL_RTC_GET_TIMEVAL and RT_DEVICE_CTRL_RTC_SET_TIMEVAL. The RT_DEVICE_CTRL_RTC_GET_TIMEVAL cmd can get second time and microsecond time.
2021-09-29 17:12:27 +08:00
Meco Man
c80688126a
[libc] 优化system 支持gcc
2021-09-27 22:20:21 -04:00
Meco Jianting Man
ebdf19bf0f
Merge branch 'RT-Thread:master' into part
2021-09-27 21:12:08 -05:00
Meco Man
8b17d53da7
[libc]新建gcc文件夹,将newlib和partical文件夹并入
2021-09-27 16:40:12 -04:00
Meco Man
54e30edd88
[libc] 支持system函数
2021-09-27 16:12:37 -04:00
guo
4c1c946ba3
Merge pull request #5068 from liukangcc/time
...
[update] enable asctime_r function parameter legal.
2021-09-27 21:37:36 +08:00
Meco Man
a74b0ae388
[libc][time]优化警告输出内容
2021-09-27 07:40:24 -04:00
liukangcc
169b09004e
[update] asctime_r return value.
2021-09-27 14:26:06 +08:00
Meco Man
d60c968902
[libc] 优化fcntl.h定义
2021-09-24 23:41:09 -04:00
Meco Man
71f48266ff
[libc][time] 修复数据类型报警
2021-09-18 16:46:53 -04:00
liukangcc
b51602b1db
[update] Add a blank line at the end
2021-09-18 09:57:35 +08:00
liukangcc
c447018c40
Merge remote-tracking branch 'remotes/rtt_github/master'
2021-09-17 15:12:52 +08:00
liukangcc
4b3df6010f
Merge remote-tracking branch 'remotes/rtt_github/master'
2021-09-17 15:03:14 +08:00
liukangcc
f07507a913
[update] Conflicting files
2021-09-17 14:58:15 +08:00
liukangcc
a3541b2a24
[update] support armclang and c++11.
2021-09-16 09:51:33 +08:00
Meco Man
9f55c88ddd
刷新龙芯工程
2021-09-15 11:50:53 -04:00
Meco Man
5c058b624f
[libc] 增加sys/select.h到partical/ls1
2021-09-15 11:12:21 -04:00
liukangcc
2adfbcaeca
[update] enable asctime_r function parameter legal.
2021-09-15 14:19:26 +08:00
Meco Man
a3dfdadb78
增加parical/ls1文件夹readme
2021-09-14 23:02:17 -04:00
Meco Man
42e61f7a63
[libc]解决龙芯内置工具链没有sys/select.h的问题
2021-09-14 22:46:06 -04:00
Meco Man
aa8a493c3c
move select.h to none-gcc
2021-09-14 20:49:44 -04:00
Meco Man
dc5ee9ade7
[libc标准化] 将dfs_select.h功能转移到sys/select.h
2021-09-13 13:08:03 -04:00
guo
160d448660
Merge pull request #5051 from mysterywolf/be_libc
...
[libc标准化] 使用标准poll.h代替dfs_poll.h
2021-09-13 10:45:09 +08:00
Meco Man
c48445a5f7
[标准化libc] fix CI warning
2021-09-11 18:33:46 -04:00
Meco Man
2c525ecd43
将dfs_posix.h的函数声明转移到unix标准头文件中
2021-09-11 15:42:37 -04:00
Meco Man
c360688714
使用poll.h代替dfs_poll.h
2021-09-11 11:56:54 -04:00
Meco Man
92c62a8fab
标准化<poll.h> 弱化<dfs_poll.h>
2021-09-11 11:25:43 -04:00
Bernard Xiong
8da9f78d72
[libc] remove rtlibc
2021-09-11 11:07:51 +08:00
Meco Man
dd9db58a86
优化dfs.h和dirent.h的包含关系
2021-09-01 09:28:16 -04:00
Meco Man
aab382c32e
[rtlibc] remove libc_dirent.h
2021-08-30 22:39:14 -04:00
Meco Jianting Man
2589d24532
Merge branch 'master' into tz
2021-07-30 10:43:19 -05:00
Bernard Xiong
56d3abe301
Merge pull request #4879 from mysterywolf/signal
...
[rtlibc] remove libc_signal.h and libc_fdset.h
2021-07-30 23:30:49 +08:00
Meco Man
19c5088bb8
[libc][time] 修复posix相关函数没有进行临界区保护的问题
2021-07-23 17:17:31 +08:00
Meco Man
4ce6b2f5de
[libc][time] 对posix相关函数 获取时间结果的判断逻辑做出调整
2021-07-22 01:30:24 +08:00
Meco Man
62ff77d493
[libc][time] 重命名非标准libc函数 并 调整time.h定义位置
2021-07-22 01:08:30 +08:00
Meco Man
fc094e9211
[rtlibc] remove libc_signal.h and libc_fdset.h
2021-07-21 19:42:38 +08:00
Meco Man
0f48449b5e
[timezone] implement timezone
2021-07-21 14:47:57 +08:00
guozhanxin
40e7d5a23d
Merge remote-tracking branch 'remotes/gitee/master'
2021-07-12 10:14:20 +08:00
iysheng
a2a7f3c2d9
[components][rtc] Add RTC framework V2.0 to simplify RTC registration process
2021-07-08 22:41:06 +08:00
guo
6f1a505cd2
Merge pull request #4801 from mysterywolf/delay2
...
implement delay.c/.h
2021-06-21 17:14:05 +08:00
Meco Man
56e3571e8a
implement delay.c/.h
2021-06-16 14:15:31 +08:00
Meco Man
6697fa0ff5
[sleep] 加入调度器尚未运行时的延时情况
2021-06-16 12:16:11 +08:00
Bernard Xiong
ac50f5193e
Merge pull request #4792 from mysterywolf/ioctl
...
[libc][rtlibc] remove libc_ioctl.h
2021-06-16 09:46:06 +08:00
guozhanxin
66b7289ee7
[update] usleep supports calling in interrupts.
2021-06-15 18:37:39 +08:00
Meco Man
5bb6e86cf5
[sys/errno.h] 修复armclang支持问题
2021-06-13 17:27:16 +08:00
Meco Jianting Man
4fd4074617
Merge branch 'RT-Thread:master' into ioctl
2021-06-13 16:19:59 +08:00
Meco Man
740a810274
[errno][libc] 解决sys头文件在libc未开启时的引入问题
2021-06-12 18:11:51 +08:00
Meco Man
0e32728a5d
[libc][rtlibc] remove libc_ioctl.h
2021-05-23 00:17:08 +08:00
Meco Man
b10bef6f24
[sys/errno.h] 修复lwip报错
2021-05-22 03:20:01 +08:00
Meco Man
a5f7635f31
remove libc_errno.h & libc_limits.h
2021-05-22 02:50:35 +08:00
Meco Man
d9abe8fa30
修复在simulator win32平台下,nonegcc文件夹路径没有添加到工程的bug
2021-05-15 21:27:31 +08:00
Meco Man
8fee8d2c8c
remove const in set_timeval
2021-05-03 09:17:46 +08:00
Meco Man
1a55702ccb
修复DST_NONE 等宏定义位置放错导致报错的问题
2021-05-02 09:38:41 +08:00
Meco Man
3f74758f31
将<sys/time>改为"sys/time.h"
2021-05-02 09:29:46 +08:00
Meco Man
8ec1a63b23
增加tz_dsttime类型定义
2021-05-02 09:24:41 +08:00
Meco Man
47de526525
精简settimeofday代码;
...
在Linux中settimeofday以及gettimeofday函数的时区功能已经被废弃,因此增加注释予以提示。
gettimeofday实现了tz_minuteswest功能,tz_dsttime功能未实现,按废弃处理;
settimeofday时区功能废弃。
2021-05-01 16:22:27 +08:00
Meco Man
6fa385b987
[time] 补充注释
2021-05-01 14:23:50 +08:00
Meco Man
f4015029d2
gettimeofday()函数支持时区;规范set_timeval/get_timeval函数返回值
2021-05-01 14:18:46 +08:00
Bernard Xiong
be3b5a950f
Merge pull request #4653 from mysterywolf/fixed-timezone
...
[libc][time]增加手动设置固定时区的功能
2021-05-01 10:58:24 +08:00
Bernard Xiong
beb2f046c4
Merge pull request #4649 from mysterywolf/libc2
...
[libc][time] remove _TIMESPEC_DEFINED in common/sys/time.h and complete time.c
2021-05-01 10:58:10 +08:00
Meco Man
a611a66864
精简代码
2021-05-01 06:08:14 +08:00
Meco Man
65984a7116
add comment
2021-05-01 06:06:03 +08:00
Meco Man
0aa3b80fc3
在time.c中增加RT_LIBC_FIXED_TIMEZONE默认值,防止有些工程没有配置RT_LIBC_FIXED_TIMEZONE
2021-05-01 06:03:46 +08:00
Meco Man
a7a3ca9f02
增加手动设置时区的功能
2021-05-01 05:52:55 +08:00
Meco Jianting Man
1627597fcc
remove _TIMESPEC_DEFINED
2021-04-29 04:42:11 +08:00
Meco Jianting Man
82f2d8e53d
time.c 删除函数名与括号之间的空格
2021-04-29 00:21:10 +08:00
Meco Man
850e1aeb52
[libc][time] 细微调整time.c
2021-04-28 13:03:43 +08:00
Meco Man
cb7fa8fcea
implement pid_t gettid(void)
2021-04-26 14:34:26 +08:00
Meco Man
19347ed454
[libc][unistd] 完善isatty()
2021-04-26 14:31:31 +08:00
Meco Man
ae66d82624
update sconscript
2021-04-25 21:32:08 +08:00
Meco Man
f9ba41f4c2
更改libc目录为common 以及 none-gcc
2021-04-25 21:10:31 +08:00
Meco Man
c871726e89
update readme
2021-04-21 02:16:29 +08:00
Meco Man
40c09fc1e0
重新分类为common文件夹下属all文件夹和excgcc文件夹
2021-04-21 00:56:36 +08:00
Meco Man
9d401ea8b0
重新整理libc重复共用文件,创建common_for_all 和 common_for_keiliar
2021-04-18 00:51:07 +08:00
Meco Man
46d51a99f1
优化get_timeval set_timeval 条件编译代码结构
2021-04-15 16:34:09 +08:00
Meco Man
b74022e2c4
mktime support fixed timezone
2021-04-15 14:31:23 +08:00
Meco Man
8e2a456d7a
implement set_timeval
2021-04-15 14:01:55 +08:00
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
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 Man
09c5420d21
[libc][time][bug] 修复ARM6报错的问题
2021-03-09 17:51:35 +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
2bf53d315d
Merge pull request #4369 from mysterywolf/removeminilibc
...
[libc]移除minilibc 并将其职能并入newlibc中
2021-02-27 09:12:45 +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
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
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
eaa3454bbe
优化abort函数
2021-02-20 11:31:58 +08:00
Meco Man
263d856fa4
update
2021-02-17 23:50:12 +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
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
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