drivers/note: Change DRIVER_NOTExxx to DRIVERS_NOTExxx
follow other driver config style Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
eafc80c055
commit
ee24396d77
|
@ -26,8 +26,8 @@ CONFIG_CXD56_SPI5=y
|
|||
CONFIG_CXD56_SPI=y
|
||||
CONFIG_DEBUG_FULLOPT=y
|
||||
CONFIG_DEBUG_SYMBOLS=y
|
||||
CONFIG_DRIVER_NOTE=y
|
||||
CONFIG_DRIVER_NOTECTL=y
|
||||
CONFIG_DRIVERS_NOTE=y
|
||||
CONFIG_DRIVERS_NOTECTL=y
|
||||
CONFIG_FS_PROCFS=y
|
||||
CONFIG_FS_PROCFS_REGISTER=y
|
||||
CONFIG_HAVE_CXX=y
|
||||
|
|
|
@ -23,7 +23,7 @@ CONFIG_DEBUG_FULLOPT=y
|
|||
CONFIG_DEBUG_SYMBOLS=y
|
||||
CONFIG_DEV_ZERO=y
|
||||
CONFIG_DISABLE_POSIX_TIMERS=y
|
||||
CONFIG_DRIVER_NOTE=y
|
||||
CONFIG_DRIVERS_NOTE=y
|
||||
CONFIG_ELF=y
|
||||
CONFIG_EXAMPLES_ELF=y
|
||||
CONFIG_FS_PROCFS=y
|
||||
|
|
|
@ -20,7 +20,7 @@ CONFIG_DEBUG_SYMBOLS=y
|
|||
CONFIG_DEV_ZERO=y
|
||||
CONFIG_DISABLE_MQUEUE=y
|
||||
CONFIG_DISABLE_POSIX_TIMERS=y
|
||||
CONFIG_DRIVER_NOTE=y
|
||||
CONFIG_DRIVERS_NOTE=y
|
||||
CONFIG_FAT_LCNAMES=y
|
||||
CONFIG_FAT_LFN=y
|
||||
CONFIG_FS_FAT=y
|
||||
|
|
|
@ -28,7 +28,7 @@ CONFIG_DEBUG_FULLOPT=y
|
|||
CONFIG_DEBUG_SYMBOLS=y
|
||||
CONFIG_DEV_ZERO=y
|
||||
CONFIG_DISABLE_POSIX_TIMERS=y
|
||||
CONFIG_DRIVER_NOTE=y
|
||||
CONFIG_DRIVERS_NOTE=y
|
||||
CONFIG_FS_PROCFS=y
|
||||
CONFIG_HRT_TIMER=y
|
||||
CONFIG_I2C=y
|
||||
|
|
|
@ -36,7 +36,7 @@ CONFIG_DEV_URANDOM=y
|
|||
CONFIG_DEV_ZERO=y
|
||||
CONFIG_DISABLE_POSIX_TIMERS=y
|
||||
CONFIG_DRIVERS_AUDIO=y
|
||||
CONFIG_DRIVER_NOTE=y
|
||||
CONFIG_DRIVERS_NOTE=y
|
||||
CONFIG_DVFS=y
|
||||
CONFIG_ELF=y
|
||||
CONFIG_EXAMPLES_HELLO=m
|
||||
|
|
|
@ -22,7 +22,7 @@ CONFIG_DEBUG_FULLOPT=y
|
|||
CONFIG_DEBUG_SYMBOLS=y
|
||||
CONFIG_DEV_ZERO=y
|
||||
CONFIG_DISABLE_POSIX_TIMERS=y
|
||||
CONFIG_DRIVER_NOTE=y
|
||||
CONFIG_DRIVERS_NOTE=y
|
||||
CONFIG_ELF=y
|
||||
CONFIG_EXAMPLES_POSIXSPAWN=y
|
||||
CONFIG_FS_PROCFS=y
|
||||
|
|
|
@ -29,8 +29,8 @@ CONFIG_BOARD_LOOPSPERMSEC=43103
|
|||
CONFIG_BUILTIN=y
|
||||
CONFIG_CDCACM=y
|
||||
CONFIG_DEBUG_SYMBOLS=y
|
||||
CONFIG_DRIVER_NOTE=y
|
||||
CONFIG_DRIVER_NOTERAM_BUFSIZE=512
|
||||
CONFIG_DRIVERS_NOTE=y
|
||||
CONFIG_DRIVERS_NOTERAM_BUFSIZE=512
|
||||
CONFIG_FAT_DMAMEMORY=y
|
||||
CONFIG_FAT_LCNAMES=y
|
||||
CONFIG_FAT_LFN=y
|
||||
|
|
|
@ -20,7 +20,7 @@ CONFIG_ARCH_STACKDUMP=y
|
|||
CONFIG_BOARD_LOOPSPERMSEC=15000
|
||||
CONFIG_BUILTIN=y
|
||||
CONFIG_DEV_ZERO=y
|
||||
CONFIG_DRIVER_NOTE=y
|
||||
CONFIG_DRIVERS_NOTE=y
|
||||
CONFIG_ESP32C3_MWDT0=y
|
||||
CONFIG_ESP32C3_MWDT1=y
|
||||
CONFIG_EXAMPLES_WATCHER=y
|
||||
|
|
|
@ -21,7 +21,7 @@ CONFIG_BUILTIN=y
|
|||
CONFIG_DEBUG_FULLOPT=y
|
||||
CONFIG_DEBUG_SYMBOLS=y
|
||||
CONFIG_DEV_ZERO=y
|
||||
CONFIG_DRIVER_NOTE=y
|
||||
CONFIG_DRIVERS_NOTE=y
|
||||
CONFIG_EXAMPLES_HELLO=y
|
||||
CONFIG_FS_PROCFS=y
|
||||
CONFIG_FS_PROCFS_REGISTER=y
|
||||
|
|
|
@ -16,8 +16,8 @@ CONFIG_BUILTIN=y
|
|||
CONFIG_DEBUG_SYMBOLS=y
|
||||
CONFIG_DEV_LOOP=y
|
||||
CONFIG_DEV_ZERO=y
|
||||
CONFIG_DRIVER_NOTE=y
|
||||
CONFIG_DRIVER_NOTELOG=y
|
||||
CONFIG_DRIVERS_NOTE=y
|
||||
CONFIG_DRIVERS_NOTELOG=y
|
||||
CONFIG_EXAMPLES_HELLO=y
|
||||
CONFIG_FS_BINFS=y
|
||||
CONFIG_FS_PROCFS=y
|
||||
|
|
|
@ -20,7 +20,7 @@ CONFIG_DEBUG_SYMBOLS=y
|
|||
CONFIG_DEV_GPIO=y
|
||||
CONFIG_DEV_LOOP=y
|
||||
CONFIG_DEV_ZERO=y
|
||||
CONFIG_DRIVER_NOTE=y
|
||||
CONFIG_DRIVERS_NOTE=y
|
||||
CONFIG_EXAMPLES_GPIO=y
|
||||
CONFIG_EXAMPLES_HELLO=y
|
||||
CONFIG_FAT_LCNAMES=y
|
||||
|
|
|
@ -19,7 +19,7 @@ CONFIG_ARCH_STACKDUMP=y
|
|||
CONFIG_ARCH_XTENSA=y
|
||||
CONFIG_BOARD_LOOPSPERMSEC=16717
|
||||
CONFIG_BUILTIN=y
|
||||
CONFIG_DRIVER_NOTE=y
|
||||
CONFIG_DRIVERS_NOTE=y
|
||||
CONFIG_ESP32_MWDT0=y
|
||||
CONFIG_ESP32_UART0=y
|
||||
CONFIG_EXAMPLES_WATCHER=y
|
||||
|
|
|
@ -3,20 +3,20 @@
|
|||
# see the file kconfig-language.txt in the NuttX tools repository.
|
||||
#
|
||||
|
||||
config DRIVER_NOTE
|
||||
config DRIVERS_NOTE
|
||||
bool "Note Driver Support"
|
||||
depends on SCHED_INSTRUMENTATION
|
||||
default n
|
||||
|
||||
if DRIVER_NOTE
|
||||
if DRIVERS_NOTE
|
||||
|
||||
config DRIVER_NOTE_MAX
|
||||
config DRIVERS_NOTE_MAX
|
||||
int "Maximum number of sched_note drivers"
|
||||
default 1
|
||||
---help---
|
||||
sched_note supports the maximum number of drivers
|
||||
|
||||
config DRIVER_NOTE_TASKNAME_BUFSIZE
|
||||
config DRIVERS_NOTE_TASKNAME_BUFSIZE
|
||||
int "Note task name buffer size"
|
||||
default 256 if TASK_NAME_SIZE > 0
|
||||
default 0 if TASK_NAME_SIZE = 0
|
||||
|
@ -28,7 +28,7 @@ config DRIVER_NOTE_TASKNAME_BUFSIZE
|
|||
If 0 is specified, this feature is disabled and trace dump shows only
|
||||
the name of the newly created task.
|
||||
|
||||
config DRIVER_NOTECTL
|
||||
config DRIVERS_NOTECTL
|
||||
bool "Scheduler instrumentation filter control driver"
|
||||
default n
|
||||
depends on SCHED_INSTRUMENTATION_FILTER
|
||||
|
@ -36,7 +36,7 @@ config DRIVER_NOTECTL
|
|||
If this option is selected, the instrumentation filter control device
|
||||
/dev/notectl is provided.
|
||||
|
||||
config DRIVER_NOTERAM
|
||||
config DRIVERS_NOTERAM
|
||||
bool "Note RAM driver"
|
||||
default y
|
||||
---help---
|
||||
|
@ -63,15 +63,15 @@ config DRIVER_NOTERAM
|
|||
sched_note_get() causes several additional entries to be added from
|
||||
the note buffer in order to remove one entry.
|
||||
|
||||
if DRIVER_NOTERAM
|
||||
if DRIVERS_NOTERAM
|
||||
|
||||
config DRIVER_NOTERAM_BUFSIZE
|
||||
config DRIVERS_NOTERAM_BUFSIZE
|
||||
int "Note RAM buffer size"
|
||||
default 2048
|
||||
---help---
|
||||
The size of the in-memory, circular instrumentation buffer (in bytes).
|
||||
|
||||
config DRIVER_NOTERAM_DEFAULT_NOOVERWRITE
|
||||
config DRIVERS_NOTERAM_DEFAULT_NOOVERWRITE
|
||||
bool "Disable overwrite by default"
|
||||
default n
|
||||
---help---
|
||||
|
@ -79,11 +79,11 @@ config DRIVER_NOTERAM_DEFAULT_NOOVERWRITE
|
|||
is full by default. This is useful to keep instrumentation data of the
|
||||
beginning of a system boot.
|
||||
|
||||
endif # DRIVER_NOTERAM
|
||||
endif # DRIVERS_NOTERAM
|
||||
|
||||
config DRIVER_NOTELOG
|
||||
config DRIVERS_NOTELOG
|
||||
bool "Note syslog driver"
|
||||
---help---
|
||||
The note driver output to syslog.
|
||||
|
||||
endif # DRIVER_NOTE
|
||||
endif # DRIVERS_NOTE
|
||||
|
|
|
@ -94,7 +94,7 @@ config SYSLOG_RTT
|
|||
---help---
|
||||
Use Segger J-Link RTT as a SYSLOG output device.
|
||||
|
||||
if DRIVER_NOTE
|
||||
if DRIVERS_NOTE
|
||||
config SEGGER_SYSVIEW
|
||||
bool "Note SEGGER SystemView driver"
|
||||
select SEGGER_RTT
|
||||
|
@ -106,7 +106,7 @@ config SEGGER_SYSVIEW
|
|||
systems comprising multiple threads and interrupts. SystemView can ensure
|
||||
unintended interactions and resource conflicts.
|
||||
|
||||
endif # DRIVER_NOTE
|
||||
endif # DRIVERS_NOTE
|
||||
|
||||
if SEGGER_SYSVIEW
|
||||
|
||||
|
|
Loading…
Reference in New Issue