<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/documentation, branch copilot/create-dfs2-documentation</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/rt-thread.git/atom/documentation?h=copilot%2Fcreate-dfs2-documentation</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/documentation?h=copilot%2Fcreate-dfs2-documentation'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/'/>
<updated>2025-10-29T00:44:23Z</updated>
<entry>
<title>[Documentation] Initial setup for DFS v2 documentation structure</title>
<updated>2025-10-29T00:44:23Z</updated>
<author>
<name>copilot-swe-agent[bot]</name>
<email>198982749+Copilot@users.noreply.github.com</email>
</author>
<published>2025-10-29T00:44:23Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=621d29d5d287bc5d315693ba66a2ddf0cdde06af'/>
<id>urn:sha1:621d29d5d287bc5d315693ba66a2ddf0cdde06af</id>
<content type='text'>
Co-authored-by: BernardXiong &lt;1241087+BernardXiong@users.noreply.github.com&gt;
</content>
</entry>
<entry>
<title>[format][version]: synchronize bsp version configuration</title>
<updated>2025-10-23T14:06:51Z</updated>
<author>
<name>kurisaw</name>
<email>2053731441@qq.com</email>
</author>
<published>2025-10-23T02:42:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=e2aed47b6c0ef75ead36cae04c4e9afd9d8049aa'/>
<id>urn:sha1:e2aed47b6c0ef75ead36cae04c4e9afd9d8049aa</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>doxygen: update doc for utest for config naming rule</title>
<updated>2025-10-15T01:43:16Z</updated>
<author>
<name>Chen Wang</name>
<email>unicorn_wang@outlook.com</email>
</author>
<published>2025-10-14T02:10:38Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=0d371251af846fcc7927eb91c245a022ad93d43f'/>
<id>urn:sha1:0d371251af846fcc7927eb91c245a022ad93d43f</id>
<content type='text'>
Configuration options naming rule for utest is changed
from "RT_UTEST_TC_USING_XXXX" to "RT_UTEST_XXXX".

Signed-off-by: Chen Wang &lt;unicorn_wang@outlook.com&gt;
</content>
</entry>
<entry>
<title>doxygen: support 1.9.8</title>
<updated>2025-10-10T12:19:05Z</updated>
<author>
<name>Chen Wang</name>
<email>unicorn_wang@outlook.com</email>
</author>
<published>2025-10-09T08:00:54Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=d58958e39751d62e2781feb1752469083a943c68'/>
<id>urn:sha1:d58958e39751d62e2781feb1752469083a943c68</id>
<content type='text'>
The current test environment is mainly based on Ubuntu
22.04 LTS and doxygen version is 1.9.1.
But when we switch to Ubuntu 24.04, the default Doxygen
version on Ubuntu 24.04 is 1.9.8.
The supported configuration and layout file formats
differ from those in 1.9.1 (Ubuntu 22.04).
In particular, the layout XML file format of 1.9.8 is
incompatible with the older format(1.9.1). Therefore,
to support Doxygen on Ubuntu 24.04, we need to load
different configuration and layout files. (The layout
file is specified using the LAYOUT_FILE parameter in
the configuration file.)

Solution: Provide corresponding configuration and layout
files for different Doxygen versions, distinguished by
the Doxygen version number.

Currently, only Doxygen versions 1.9.1 and above are supported.
If the doxygen version is &gt;= 1.9.1 but &lt; 1.9.8, the 1.9.1
configuration and layout are used by default. If the doxygen
version is &gt;= 1.9.8, the 1.9.8 configuration and layout are used.

Only 1.9.1 and 1.9.8 have been tested, as these are the
default doxygen versions on Ubuntu 22.04 LTS and Ubuntu
24.04. Other versions have not been tested yet. If
necessary, we will change the configuration based on
the same approach in the future.

Signed-off-by: Chen Wang &lt;unicorn_wang@outlook.com&gt;
</content>
</entry>
<entry>
<title>doxygen: fix two issues when building with doxygen 1.9.8 (#10768)</title>
<updated>2025-10-10T02:05:06Z</updated>
<author>
<name>Chen Wang</name>
<email>unicorn_wang@outlook.com</email>
</author>
<published>2025-10-10T02:05:06Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=273185b45aa6f9ec445b47faba688b6b7dbd3f66'/>
<id>urn:sha1:273185b45aa6f9ec445b47faba688b6b7dbd3f66</id>
<content type='text'>
* doxygen: remove @return command if function return void

When doxygen is upgraded to v1.9.8 (on ubuntu 24.04), doxygen
reports: "doxygen error: found documented return type for xxx
that does not return anything" for those functions which return
void but declare "@return" in doxygen comment.

Solution: remove "@return" for those cases, and update
guide document for how to write doxgen comment for functions.

Signed-off-by: Chen Wang &lt;unicorn_wang@outlook.com&gt;

* doxygen: fixed a minor typo for uart doc

This error is found when building with doxygen 1.9.8, but not
detecetd on 1.9.1.

Signed-off-by: Chen Wang &lt;unicorn_wang@outlook.com&gt;
</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>doxygen: update naming rule for utest-case</title>
<updated>2025-09-15T11:40:31Z</updated>
<author>
<name>Chen Wang</name>
<email>unicorn_wang@outlook.com</email>
</author>
<published>2025-09-15T06:25:02Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=e2224f525b5e9ad49cf31c26bbaa86091b833456'/>
<id>urn:sha1:e2224f525b5e9ad49cf31c26bbaa86091b833456</id>
<content type='text'>
More details see PR #10681.

As utest cases are currently moving out of `examples/utest/testcases`
into their own module directories, the naming rule needs to change
accordingly.

Signed-off-by: Chen Wang &lt;unicorn_wang@outlook.com&gt;
</content>
</entry>
<entry>
<title>doxygen: update doc for env to latest</title>
<updated>2025-09-10T08:52:48Z</updated>
<author>
<name>Chen Wang</name>
<email>unicorn_wang@outlook.com</email>
</author>
<published>2025-09-10T07:05:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=36b299173f3c8449544360cac0c3b53527567f7c'/>
<id>urn:sha1:36b299173f3c8449544360cac0c3b53527567f7c</id>
<content type='text'>
The introduction to Env under the documentation
section of the RTT source code repository is
outdated and unmaintained. We recommend moving the Env
documentation to https://github.com/RT-Thread/env/
for self-maintenance.

Solution:
Direct users to the latest README at https://github.com/RT-Thread/env/.

The Env content under the documentation section of RTT
will not be deleted for now, but will be marked as "outdated".

Signed-off-by: Chen Wang &lt;unicorn_wang@outlook.com&gt;
</content>
</entry>
<entry>
<title>doxygen: fixed duplicated comments for scheduler APIs</title>
<updated>2025-09-09T10:20:41Z</updated>
<author>
<name>Chen Wang</name>
<email>unicorn_wang@outlook.com</email>
</author>
<published>2025-09-09T03:12:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=1034e5b4fd09ac65985bd48b03071835dc9c9c7d'/>
<id>urn:sha1:1034e5b4fd09ac65985bd48b03071835dc9c9c7d</id>
<content type='text'>
Similar to PR #10674, `src/scheduler_mp.c` and
`src/scheduler_up.c` also have similar issues.

After investigation, we found: in commit 2c98ce4605
"[HUST CSE][document] Fix some comments, invalid
grouping commands and warnings in Doxygen." This patch
excluded `src/scheduler_mp.c` and `src/scheduler_up.c`
from the Doxygen build and include
`documentation/doxygen/thread.h` (the new file path
after adjustment is `documentation/0.doxygen/core/thread.h`),
placing the Doxygen comments for some functions in this file.

However, this approach has its problems:

- The comments in `documentation/0.doxygen/core/thread.h`
  are separated from the source code, making them
  difficult to maintain. This also results in the
  comments for the newly added functions in
  `src/scheduler_mp.c` and `src/scheduler_up.c` not
  being updated in a timely manner and failing to
  be compiled into Doxygen (becoming HTML).

- For the average programmer, it's unlikely that
  they'll consider the `documentation/0.doxygen/`
  directory for function declarations and comments,
  let alone the need to maintain the Doxygen comments
  in that directory. Currently, the header files under
  `documentation/0.doxygen/` should strictly be used
  only to define Doxygen groups and should not include
  Doxygen comments for the code itself. (Similar
  issues exist in documentation/0.doxygen/3.hardware.h
  and documentation/0.doxygen/core/systeminit.h, which
  require further cleanup.)

The solution is similar to PR #10674, where only MP
documentation is generated by default. For functions
defined in MP but not in UP, we use the "@note"
directive in the function's doxygen comment to indicate
whether the function is supported in both UP and MP,
or only in MP.

After implementing this solution, the file
`documentation/0.doxygen/core/thread.h` can be deleted.

Signed-off-by: Chen Wang &lt;unicorn_wang@outlook.com&gt;
</content>
</entry>
</feed>
