summaryrefslogtreecommitdiff
path: root/components/libc/compilers
AgeCommit message (Collapse)Author
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
2022-07-01Revert "解决将RT_NULL当做数字0使用的问题"Meco Man
This reverts commit 6a05ddf63d1202456a37e970e5a9ab58370ed093.
2022-07-01解决将RT_NULL当做数字0使用的问题Meco Man
2022-07-01[iar] 修复编译错误 (#6126)Man, Jianting (Meco)
2022-06-23[libc][newlib] format (#6104)Man, Jianting (Meco)
2022-06-22fix the error return (#6097)Man, Jianting (Meco)
2022-06-19[libc] implement extension standard C functions (#6044)Man, Jianting (Meco)
* implement extension standard C functions
2022-06-09[scons][iar] 将IAR的PLATFORM字段由iar调整为iccarmMeco Man
将路径更新为IAR最新版本的路径
2022-06-09[Scons][iar][iccarm] ↵Meco Man
IAR统一使用iccarm作为判断条件而不是是用IDE的名字来进行判断 因为不确定后续IAR是否会像Keil一样内含有不同的编译工具链 此外,将判断条件改为列表方式,这样更方便后续增加其他可能的IAR编译链
2022-06-09[Scons] ↵Meco Man
将GCC判断条件改为列表方式,方便后续增加新的编译工具链
2022-06-08[libc][time] solve the problem which the os tick can be calculated wrongly ↵chunyexixiaoyu
because the local variable was not initialized.
2022-06-05[libc][time] Fix clock_gettime for CLOCK_CPUTIME_ID (#6029)gbcwbz
2022-06-04[libc] remove strdup from rtthread.h (#6026)Man, Jianting (Meco)
add __STDC_LIMIT_MACROS macro in Keil add RT_USING_LIBC in simulator add _DLIB_ADD_EXTRA_SYMBOLS=0 in IAR
2022-05-25[libc] revert back difftimeMeco Man
2022-05-19[rtdef][libc] solve the conflicts between libc data types and rtdef data ↵Man, Jianting (Meco)
types (#5961)
2022-05-18[modify] the recycle logic about resource of pthread.liuxianliang
2022-05-16[sal] add draft for docking winsockMeco Man
2022-05-16[simulator] avoid conflicts between winsock.h and sys/time.hMeco Man