This is an automated email from the ASF dual-hosted git repository.

acassis 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 b78b870d68 tools/nxstyle.c: Updating white list to xedge example
b78b870d68 is described below

commit b78b870d6804afa25226a0ae9ed52409f3bd8275
Author: Jorge Guzman <jorge....@gmail.com>
AuthorDate: Wed Jul 23 18:33:05 2025 -0300

    tools/nxstyle.c: Updating white list to xedge example
    
    Update nxstyle whitelist to allow MixedCase
    identifiers used by the Xedge (Barracuda App Server) example.
    
      The following prefixes were added to g_white_prefix[]:
      - Ba
      - Thread
      - LThread
      - Http
      - Disk
      - Xedge
    
      The following exact identifiers were added to g_white_content_list[]:
      - baGetUnixTime
      - baParseDate
      - setDispExit
      - xedgeInitDiskIo
      - xedgeOpenAUX
      - platformInitDiskIo
      - ltMgr
      - Lt
    
    Signed-off-by: Jorge Guzman <jorge....@gmail.com>
---
 tools/nxstyle.c | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/tools/nxstyle.c b/tools/nxstyle.c
index 0f34fb4881..58094557a1 100644
--- a/tools/nxstyle.c
+++ b/tools/nxstyle.c
@@ -217,6 +217,12 @@ static const char *g_white_prefix[] =
   "ub32",    /* Ref:  include/fixedmath.h */
   "lua_",    /* Ref:  apps/interpreters/lua/lua-5.x.x/src/lua.h */
   "luaL_",   /* Ref:  apps/interpreters/lua/lua-5.x.x/src/lauxlib.h */
+  "Ba",      /* Ref:  apps/netutils/xedge/BAS/examples/xedge/src/xedge.h */
+  "Thread",  /* Ref:  apps/netutils/xedge/BAS/examples/xedge/src/xedge.h */
+  "LThread", /* Ref:  apps/netutils/xedge/BAS/examples/xedge/src/xedge.h */
+  "Http",    /* Ref:  apps/netutils/xedge/BAS/examples/xedge/src/xedge.h */
+  "Disk",    /* Ref:  apps/netutils/xedge/BAS/examples/xedge/src/xedge.h */
+  "Xedge",   /* Ref:  apps/netutils/xedge/BAS/examples/xedge/src/xedge.h */
   NULL
 };
 
@@ -651,6 +657,19 @@ static const char *g_white_content_list[] =
   "timeMid",
   "timeHiAndVersion",
 
+  /* Ref:
+   * apps/netutils/xedge/BAS/examples/xedge/src/xedge.h
+   */
+
+  "ltMgr",
+  "Lt",
+  "setDispExit",
+  "baGetUnixTime",
+  "platformInitDiskIo",
+  "xedgeInitDiskIo",
+  "xedgeOpenAUX",
+  "baParseDate",
+
   NULL
 };
 

Reply via email to