<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/components/utilities/Kconfig, 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/Kconfig?h=copilot%2Ffix-riscv-none-job-failure</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/components/utilities/Kconfig?h=copilot%2Ffix-riscv-none-job-failure'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/'/>
<updated>2026-06-17T01:51:13Z</updated>
<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>feat[ulog]: 增加 Kconfig 选项以控制 Finsh/MSH 命令</title>
<updated>2025-11-07T03:16:46Z</updated>
<author>
<name>wdfk-prog</name>
<email>1425075683@qq.com</email>
</author>
<published>2025-10-31T05:57:30Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=4ee00eba9b335cea534d9a7ba3716ce6dc4b33cc'/>
<id>urn:sha1:4ee00eba9b335cea534d9a7ba3716ce6dc4b33cc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>utest/msh: supports autocomplete of utest cases for utest_run (#10701)</title>
<updated>2025-10-20T04:46:44Z</updated>
<author>
<name>Yuqiang Wang</name>
<email>2053731441@qq.com</email>
</author>
<published>2025-10-20T04:46:44Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=8816a9dc1b87b6504cc9d54397d06b464df79ebb'/>
<id>urn:sha1:8816a9dc1b87b6504cc9d54397d06b464df79ebb</id>
<content type='text'>
* utest/msh: supports autocomplete of utest cases for utest_run

* docs/utest: explanation of adding the automatic completion function for utest_run

* fix[utest]: Improvement of annotation description

* remove outdated code</content>
</entry>
<entry>
<title>utest: remove RT_UTEST_USING_ALL_CASES</title>
<updated>2025-09-26T01:57:54Z</updated>
<author>
<name>Chen Wang</name>
<email>unicorn_wang@outlook.com</email>
</author>
<published>2025-09-25T06:01:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=495c8cfc25e0d03eb6ba9914df17487f839c557d'/>
<id>urn:sha1:495c8cfc25e0d03eb6ba9914df17487f839c557d</id>
<content type='text'>
Many modules' utests currently don't support enabling all
tests at once. Furthermore, some modules' tests are complex,
for example due to their numerous dependencies on other
modules. This makes it nearly impossible to enable all
tests with a single global switch. Consequently, the
previously defined `RT_UTEST_USING_ALL_CASES` has lost
its original meaning.

We recommend deprecating this configuration switch. If a
module needs to enable a group of functional tests through
its own configuration, this local enable all switch should
be implemented by the module itself, and a global RTT enable
switch will no longer be provided.

If such a requirement arises in the future, we recommend
careful design, especially considering how to ensure that
turning on a single switch enables all dependencies for
all involved modules for ease of use.

Signed-off-by: Chen Wang &lt;unicorn_wang@outlook.com&gt;
</content>
</entry>
<entry>
<title>fix: warnings generated by Kconfig.</title>
<updated>2025-09-01T03:50:41Z</updated>
<author>
<name>maosql</name>
<email>maosql111@gmail.com</email>
</author>
<published>2025-08-27T12:40:01Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=9567564e86592c5a05f40d39d7352593d487b8d4'/>
<id>urn:sha1:9567564e86592c5a05f40d39d7352593d487b8d4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[utest] make RT_USING_CI_ACTION to be clear</title>
<updated>2025-01-09T22:45:15Z</updated>
<author>
<name>Meco Man</name>
<email>920369182@qq.com</email>
</author>
<published>2025-01-09T01:12:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=bdd9447d709213b5076a152fbfa484fbb0f7ee19'/>
<id>urn:sha1:bdd9447d709213b5076a152fbfa484fbb0f7ee19</id>
<content type='text'>
RT_USING_CI_ACTION will select RT_UTEST_USING_AUTO_RUN and RT_UTEST_USING_ALL_CASES
</content>
</entry>
<entry>
<title>[klibc] add rt_vsnprintf_std.c and rename RT_KLIBC_USING_VSNPRINTF_LONGLONG</title>
<updated>2024-11-24T03:29:28Z</updated>
<author>
<name>Meco Man</name>
<email>920369182@qq.com</email>
</author>
<published>2024-11-20T00:42:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=8e10983c9b0dc5b634a06496e9a435049206cea2'/>
<id>urn:sha1:8e10983c9b0dc5b634a06496e9a435049206cea2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>除了bsp之外的Kconfig使用rsource替代source</title>
<updated>2024-06-20T06:40:42Z</updated>
<author>
<name>latercomer</name>
<email>latercomer@qq.com</email>
</author>
<published>2024-06-11T04:13:25Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=d58c29d23e403ef124cf8f9e460e6bd35f5a1aeb'/>
<id>urn:sha1:d58c29d23e403ef124cf8f9e460e6bd35f5a1aeb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[kservice] MT-safe output support (kprintf/kputs)</title>
<updated>2024-01-15T16:59:18Z</updated>
<author>
<name>Shell</name>
<email>smokewood@qq.com</email>
</author>
<published>2024-01-09T12:37:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=f6fce5f8d76e26c2315a64de81ce07bd6e379394'/>
<id>urn:sha1:f6fce5f8d76e26c2315a64de81ce07bd6e379394</id>
<content type='text'>
Signed-off-by: Shell &lt;smokewood@qq.com&gt;
</content>
</entry>
<entry>
<title>Drivers: Support Open Firmware API and model of PIC</title>
<updated>2023-07-05T08:45:16Z</updated>
<author>
<name>wusongjie</name>
<email>wusongjie@rt-thread.com</email>
</author>
<published>2023-07-05T05:50:18Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=8aa4366cb2910c2c61729608d9f2a90868d16deb'/>
<id>urn:sha1:8aa4366cb2910c2c61729608d9f2a90868d16deb</id>
<content type='text'>
We support OFW API to replace fdt old API, and add
IRQ, IO, Platform-Bus, CPUs ... OFW node contorl.
To support work with Device Tree or ACPI in drivers
that use IRQ, we make a programmable interrupt
controller driver's model.

Signed-off-by: GuEe-GUI &lt;GuEe-GUI@github.com&gt;
</content>
</entry>
</feed>
