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 eb2226dccc5 tools/nxstyle: whitelist S2OPC identifiers
eb2226dccc5 is described below
commit eb2226dccc5b7de7d8eceed187e9686f0be36d13
Author: raiden00pl <[email protected]>
AuthorDate: Sun Aug 23 20:48:54 2026 +0200
tools/nxstyle: whitelist S2OPC identifiers
Whitelist the S2OPC and OPC UA prefixes plus the mixed-case
structure fields used by the NuttX port and server example.
Signed-off-by: raiden00pl <[email protected]>
---
tools/nxstyle.c | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/tools/nxstyle.c b/tools/nxstyle.c
index 498e1e1b681..896adf5f485 100644
--- a/tools/nxstyle.c
+++ b/tools/nxstyle.c
@@ -303,6 +303,11 @@ static const char *g_white_prefix[] =
"SystemCoreClock", /* SystemCoreClock, SystemCoreClockUpdate */
"cmse_", /* ARM CMSE TrustZone intrinsics (arm_cmse.h) */
"MQTTErrors", /* apps/tools/netutils/mqttc/MQTT-C/include/mqtt.h */
+
+ /* Ref: apps/netutils/s2opc, apps/examples/s2opc */
+
+ "SOPC_",
+ "OpcUa_",
NULL
};
@@ -765,6 +770,14 @@ static const char *g_white_content_list[] =
"xedgeOpenAUX",
"baParseDate",
+ /* Ref: apps/netutils/s2opc, apps/examples/s2opc */
+
+ "buildBuildDate",
+ "buildDockerId",
+ "buildSrcCommit",
+ "buildVersion",
+ "logSystem",
+
NULL
};