drivers/segger: Rename nuttx/note/note_sysview.h to nuttx/segger/sysview.h

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2022-12-11 21:14:34 +08:00
committed by Petro Karashchenko
parent 126c93015f
commit c36640e205
4 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
@@ -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>
@@ -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 */