summaryrefslogtreecommitdiff
path: root/components/libc/compilers
AgeCommit message (Collapse)Author
2026-04-30添加 vdso readtime 更新逻辑rcitach
2026-01-31[components][clock_time] Refactor time subsystem around clock_time (#11111)Bernard Xiong
* [components][clock_time] Refactor time subsystem around clock_time Introduce the clock_time core with clock source/event separation, high-resolution scheduling, and boot-time helpers, plus clock_timer adapters for timer peripherals. Remove legacy ktime/cputime/hwtimer implementations and migrate arch and BSP time paths to the new subsystem while keeping POSIX time integration functional. Update drivers, Kconfig/SConscript wiring, documentation, and tests; add clock_time overview docs and align naming to clock_boottime/clock_hrtimer/clock_timer. * [components][clock_time] Use BSP-provided clock timer frequency on riscv64 * [risc-v] Use runtime clock timer frequency for tick and delays * [bsp] Add clock timer frequency hooks for riscv64 boards * [bsp] Update Renesas RA driver doc clock_timer link * [bsp] Sync zynqmp-r5-axu4ev rtconfig after config refresh * [bsp][rk3500] Update rk3500 clock configuration * [bsp][hpmicro] Add rt_hw_us_delay hook and update board delays * [bsp][stm32l496-st-nucleo] enable clock_time for hwtimer sample in ci * [bsp][hpmicro] Fix rtconfig include scope for hpm6750evk Move rtconfig.h include outside the ENET_MULTIPLE_PORT guard for hpm6750evk and hpm6750evk2 so configuration macros are available regardless of ENET settings. * [bsp][raspi3] select clock time for systimer * [bsp][hpm5300evk] Trim trailing blank line * [bsp][hpm5301evklite] Trim trailing blank line * [bsp][hpm5e00evk] Trim trailing blank line * [bsp][hpm6200evk] Trim trailing blank line * [bsp][hpm6300evk] Trim trailing blank line * [bsp][hpm6750evk] Trim trailing blank line * [bsp][hpm6750evk2] Trim trailing blank line * [bsp][hpm6750evkmini] Trim trailing blank line * [bsp][hpm6800evk] Trim trailing blank line * [bsp][hpm6e00evk] Trim trailing blank line * [bsp][nxp] switch lpc178x to gcc and remove mcx timer source * [bsp][stm32] fix the CONFIG_RT_USING_CLOCK_TIME issue. * [docs][clock_time] add clock time documentation * [docs][clock_time] Update clock time subsystem documentation - Update device driver index to use correct page reference - Clarify upper layer responsibilities in architecture overview - Update README to describe POSIX/libc, Soft RTC, and device driver usage - Refine architecture diagram with improved layout and color scheme - Remove obsolete clock_timer.md file * [kernel][utest] Trim trailing space * [clock_time] Fix hrtimer wrap handling * [clock_time] fix the static rt_inline issue * [clock_time] fix the rt_clock_hrtimer_control result issue
2026-01-17[fix] fix normalization issue of mktime and timegmmilo
2025-11-16Reorganize Group names in build system for clarity and IDE integration #10923Copilot
2025-11-07[libc][syscall] add detailed function comments for memory managementChengyangMa
2025-11-07[libc][syscalls] 新手PR任务_增加文件操作相关函数的文档注释Liu Changjie
2025-10-13compute ns with rt_int64_t instead of int64_t in ctime.cYonggang Luo
2025-07-14修复DFS_USING_POSIX启用时 修正IARVersion导入路径蒙蒙plus
2024-12-27[include] RT_USING_MUSLLIBC结构体报错的bug (#9834)godmial
解决了gd32470z-lckfb libc_dirent结构体报错的bug
2024-12-24[libc] uncomment wcwidth for win32Meco Man
2024-12-21[klibc] format codeMeco Man
2024-12-06[components] When rtc is not enabled, use other clock sources instead (#9747)wycwyhwyq
When rtc is not enabled, use other clock sources instead Signed-off-by: wycwyhwyq <[email protected]>
2024-11-17Modify the position of libc_rent definitionrcitachi
2024-11-01[libc] modify function names to resolve naming conflictsrcitachi
2024-09-03[libc] 修复 ctime()死机问题yandld
2024-08-12Add RT_USING_RTC conditional compilation protection in ctimer.cZ8MAN8
Analysis: There is still an omission in the preprocessing control of _control_rtc in 24b0a81 ("Add RT_USING_RTC conditional compilation protection in ctimer.c") Solution: Add RT_USING_RTC preprocessing control to missing _control_rtc Signed-off-by: Shicheng Chu <[email protected]>
2024-08-11Add RT_USING_RTC conditional compilation protection in ctimer.cZ8MAN8
Analysis: RT_USING_RTC preprocessing is used in 47cd52d ("修复不 使能 RT_USING_DEVICE 时编译报错") to control the reference of rtdevice.h, as well as the implementation and call of _control_rtc, but there are some omissions. Solution: Add RT_USING_RTC preprocessing control to missing _control_rtc Signed-off-by: Shicheng Chu <[email protected]> Reviewed-by: Chen Wang <[email protected]>
2024-08-04修复不使能 RT_USING_DEVICE 时编译报错 (#9145)马龙伟
* 修复不使能 RT_USING_DEVICE 时编译报错 * 删除 ctime.c 中多余引用
2024-06-23[components][ktime]support period ktime timeout and multiple ktimer_hrtimer ↵zms123456
(#8972) * support period time * enable multiple ktimer * mv set delay_cnt to hrtimer_start * add ktime debug info * change current_irq_begin to local var * fix bug: setting current timer and setting timeout in driver aren't atomicly * create->init * refactoring ktime
2024-04-22[components][drivers]improve ktimer sleep (#8838)zms123456
improve ktimer sleep
2024-04-06[iar] fix legacy macros will be added if cannot get the IAR versionMeco Man
2024-03-30[fixup] aarch64 UMP compiler error (#8677)Shell
Signed-off-by: Shell <[email protected]>
2024-03-28sync smart & dfs (#8672)Shell
Signed-off-by: xqyjlj <[email protected]> Signed-off-by: Shell <[email protected]> Co-authored-by: xqyjlj <[email protected]>
2024-02-23🎯 Sync smart & scheduler codes (#8537)Shell
Signed-off-by: Shell <[email protected]> Co-authored-by: xqyjlj <[email protected]>
2024-01-02fix some -Wmissing-prototypes warningsMeco Man
2023-12-28[libc] fix undefined warning of rt_memsetMeco Man
2023-12-25[libc][picolibc] fix llvm compling warningMeco Man
/home/runner/work/rt-thread/rt-thread/components/libc/compilers/picolibc/syscall.c:24:16: warning: returning 'volatile int *' from a function with result type 'int *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] return &__pico_errno; ^~~~~~~~~~~~~ /home/runner/work/rt-thread/rt-thread/components/libc/compilers/picolibc/syscall.c:30:16: warning: returning 'volatile int *' from a function with result type 'int *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] return &__pico_errno; ^~~~~~~~~~~~~ /home/runner/work/rt-thread/rt-thread/components/libc/compilers/picolibc/syscall.c:33:12: warning: incompatible pointer types returning 'rt_err_t *' (aka 'long *') from a function with result type 'int *' [-Wincompatible-pointer-types] return &tid->error;
2023-11-30[nano] rt-thread susport nano optionMeco Man
2023-11-21[libc] add RT_USING_INTERNAL_LIBC_ONLY macroMeco Man
This option is for RT-Thread Nano version. If select this option, it will not compile components/libc folder and only use tool chain internal libc. Normally, the tool chain internal is only cover ISO standard (e.g. armcc), but some tool chains' internal libc will cover more than ISO standard (e.g. newlib).
2023-11-16[fix] sal build error.guozhanxin
2023-11-16[libc] update ctime.c compatible with old driversguozhanxin
2023-11-08[libc][picolibc] improve gcc picolibc supportXiang.Lin
2023-11-01[libc] add comments to the cstdlib.c (#8209)shu-qian
Co-authored-by: sq <[email protected]>
2023-10-31[libc] [ctime] fix rt_timespec_to_tick fun internal data overflow (#8198)kk
2023-10-26[ctime] fixup of data racing (#8187)Shell
Signed-off-by: Shell <[email protected]>
2023-10-25🎈 perf: perf rt_hw_interrupt_disable/enable (#8042)xqyjlj
Signed-off-by: Shell <[email protected]> Co-authored-by: Shell <[email protected]>
2023-10-24[libc][time]修复MDK编译环境下difftime()函数多重定义的问题 ↵梁生
(#8174)
2023-09-19[picolibc] fix the errno declaration conflictMeco Man
/home/runner/work/rt-thread/rt-thread/components/libc/compilers/picolibc/syscall.c:13:5: error: conflicting types for 'pico_get_errno' int pico_get_errno(void) ^ /opt/LLVMEmbeddedToolchainForArm-16.0.0-Linux-x86_64/bin/../lib/clang-runtimes/arm-none-eabi/armv7em_hard_fpv4_sp_d16/include/sys/errno.h:59:6: note: previous declaration is here int *__PICOLIBC_ERRNO_FUNCTION(void);
2023-09-20Adapt rt_channel, increase the generality of some rt_channel functionality ↵zmq810150896
on dfs v2, and standardize signalfd (#8047)
2023-08-28[ctime] 避免时区为负数时引入的隐式转换问题TangZhenye
2023-08-23cleanup: fix building warningsgeniusgogo
2023-08-17[libc][posix/io/stdio] rename libc.c as posix/stdio.cMeco Man
2023-08-13[libc][time] pre-support fully version timezone and daylight saving timeMeco Man
2023-08-13[libc][timezone] implement lightweith timezone configurationMeco Man
2023-08-08[libc][time] silence the incorrect type warningMeco Man
2023-08-01[components/ctime] fix the free of rt_work (#7882)Shell
Signed-off-by: Shell <[email protected]>
2023-07-22[smart] fix possible memory leak (#7832)Shell
Signed-off-by: Shell <[email protected]>
2023-07-21[libc][time] cleanup codeMeco Man
2023-07-20✨ feat(ktime): add RT_USING_KTIME to kconfig buildxqyjlj
2023-07-20[component/lwp] support more feature of signal from IEEE Std 1003.1-2017 (#7828)Shell
Signed-off-by: Shell <[email protected]>