This is an automated email from the ASF dual-hosted git repository.
xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new d6456092542 tools/nxstyle: whitelist Micro XRCE-DDS type names
d6456092542 is described below
commit d645609254256ecdc9f0d82cc49a7eed91497850
Author: lljwork2021 <[email protected]>
AuthorDate: Thu Sep 10 18:52:44 2026 +0800
tools/nxstyle: whitelist Micro XRCE-DDS type names
Allow public eProsima Micro XRCE-DDS Client and Micro-CDR type names used
by the XRCE-DDS example.
Signed-off-by: lljwork2021 <[email protected]>
---
tools/nxstyle.c | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/tools/nxstyle.c b/tools/nxstyle.c
index 896adf5f485..a2522a75208 100644
--- a/tools/nxstyle.c
+++ b/tools/nxstyle.c
@@ -261,6 +261,17 @@ static const char *g_white_prefix[] =
"uxrCustom", /* uxrCustomTransport */
+ /* Ref: apps/examples/xrcedds
+ * Public type names from the eProsima Micro XRCE-DDS Client and
+ * Micro-CDR APIs.
+ */
+
+ "uxrUDPTransport", /* uxrUDPTransport */
+ "uxrSession", /* uxrSession */
+ "uxrStreamId", /* uxrStreamId */
+ "uxrObjectId", /* uxrObjectId */
+ "ucdrBuffer", /* ucdrBuffer */
+
/* Ref: arch/arm/src/common/ameba, arch/arm/src/rtl8721dx,
* arch/arm/src/rtl8720f, arch/arm/src/rtl8721f and the matching boards.
* Realtek Ameba SDK ROM/HAL symbols and ARM CMSE intrinsics referenced