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