You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by pk...@apache.org on 2022/12/14 19:24:22 UTC
[nuttx] 03/04: drivers/segger: Rename nuttx/note/note_sysview.h to nuttx/segger/sysview.h
This is an automated email from the ASF dual-hosted git repository.
pkarashchenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit c36640e205dea837c1f0a4274a22c930687dac60
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Sun Dec 11 21:14:34 2022 +0800
drivers/segger: Rename nuttx/note/note_sysview.h to nuttx/segger/sysview.h
Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
drivers/note/note_initialize.c | 2 +-
drivers/segger/Make.defs | 2 +-
drivers/segger/{note_sysview.c => sysview.c} | 4 ++--
include/nuttx/{note/note_sysview.h => segger/sysview.h} | 8 ++++----
4 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/note/note_initialize.c b/drivers/note/note_initialize.c
index c99e3937bc..896f83620e 100644
--- a/drivers/note/note_initialize.c
+++ b/drivers/note/note_initialize.c
@@ -23,9 +23,9 @@
****************************************************************************/
#include <nuttx/note/note_driver.h>
-#include <nuttx/note/note_sysview.h>
#include <nuttx/note/noteram_driver.h>
#include <nuttx/note/notectl_driver.h>
+#include <nuttx/segger/sysview.h>
/****************************************************************************
* Public Functions
diff --git a/drivers/segger/Make.defs b/drivers/segger/Make.defs
index 2d819328e6..08a63b20cf 100644
--- a/drivers/segger/Make.defs
+++ b/drivers/segger/Make.defs
@@ -66,7 +66,7 @@ ifeq ($(CONFIG_SYSLOG_RTT),y)
endif
ifeq ($(CONFIG_SEGGER_SYSVIEW),y)
- CSRCS += segger/note_sysview.c
+ CSRCS += segger/sysview.c
CSRCS += segger/SystemView/SYSVIEW/SEGGER_SYSVIEW.c
CFLAGS += ${INCDIR_PREFIX}$(TOPDIR)$(DELIM)sched
diff --git a/drivers/segger/note_sysview.c b/drivers/segger/sysview.c
similarity index 99%
rename from drivers/segger/note_sysview.c
rename to drivers/segger/sysview.c
index b697b0c385..0cc9d90b49 100644
--- a/drivers/segger/note_sysview.c
+++ b/drivers/segger/sysview.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * drivers/segger/note_sysview.c
+ * drivers/segger/sysview.c
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -28,7 +28,7 @@
#include <nuttx/clock.h>
#include <nuttx/sched.h>
#include <nuttx/sched_note.h>
-#include <nuttx/note/note_sysview.h>
+#include <nuttx/segger/sysview.h>
#include <SEGGER_RTT.h>
#include <SEGGER_SYSVIEW.h>
diff --git a/include/nuttx/note/note_sysview.h b/include/nuttx/segger/sysview.h
similarity index 95%
rename from include/nuttx/note/note_sysview.h
rename to include/nuttx/segger/sysview.h
index 1013017ec1..129f38f391 100644
--- a/include/nuttx/note/note_sysview.h
+++ b/include/nuttx/segger/sysview.h
@@ -1,5 +1,5 @@
/****************************************************************************
- * include/nuttx/note/note_sysview.h
+ * include/nuttx/segger/sysview.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -18,8 +18,8 @@
*
****************************************************************************/
-#ifndef __INCLUDE_NUTTX_NOTE_NOTE_SYSVIEW_H
-#define __INCLUDE_NUTTX_NOTE_NOTE_SYSVIEW_H
+#ifndef __INCLUDE_NUTTX_SEGGER_SYSVIEW_H
+#define __INCLUDE_NUTTX_SEGGER_SYSVIEW_H
/****************************************************************************
* Included Files
@@ -97,4 +97,4 @@ void PREFIX(sched_note_filter_syscall)(struct note_filter_syscall_s *oldf,
#endif /* CONFIG_SEGGER_SYSVIEW */
-#endif /* __INCLUDE_NUTTX_NOTE_NOTE_SYSVIEW_H */
+#endif /* __INCLUDE_NUTTX_SEGGER_SYSVIEW_H */