From 7dfa768552e10e8466eee9c066127d6979893f26 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Mon, 31 Jan 2022 17:31:32 +0800 Subject: [PATCH] tools/nxstyle: add Segger RTT prototype name into white list Signed-off-by: Xiang Xiao --- tools/nxstyle.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tools/nxstyle.c b/tools/nxstyle.c index 008d312600..f22a55a9c8 100644 --- a/tools/nxstyle.c +++ b/tools/nxstyle.c @@ -275,6 +275,12 @@ static const char *g_white_list[] = "StackBase", "StackSize", + /* Ref: + * drivers/segger/syslog_rtt.c + */ + + "SEGGER_RTT", + /* Ref: * fs/nfs/rpc.h * fs/nfs/nfs_proto.h