mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 11:26:12 +08:00
note: Move up_schednote.c to drivers/note folder
since it is general enough to work on other target Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
7b54b7502c
commit
0941bad877
@@ -104,12 +104,6 @@ endif
|
|||||||
HOSTSRCS += up_simsmp.c
|
HOSTSRCS += up_simsmp.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_SCHED_INSTRUMENTATION),y)
|
|
||||||
ifneq ($(CONFIG_SCHED_INSTRUMENTATION_BUFFER),y)
|
|
||||||
CSRCS += up_schednote.c
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(CONFIG_ONESHOT),y)
|
ifeq ($(CONFIG_ONESHOT),y)
|
||||||
CSRCS += up_oneshot.c
|
CSRCS += up_oneshot.c
|
||||||
endif
|
endif
|
||||||
|
|||||||
@@ -46,6 +46,12 @@ config DRIVER_NOTEARCH
|
|||||||
---help---
|
---help---
|
||||||
The note driver is provided by arch specific code.
|
The note driver is provided by arch specific code.
|
||||||
|
|
||||||
|
config DRIVER_NOTELOG
|
||||||
|
bool "Note syslog driver"
|
||||||
|
select SCHED_INSTRUMENTATION_EXTERNAL
|
||||||
|
---help---
|
||||||
|
The note driver output to syslog.
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
config DRIVER_NOTERAM_BUFSIZE
|
config DRIVER_NOTERAM_BUFSIZE
|
||||||
|
|||||||
@@ -26,6 +26,10 @@ ifeq ($(CONFIG_DRIVER_NOTERAM),y)
|
|||||||
CSRCS += noteram_driver.c
|
CSRCS += noteram_driver.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_DRIVER_NOTELOG),y)
|
||||||
|
CSRCS += notelog_driver.c
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_DRIVER_NOTECTL),y)
|
ifeq ($(CONFIG_DRIVER_NOTECTL),y)
|
||||||
CSRCS += notectl_driver.c
|
CSRCS += notectl_driver.c
|
||||||
endif
|
endif
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* arch/sim/src/sim/up_schednote.c
|
* drivers/note/notelog_driver.c
|
||||||
*
|
*
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
* contributor license agreements. See the NOTICE file distributed with
|
* contributor license agreements. See the NOTICE file distributed with
|
||||||
Reference in New Issue
Block a user