2022-12-07 15:52:23 +01:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
|
|
#
|
|
|
|
|
|
|
|
config EXAMPLES_NXSCOPE
|
|
|
|
tristate "nxscope example"
|
|
|
|
default n
|
|
|
|
depends on LOGGING_NXSCOPE
|
|
|
|
---help---
|
|
|
|
Enable the nxscope example
|
|
|
|
|
|
|
|
if EXAMPLES_NXSCOPE
|
|
|
|
|
|
|
|
config EXAMPLES_NXSCOPE_PROGNAME
|
|
|
|
string "Program name"
|
|
|
|
default "nxscope"
|
|
|
|
|
|
|
|
config EXAMPLES_NXSCOPE_PRIORITY
|
|
|
|
int "nxscope task priority"
|
|
|
|
default 100
|
|
|
|
|
|
|
|
config EXAMPLES_NXSCOPE_STACKSIZE
|
|
|
|
int "nxscope stack size"
|
|
|
|
default DEFAULT_TASK_STACKSIZE
|
|
|
|
|
|
|
|
if LOGGING_NXSCOPE_INTF_SERIAL
|
|
|
|
|
|
|
|
config EXAMPLES_NXSCOPE_SERIAL_PATH
|
|
|
|
string "nxscope serial path"
|
|
|
|
default "/dev/ttyUSB0"
|
|
|
|
|
|
|
|
config EXAMPLES_NXSCOPE_SERIAL_BAUD
|
|
|
|
int "nxscope serial baud"
|
|
|
|
default 115200
|
2023-09-29 20:22:12 +02:00
|
|
|
---help---
|
|
|
|
Ignored if set to 0 (for example for RTT interface)
|
2022-12-07 15:52:23 +01:00
|
|
|
|
2023-02-07 14:14:56 +01:00
|
|
|
config EXAMPLES_NXSCOPE_CDCACM
|
|
|
|
bool "nxscope CDCACM device support"
|
|
|
|
depends on CDCACM
|
|
|
|
default n
|
|
|
|
|
2022-12-07 15:52:23 +01:00
|
|
|
endif # LOGGING_NXSCOPE_INTF_SERIAL
|
|
|
|
|
|
|
|
config EXAMPLES_NXSCOPE_FORCE_ENABLE
|
|
|
|
bool "nxscope force enable"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config EXAMPLES_NXSCOPE_STREAMBUF_LEN
|
|
|
|
int "nxscope stream buffer length"
|
|
|
|
default 512
|
|
|
|
|
|
|
|
config EXAMPLES_NXSCOPE_RXBUF_LEN
|
|
|
|
int "nxscope RX buffer length"
|
|
|
|
default 32
|
|
|
|
|
|
|
|
config EXAMPLES_NXSCOPE_CRIBUF_LEN
|
|
|
|
int "nxscope critical channels buffer length"
|
|
|
|
default 32
|
|
|
|
depends on LOGGING_NXSCOPE_CRICHANNELS
|
|
|
|
|
|
|
|
config EXAMPLES_NXSCOPE_RX_PADDING
|
|
|
|
int "nxscope RX padding"
|
|
|
|
default 0
|
|
|
|
|
2023-02-07 14:13:36 +01:00
|
|
|
config EXAMPLES_NXSCOPE_TIMER
|
|
|
|
bool "nxscope use timer to wake up samples thread"
|
|
|
|
default n
|
|
|
|
|
|
|
|
if EXAMPLES_NXSCOPE_TIMER
|
|
|
|
|
|
|
|
config EXAMPLES_NXSCOPE_TIMER_PATH
|
|
|
|
string "nxscope timer path"
|
|
|
|
default "/dev/timer0"
|
|
|
|
|
|
|
|
config EXAMPLES_NXSCOPE_TIMER_SIGNO
|
|
|
|
int "nxscope notification signal number"
|
2023-03-25 00:07:59 +01:00
|
|
|
default 32
|
2023-02-07 14:13:36 +01:00
|
|
|
|
|
|
|
config EXAMPLES_NXSCOPE_TIMER_INTERVAL
|
|
|
|
int "nxscope timer interval (microseconds)"
|
|
|
|
default 100
|
|
|
|
|
|
|
|
endif # EXAMPLES_NXSCOPE_TIMER
|
|
|
|
|
2022-12-07 15:52:23 +01:00
|
|
|
endif
|