<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/components/utilities, branch copilot/fix-riscv-none-job-failure</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/rt-thread.git/atom/components/utilities?h=copilot%2Ffix-riscv-none-job-failure</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/components/utilities?h=copilot%2Ffix-riscv-none-job-failure'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/'/>
<updated>2026-09-01T05:36:58Z</updated>
<entry>
<title>[utest][rtc] Add RTC time and alarm tests</title>
<updated>2026-09-01T05:36:58Z</updated>
<author>
<name>CYFS</name>
<email>2805686936@qq.com</email>
</author>
<published>2026-08-26T03:12:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=b1e8365a6a85355f7944654b0e8900eb47c694df'/>
<id>urn:sha1:b1e8365a6a85355f7944654b0e8900eb47c694df</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[utest][pwm] Add configurable PWM matrix test</title>
<updated>2026-09-01T01:33:32Z</updated>
<author>
<name>CYFS</name>
<email>2805686936@qq.com</email>
</author>
<published>2026-08-26T03:02:37Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=f62b0ad85d9482f460338e718d9a892b69de9fe8'/>
<id>urn:sha1:f62b0ad85d9482f460338e718d9a892b69de9fe8</id>
<content type='text'>
</content>
</entry>
<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>rt-link: reject frame offset at frame limit</title>
<updated>2026-07-07T11:55:21Z</updated>
<author>
<name>Old-Ding</name>
<email>35417409+Old-Ding@users.noreply.github.com</email>
</author>
<published>2026-07-07T01:14:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=50c6853d38125d887aeeb8b0825207af605b0d97'/>
<id>urn:sha1:50c6853d38125d887aeeb8b0825207af605b0d97</id>
<content type='text'>
The receive sequence filter maps incoming data-frame sequence numbers to zero-based frame offsets. RT_LINK_FRAMES_MAX is the maximum number of split frames, so valid offsets are 0 through RT_LINK_FRAMES_MAX - 1.

Reject offset == RT_LINK_FRAMES_MAX before frame handling instead of letting it reach long-frame assembly.

Generated-by: OpenAI Codex
Signed-off-by: Old-Ding &lt;35417409+Old-Ding@users.noreply.github.com&gt;
</content>
</entry>
<entry>
<title>[components][spi] add utest cases</title>
<updated>2026-07-04T08:45:24Z</updated>
<author>
<name>CYFS</name>
<email>2805686936@qq.com</email>
</author>
<published>2026-07-02T03:36:16Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=e97530fea8fd3ec60de637cd08c1ee3c6c00f193'/>
<id>urn:sha1:e97530fea8fd3ec60de637cd08c1ee3c6c00f193</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[components][ulog] include stdlib.h for atoi</title>
<updated>2026-06-30T08:12:41Z</updated>
<author>
<name>Old-Ding</name>
<email>35417409+Old-Ding@users.noreply.github.com</email>
</author>
<published>2026-06-30T05:34:50Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=b118fcab2e8602f7ee944049adb701e8e73014bd'/>
<id>urn:sha1:b118fcab2e8602f7ee944049adb701e8e73014bd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[utest] fix testcase init failure summary</title>
<updated>2026-06-23T07:00:23Z</updated>
<author>
<name>CYFS</name>
<email>2805686936@qq.com</email>
</author>
<published>2026-06-08T03:34:08Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=659023b98c6a4a1994bd7cf980720e27f540d748'/>
<id>urn:sha1:659023b98c6a4a1994bd7cf980720e27f540d748</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[utest][pin] add pin loopback utest (#11445)</title>
<updated>2026-06-22T08:03:58Z</updated>
<author>
<name>CYFS</name>
<email>2805686936@qq.com</email>
</author>
<published>2026-06-22T08:03:58Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=f922adeb07b6634f808844e650e87a8505306a70'/>
<id>urn:sha1:f922adeb07b6634f808844e650e87a8505306a70</id>
<content type='text'>
* [utest][pin] add pin loopback utest

* [utest][pin] add BSP CI coverage

* [utest][pin] fix BSP CI config

* [utest][pin] fix ra8p1 utest link section</content>
</entry>
<entry>
<title>fix: stabilize smp_bind_affinity_tc on SMP CI</title>
<updated>2026-06-17T01:51:13Z</updated>
<author>
<name>GuEe-GUI</name>
<email>2991707448@qq.com</email>
</author>
<published>2026-06-16T06:20:20Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=6fc3e18912e60505fa6e2a6a4d444ab84e326e9b'/>
<id>urn:sha1:6fc3e18912e60505fa6e2a6a4d444ab84e326e9b</id>
<content type='text'>
This change fixes intermittent failures of the `core.smp_bind_affinity`
utest across SMP CI targets. The original failure was a flaky assertion on
unbound threads (`thread_inc[x] != thread_tic[x]` in thread_entry), not
incorrect bind_cpu behavior. CI logs already showed T0 binding worked
(thread_inc[0] == thread_tic[0] == 100) while the not_equal check failed.
The root issue is that unbound-thread CPU placement is platform-dependent
and outside the bind_cpu contract. On dual-core RISC-V/ARMv7 CI, an
unbound thread may legitimately run all iterations on core 0 while T0
delays on the same core, so any assertion requiring cross-core migration
(thread_inc != thread_tic, or core_mask with multiple bits) remains flaky.
This patch narrows the test to what bind_affinity actually verifies: T0
bound to core 0 must always execute on core 0. Unbound threads only add
scheduling pressure; their core_mask is printed for observation but not
asserted.
Changes:
- Sample `rt_hw_cpu_id()` and update counters under `rt_sched_lock` to
  avoid migration skew between counting and CPU sampling.
- Track `thread_core_mask` for diagnostics; assert only T0 binding via
  `thread_inc[0] == thread_tic[0]` and `thread_core_mask[0] == 1`.
- Remove flaky unbound-thread assertions (`thread_inc != thread_tic` and
  multi-core core_mask checks).
- Move T0 assertions to the main test thread after all workers finish.
- Use atomic `finsh_flag`; reset counters and `threads[]` in `utest_tc_init`.
- Spin in worker loops after `run_num` until cleanup deletes them (do not
  return from thread_entry or use `RT_WAITING_FOREVER` with `rt_thread_delay`).
- Guard `rt_thread_delete` in cleanup with non-NULL checks.

Signed-off-by: GuEe-GUI &lt;2991707448@qq.com&gt;
</content>
</entry>
<entry>
<title>utest: move ci configs to github directory</title>
<updated>2026-06-12T06:22:53Z</updated>
<author>
<name>CYFS</name>
<email>2805686936@qq.com</email>
</author>
<published>2026-06-11T07:53:08Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=38c5ff0e56ba624562ec1e6b6fedb03b28c0b029'/>
<id>urn:sha1:38c5ff0e56ba624562ec1e6b6fedb03b28c0b029</id>
<content type='text'>
Signed-off-by: CYFS &lt;2805686936@qq.com&gt;
</content>
</entry>
</feed>
