summaryrefslogtreecommitdiff
path: root/components/libc/compilers
AgeCommit message (Collapse)Author
2023-06-14[components][time.h]Fixed undefined macro TIMER_ABSTIMEyangjie11
2023-06-13[libc][ctime] move null pointer check before dereferenceMingjie Shen
This null check was redundant because the pointer timep was dereferenced in any case.
2023-06-10[dfs] Add DFS v2.0 (#7606)Bernard Xiong
2023-06-07[simulator] 修复 linux simulator 编译运行失败zhkag
2023-05-31[ctime]解决clock_gettime计算出来的nsec超过1sec的问题goldengrandpa
2023-05-27[libc] picolibc support heap. (#7571)guo
2023-05-17[add] llvm-arm workflowsguozhanxin
2023-05-17support llvm-arm 16.0guozhanxin
2023-05-05[libc] redirecting header sys/ioctl to bits/ioctlzhkag
2023-04-30[libc] support external third pary libc software package (#7425)Man, Jianting (Meco)
2023-04-22🎈 perf(components/libc/compilers/common/ctime.c): if define cputime, then ↵xqyjlj
CLOCK_REALTIME use cputime (#7343)
2023-04-13🐞 fix(components/drivers): fix cpu timer in multithreading (#7222)xqyjlj
* 🐞 fix(components/drivers): fix cpu timer in multithreading * 🎈 perf(components): change double to uint64_t * 🎈 perf(components): add UL suffix
2023-04-04[kernel] 将rt_thread结构体改为显式继承rt_object (#7131)Shicheng Chu
2023-03-30[libc][ctime] stime clear tv.tv_usec as zeroLei Peng
when using stime set rtc time, tv.tv_usec not 0,but always is 0xdeadbeef, make set time error
2023-03-31✨ feat(components): add statfs, statfs64, fstatfs, fstatfs64 supportxqyjlj
2023-03-31✨ feat(components): add uname supportxqyjlj
2023-02-27fixed ctime timer_delete timerid parameter check. (#6977)geniusgogo
* fixed ctime timer_delete timerid parameter check.
2023-02-21[fix] typowangxiaoyao
2023-02-21[libc] including musl signal.h with _POSIX_SOURCEwangxiaoyao
2023-02-15Improve timer accuracy and realize (#6926)zhkag
* add cputimer frame * add cputime sleep * ctime use cputime * Processing cputime has no timeout function * Migration cputime Code * formatting file * 整理代码 * add document copyright information * 改 cputime_timer 为 cputimer * 简化 _cputimer_list 初始化 * rt_cputimer_create -> rt_cputimer_init * Remove RT_USING_CPUTIME and code cleanup. * Remove RT_USING_CPUTIME in cputimer.c * Set set_next_timeout as static function. --------- Co-authored-by: Bernard Xiong <[email protected]>
2023-02-13[ci] fix build error.guozhanxin
2023-02-09修复编译警告zhkag
2023-02-07修复纳秒微妙混用转换错误zhkag
2023-02-07移除无用代码zhkag
2023-02-07add timer lockzhkag
2023-02-07update timerzhkag
2023-01-10fix cputime and ctime.xieyangrun
2023-01-04Update signal.hMan, Jianting (Meco)
2023-01-04[libc] redirecting header sys/signal to signalwangxiaoyao
2023-01-02[libc][unistd.h] define F_OKMeco Man
2022-12-29[libc][time] 修正POSIX 时间相关函数返回值错误Meco Man
2022-12-29[BSP][smart] fix link script for smart in vexpress-a9 (#6764)Bernard Xiong
2022-12-18[components][libc] ↵Yaochenger
在rv32下编译时cstring.c中的strtok_r函数与libc.a中的strtok_r重定义,添加rt_weak
2022-12-16[rt-smart] 弱化 RT_USING_LWP,使用 RT_USING_SMART 作为宏配置 (#6740)guo
* [dfs] sync cromfs * [rt-smart]Weaken RT_USING_LWP, use RT_USING_SMART as macro configuration * [format] fix some format issue.
2022-12-11[rtdef] use lower-case to define attributes (#6728)Man, Jianting (Meco)
* [rtdef] rename RT_WEAK attribute as rt_weak * [rtdef] rename RT_USED attribute as rt_used * [rtdef] rename RT_SECTION attribute as rt_section * [rtdef] rename ALIGN attribute as rt_align * [legacy] add RT_USED ALIGN RT_SECTION RT_WEAK as legacy support
2022-12-08[rt-smart]同步 gitee nanosleep 修复 (#6710)zhkag
2022-12-03sync branch rt-smart. (#6641)guo
* Synchronize the code of the rt mart branch to the master branch. * TTY device * Add lwP code from rt-smart * Add vnode in DFS, but DFS will be re-write for rt-smart * There are three libcpu for rt-smart: * arm/cortex-a, arm/aarch64 * riscv64 Co-authored-by: Rbb666 <[email protected]> Co-authored-by: zhkag <[email protected]>
2022-11-24[armlibc] 修复AC6更新至6.19后_sys_tmpnam()函数编译报错 (#6647)wdfk-prog
* [armlibc] 修复AC6更新至6.19后_sys_tmpnam()函数编译报错 Co-authored-by: Man, Jianting (Meco) <[email protected]>
2022-11-22[libc][musl]解决signal.h报错的问题Meco Man
2022-11-22[libc][musl] support arm-linux-musleabi toolchainMan, Jianting (Meco)
目前基本功能已经可以在QEMU上跑起来,但是pthread和内核signal选中会报冲突。先合并一版本,后续解决这些问题。
2022-10-28[libc][time] ↵Meco Man
解决部分编译平台CLOCKS_PER_SEC无法被重新定义的问题
2022-10-25[compiler] 增加SConscript依赖标志 AddDepend (#6534)Man, Jianting (Meco)
* [compiler] 增加SConscript依赖标志 AddDepend * RT_USING_NEWLIB->RT_USING_NEWLIBC RT_USING_ARM_LIBC->RT_USING_ARMLIBC * 删除过时的板载测试例程 * [gd32] 移除无用的反汇编文件 * [bsp]移除老旧bsp中对RT_USING_NEWLIBC的手动宏定义
2022-09-20[fix] Fix simulator compilation warnings (#6438)Tangyuxin
* [fix] Fix simulator compilation warnings * Update bsp/simulator/rtconfig_project.h Co-authored-by: Man, Jianting (Meco) <[email protected]>
2022-09-16[kernel] add rt_ssize_t data structureMeco Man
2022-08-17[armlibc] solve the compiling errorMeco Man
report in #6300
2022-08-16该问题在Keil-MDK中没有一个太好的解决方案。本PR为权衡利 ↵Meco Man
弊之后得到的一套解决方案。Keil曾经提供了底层桩函数_sys_ensure,但是目前已经被废弃。因此唯一的解决方案就是每写完一句,就调用fsync去同步一次。 该问题在mbedos社区也进行过讨论,他们也面临和我们相同的两个问题: 1. Keil-MDK无有效的fflush解决方案,mbedos依然在使用淘汰的_sys_ensure桩函数。 2. Keil-MDK没有fileno函数,我方少部分软件包因此而无法使用Keil平台编译。 参考:https://github.com/ARMmbed/mbed-os/issues/1601 issue: https://github.com/RT-Thread/rt-thread/issues/4928 经过进一步测试发现,Keil-MDK中的fflush函数已经退化成服务于STDOUT的函数,Keil-MDK内部有一个buffer可以存放fputc(stdout) 发过来的数据,如果调用fflush,这些数据是可以flush出去的。但是如果是真正的文件数据,fflush函数并没有提供任何桩函数接口可以让文件flush数据出去。
2022-08-08[exit] 修复_exit函数条件分支未覆盖所有情况的问题 (#6239)Man, Jianting (Meco)
attach #6229
2022-08-07[fix] the risk for function exit() when open pthread support. (#6229)xiangxistu
* [fix] the risk for function exit() when open pthread support. * [update] modify annotation from "user data" to "pthread_data".
2022-07-27使用 AStyle.exe 统一代码格式Aligagago
2022-07-20[libc] 修复difftime函数在IAR下的编译错误Meco Man