From eb2226dccc5b7de7d8eceed187e9686f0be36d13 Mon Sep 17 00:00:00 2001 From: raiden00pl Date: Sun, 23 Aug 2026 20:48:54 +0200 Subject: [PATCH] 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 --- 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 };