Skip to content

tools/nxstyle: whitelist Micro XRCE-DDS type names - #20103

Open
lljwork2021 wants to merge 1 commit into
apache:masterfrom
lljwork2021:tools-nxstyle-xrcedds
Open

tools/nxstyle: whitelist Micro XRCE-DDS type names#20103
lljwork2021 wants to merge 1 commit into
apache:masterfrom
lljwork2021:tools-nxstyle-xrcedds

Conversation

@lljwork2021

Copy link
Copy Markdown

Allow public eProsima Micro XRCE-DDS Client and Micro-CDR type names
used by the XRCE-DDS example.

Summary

The XRCE-DDS example uses public type names from the eProsima
Micro XRCE-DDS Client and Micro-CDR APIs. Some of these identifiers
use mixed-case naming and cannot be renamed locally without changing
the upstream API names.

Add these identifiers to the nxstyle whitelist so that the XRCE-DDS
example can pass the NuttX style checks while preserving the upstream
API names.

Related to apache/nuttx-apps#3777.

Impact

This change only extends the nxstyle identifier whitelist.

There is no runtime, ABI, hardware, or functional impact.

Testing

Verified the XRCE-DDS source files with NuttX style checks after
adding the required public API identifiers to the whitelist.

The previous Mixed case identifier found errors for these
Micro XRCE-DDS / Micro-CDR identifiers are no longer reported.

~/nuttxspace/nuttx$ ./tools/checkpatch.sh -c -m -g upstream/master..HEAD
Used config files:
    1: .codespellrc
✔️ All checks pass.

Allow public eProsima Micro XRCE-DDS Client and Micro-CDR type names used by the XRCE-DDS example.

Signed-off-by: lljwork2021 <lljwork2021@163.com>
@github-actions github-actions Bot added Area: Tooling Size: S The size of the change in this PR is small labels Sep 10, 2026
@github-actions

Copy link
Copy Markdown

MemBrowse Memory Report

No memory changes detected for:

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

Labels

Area: Tooling Size: S The size of the change in this PR is small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants