2022-12-07 15:51:53 +01:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
|
|
#
|
|
|
|
|
|
|
|
config LOGGING_NXSCOPE
|
|
|
|
bool "NxScope interface"
|
|
|
|
default n
|
|
|
|
|
|
|
|
if LOGGING_NXSCOPE
|
|
|
|
|
|
|
|
config LOGGING_NXSCOPE_INTF_SERIAL
|
|
|
|
bool "NxScope serial port interface support"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
For details, see logging/nxscope/nxscope_iserial.c
|
|
|
|
|
|
|
|
config LOGGING_NXSCOPE_INTF_DUMMY
|
|
|
|
bool "NxScope dummy interface support"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Useful for debug purposes. For details, see logging/nxscope/nxscope_idummy.c
|
|
|
|
|
|
|
|
config LOGGING_NXSCOPE_PROTO_SER
|
|
|
|
bool "NxScope default serial protocol support"
|
|
|
|
default y
|
|
|
|
---help---
|
|
|
|
For frame details, see logging/nxscope/nxscope_pser.c
|
|
|
|
|
|
|
|
config LOGGING_NXSCOPE_DIVIDER
|
|
|
|
bool "NxScope support for samples divider"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
This option enables interface that allows you to reduce
|
|
|
|
the rate of samples written to the stream buffer.
|
|
|
|
|
|
|
|
config LOGGING_NXSCOPE_ACKFRAMES
|
|
|
|
bool "NxScope support for ACK frames"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
This option enables ACK frames for set requests
|
|
|
|
|
|
|
|
config LOGGING_NXSCOPE_USERTYPES
|
|
|
|
bool "NxScope support for user types"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
This option enables user-defined frames (see enum nxscope_hdr_id_e)
|
|
|
|
|
|
|
|
config LOGGING_NXSCOPE_CRICHANNELS
|
|
|
|
bool "NxScope support for critical channels"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable the support for non-buffered critical channels
|
|
|
|
|
logging/nxscope: add an option to disable lock in channels put interfaces
With this option enabled the user can speed up adding a large amount of data to the stream buffer
by minimizing the usage of the nxscope lock interface:
nxscope_lock(&nxs->nxs);
nxscope_put_vfloat(&nxs, 0, data0, 1);
nxscope_put_vfloat(&nxs, 1, data1, 1);
nxscope_put_vfloat(&nxs, 2, data2, 1);
nxscope_put_vfloat(&nxs, 3, data3, 1);
nxscope_unlock(&nxs->nxs);
2023-05-10 19:42:31 +02:00
|
|
|
config LOGGING_NXSCOPE_DISABLE_PUTLOCK
|
|
|
|
bool "NxScope disable lock in channels put interfaces"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
This option disables lock in channels put interfaces.
|
|
|
|
In that case, the user is responsible for ensuring
|
|
|
|
thread-safe operations with nxscope_lock/nxscope_unlock functions.
|
|
|
|
|
2022-12-07 15:51:53 +01:00
|
|
|
endif # LOGGING_NXSCOPE
|