Skip to content

treewide: fix Doxygen documentation errors - #22512

Open
LasseRosenow wants to merge 14 commits into
RIOT-OS:masterfrom
LasseRosenow:fix-documentation-errors
Open

treewide: fix Doxygen documentation errors#22512
LasseRosenow wants to merge 14 commits into
RIOT-OS:masterfrom
LasseRosenow:fix-documentation-errors

Conversation

@LasseRosenow

Copy link
Copy Markdown
Member

Contribution description

While working on a secret project I was finding these issues in our documentation and here are the fixes.

Testing procedure

Issues/PRs references

Declaration of AI-Tools / LLMs usage:

AI-Tools / LLMs that were used are:

  • Claudius to find some defines quickly

@github-actions github-actions Bot added Area: network Area: Networking Area: doc Area: Documentation Area: pkg Area: External package ports Area: drivers Area: Device drivers Area: boards Area: Board ports Area: OTA Area: Over-the-air updates Area: cpu Area: CPU/MCU ports Area: USB Area: Universal Serial Bus Area: sys Area: System labels Jul 27, 2026
@AnnsAnns AnnsAnns added CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR CI: skip compile test If set, CI server will run only non-compile jobs, but no compile jobs or their dependent jobs AI: Co-Authored PR/Issue relies on AI. Documentation / Code was partly generated by AI. AI: Vibed PR/Issue appears to be more AI than Human. labels Jul 27, 2026
@LasseRosenow
LasseRosenow requested a review from AnnsAnns July 27, 2026 10:23
@riot-ci

riot-ci commented Jul 27, 2026

Copy link
Copy Markdown

Murdock results

✔️ PASSED

c026881 cpu/stm32: fix lowercase Doxygen guard

Success Failures Total Runtime
1 0 1 01m:12s

Artifacts

@crasbe crasbe left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any chance some of these errors pop up in dist/tools/doccheck/exclude_simple and could be removed from the list?

This would also mean progress for #22327

Comment thread pkg/lua/doc.txt Outdated
Comment thread pkg/lua/doc.txt Outdated
@crasbe
crasbe requested a review from kfessel July 27, 2026 10:35
@crasbe crasbe added the Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors) label Jul 27, 2026
@crasbe crasbe changed the title Fix documentation errors treewide: fix Doxygen documentation errors Jul 27, 2026
Comment thread cpu/atxmega/include/periph_cpu.h Outdated
@kfessel

kfessel commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Any chance some of these errors pop up in dist/tools/doccheck/exclude_simple and could be removed from the list?

Strangely non of these seem to have shown up.
As if these documentation pieces are not processed.

for xmega ebi that is the case its missing form the api.riot-os.org due to the '#if defined' check

LasseRosenow and others added 2 commits July 28, 2026 12:58
@LasseRosenow
LasseRosenow requested a review from vincent-d as a code owner July 28, 2026 11:01
@github-actions github-actions Bot added the Platform: ARM Platform: This PR/issue effects ARM-based platforms label Jul 28, 2026

@maribu maribu left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thx for doing this. Sadly, fixing the group command results in Doxygen being able to parse the file and stop more undocumented values :/

* occasionally use ASPACE instead of ASIZE for some MCUs, while new AVR libc
* uses ASIZE as name consistently */
#ifndef EBI_CS_ASIZE_gm
typedef EBI_CS_ASPACE_t EBI_CS_ASIZE_t;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
typedef EBI_CS_ASPACE_t EBI_CS_ASIZE_t; /**< Enum over EBI chip select address space options */

* uses ASIZE as name consistently */
#ifndef EBI_CS_ASIZE_gm
typedef EBI_CS_ASPACE_t EBI_CS_ASIZE_t;
#define EBI_CS_ASIZE_256B_gc EBI_CS_ASPACE_256B_gc

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# define EBI_CS_ASIZE_256B_gc EBI_CS_ASPACE_256B_gc /**< EBI CS for 256 B */

typedef EBI_CS_ASPACE_t EBI_CS_ASIZE_t;
#define EBI_CS_ASIZE_256B_gc EBI_CS_ASPACE_256B_gc
#define EBI_CS_ASIZE_512B_gc EBI_CS_ASPACE_512B_gc
#define EBI_CS_ASIZE_1KB_gc EBI_CS_ASPACE_1KB_gc

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# define BI_CS_ASIZE_1KB_gc EBI_CS_ASPACE_1KB_gc /**< EBI CS for 1 KiB */

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI: Co-Authored PR/Issue relies on AI. Documentation / Code was partly generated by AI. AI: Vibed PR/Issue appears to be more AI than Human. Area: boards Area: Board ports Area: cpu Area: CPU/MCU ports Area: doc Area: Documentation Area: drivers Area: Device drivers Area: network Area: Networking Area: OTA Area: Over-the-air updates Area: pkg Area: External package ports Area: sys Area: System Area: USB Area: Universal Serial Bus CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR CI: skip compile test If set, CI server will run only non-compile jobs, but no compile jobs or their dependent jobs Platform: ARM Platform: This PR/issue effects ARM-based platforms Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants