mirror of
https://github.com/apache/nuttx.git
synced 2026-09-08 18:06:33 +00:00
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:
parent
c47d7151d7
commit
eb2226dccc
1 changed files with 13 additions and 0 deletions
|
|
@ -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
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue