You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2022/01/29 09:26:18 UTC

[incubator-nuttx] 02/05: tools/nxstyle: add Segger System View prototype name into white list

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

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 3fc18d50b8a83d491666b0c46181953204d2ecb5
Author: chao.an <an...@xiaomi.com>
AuthorDate: Mon Jan 24 21:46:17 2022 +0800

    tools/nxstyle: add Segger System View prototype name into white list
    
    Reference:
    https: //github.com/SEGGERMicro/SystemView/blob/master/SYSVIEW/SEGGER_SYSVIEW.h
    
    Signed-off-by: chao.an <an...@xiaomi.com>
---
 tools/nxstyle.c | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/tools/nxstyle.c b/tools/nxstyle.c
index 138fa32..008d312 100644
--- a/tools/nxstyle.c
+++ b/tools/nxstyle.c
@@ -265,6 +265,17 @@ static const char *g_white_list[] =
   "WideCharToMultiByte",
 
   /* Ref:
+   * drivers/segger/note_sysview.c
+   */
+
+  "SEGGER_SYSVIEW",
+  "TaskID",
+  "sName",
+  "Prio",
+  "StackBase",
+  "StackSize",
+
+  /* Ref:
    * fs/nfs/rpc.h
    * fs/nfs/nfs_proto.h
    * fs/nfs/nfs_mount.h