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:
parent
7b54b7502c
commit
0941bad877
@ -104,12 +104,6 @@ endif
|
||||
HOSTSRCS += up_simsmp.c
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_SCHED_INSTRUMENTATION),y)
|
||||
ifneq ($(CONFIG_SCHED_INSTRUMENTATION_BUFFER),y)
|
||||
CSRCS += up_schednote.c
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_ONESHOT),y)
|
||||
CSRCS += up_oneshot.c
|
||||
endif
|
||||
|
@ -46,6 +46,12 @@ config DRIVER_NOTEARCH
|
||||
---help---
|
||||
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
|
||||
|
||||
config DRIVER_NOTERAM_BUFSIZE
|
||||
|
@ -26,6 +26,10 @@ ifeq ($(CONFIG_DRIVER_NOTERAM),y)
|
||||
CSRCS += noteram_driver.c
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_DRIVER_NOTELOG),y)
|
||||
CSRCS += notelog_driver.c
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_DRIVER_NOTECTL),y)
|
||||
CSRCS += notectl_driver.c
|
||||
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
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
Loading…
Reference in New Issue
Block a user