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 <raiden00@railab.me>
This commit is contained in:
raiden00pl 2026-08-23 20:48:54 +02:00 committed by Xiang Xiao
parent c47d7151d7
commit eb2226dccc

View file

@ -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
};