<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/components/libc/compilers/common/ctime.c, branch v5.3.0-beta</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/rt-thread.git/atom/components/libc/compilers/common/ctime.c?h=v5.3.0-beta</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/components/libc/compilers/common/ctime.c?h=v5.3.0-beta'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/'/>
<updated>2026-08-21T01:44:42Z</updated>
<entry>
<title>[fix][libc] fix timegm month overflow calculation</title>
<updated>2026-08-21T01:44:42Z</updated>
<author>
<name>Hui Su</name>
<email>3164683437@qq.com</email>
</author>
<published>2026-08-18T11:34:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=339bffb702b911b55b0e6d54fa5ad9116295f048'/>
<id>urn:sha1:339bffb702b911b55b0e6d54fa5ad9116295f048</id>
<content type='text'>
The original overflow logic used __spm[tm_mon] as the current month's
length when normalizing tm_mday. This produced incorrect dates after
crossing month boundaries and left zero or negative days unnormalized.

Use the difference between adjacent cumulative day offsets with
leap-year handling. Normalize overflow in tm_sec, tm_min, tm_hour,
tm_mday, and tm_mon to keep the affected broken-down fields normalized.

Add regression tests for month boundaries, leap years, large offsets,
zero and negative days, negative time fields, combined overflow, and
boundary carry cases.

Close #11686

Signed-off-by: Hui Su &lt;3164683437@qq.com&gt;
</content>
</entry>
<entry>
<title>[dm][ptp] support Precision Time Protocol (PTP) IEEE 1588 clock</title>
<updated>2026-06-29T08:55:18Z</updated>
<author>
<name>GuEe-GUI</name>
<email>2991707448@qq.com</email>
</author>
<published>2026-06-14T03:37:08Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=11ca1660069bbeaba478a8c8be5dbf2a3c3fb60c'/>
<id>urn:sha1:11ca1660069bbeaba478a8c8be5dbf2a3c3fb60c</id>
<content type='text'>
Signed-off-by: GuEe-GUI &lt;2991707448@qq.com&gt;
</content>
</entry>
<entry>
<title>添加 vdso readtime 更新逻辑</title>
<updated>2026-04-29T22:19:58Z</updated>
<author>
<name>rcitach</name>
<email>yearsince@yeah.net</email>
</author>
<published>2026-04-21T10:34:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=03f10a8a4574925711a8e83f7a8c944598a69899'/>
<id>urn:sha1:03f10a8a4574925711a8e83f7a8c944598a69899</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[components][clock_time] Refactor time subsystem around clock_time (#11111)</title>
<updated>2026-01-31T09:44:27Z</updated>
<author>
<name>Bernard Xiong</name>
<email>bernard.xiong@gmail.com</email>
</author>
<published>2026-01-31T09:44:27Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=743b614875fc33257be47ab53b6c5e040ec27893'/>
<id>urn:sha1:743b614875fc33257be47ab53b6c5e040ec27893</id>
<content type='text'>
* [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</content>
</entry>
<entry>
<title>[fix] fix normalization issue of mktime and timegm</title>
<updated>2026-01-18T00:12:40Z</updated>
<author>
<name>milo</name>
<email>1569491816@qq.com</email>
</author>
<published>2026-01-16T14:29:25Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=3ca5cd53f53d036604d663ac988aeb778bc52813'/>
<id>urn:sha1:3ca5cd53f53d036604d663ac988aeb778bc52813</id>
<content type='text'>
</content>
</entry>
<entry>
<title>compute ns with rt_int64_t instead of int64_t in ctime.c</title>
<updated>2025-10-13T13:44:01Z</updated>
<author>
<name>Yonggang Luo</name>
<email>luoyonggang@gmail.com</email>
</author>
<published>2025-09-27T09:47:30Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=517e5b132b5d4221f08e6facc8c5397199219b73'/>
<id>urn:sha1:517e5b132b5d4221f08e6facc8c5397199219b73</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[components] When rtc is not enabled, use other clock sources instead (#9747)</title>
<updated>2024-12-06T12:13:03Z</updated>
<author>
<name>wycwyhwyq</name>
<email>5f20.6d9b@gmail.com</email>
</author>
<published>2024-12-06T12:13:03Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=6876cb6f7361fd6bc754a1dc15ced54c770f005d'/>
<id>urn:sha1:6876cb6f7361fd6bc754a1dc15ced54c770f005d</id>
<content type='text'>
When rtc is not enabled, use other clock sources instead

Signed-off-by: wycwyhwyq &lt;5f20.6d9b@gmail.com&gt;</content>
</entry>
<entry>
<title>[libc] modify function names to resolve naming conflicts</title>
<updated>2024-11-01T22:44:16Z</updated>
<author>
<name>rcitachi</name>
<email>yearsince@yeah.net</email>
</author>
<published>2024-11-01T22:44:16Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=7c273195215637a6754d0021ccff1b095eff9b3d'/>
<id>urn:sha1:7c273195215637a6754d0021ccff1b095eff9b3d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[libc] 修复 ctime()死机问题</title>
<updated>2024-09-03T22:13:09Z</updated>
<author>
<name>yandld</name>
<email>1453363089@qq.com</email>
</author>
<published>2024-09-03T09:32:53Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=635e16a8d54db94c878a4bfc624cc4c38f0b8a35'/>
<id>urn:sha1:635e16a8d54db94c878a4bfc624cc4c38f0b8a35</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add RT_USING_RTC conditional compilation protection in ctimer.c</title>
<updated>2024-08-12T07:56:17Z</updated>
<author>
<name>Z8MAN8</name>
<email>1468559561@qq.com</email>
</author>
<published>2024-08-12T01:52:12Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=1d646bcf56f6947643e8ed507875c648cdf3d195'/>
<id>urn:sha1:1d646bcf56f6947643e8ed507875c648cdf3d195</id>
<content type='text'>
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 &lt;1468559561@qq.com&gt;
</content>
</entry>
</feed>
