CONFIG_PERCEPIO_RECORDER_TRC_CFG_RTT_BUFFER_SIZE_UP

RTT buffer size up

Type: int

Help

Defines the size of the "up" RTT buffer (target -> host) to use for writing
the trace data, for RTT buffer 1 or higher.

This setting is ignored for RTT buffer 0, which can't be reconfigured
in runtime and therefore hard-coded to use the defines in SEGGER_RTT_Conf.h.

Default buffer size for Tracealyzer is 5000 bytes.
If you have a stand-alone J-Link probe, the can be decreased to around 1 KB.
But integrated J-Link OB interfaces are slower and needs about 5-10 KB,
depending on the amount of data produced.

Default

  • 5000

Kconfig definition

At /home/runner/work/sdk-nrf/sdk-nrf/ncs/modules/debug/TraceRecorder/kernelports/Zephyr/streamports/Jlink_RTT/Kconfig:7

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:31<Zephyr>/modules/Kconfig:6<nRF>/doc/_build/kconfig/Kconfig.modules:80/home/runner/work/sdk-nrf/sdk-nrf/ncs/modules/debug/TraceRecorder/kernelports/Zephyr/Kconfig:196

Menu path: (Top) → Modules → TraceRecorder (/home/runner/work/sdk-nrf/sdk-nrf/ncs/modules/debug/TraceRecorder) → Percepio Trace Recorder → Streaming Configuration → RTT Config

config PERCEPIO_RECORDER_TRC_CFG_RTT_BUFFER_SIZE_UP
    int "RTT buffer size up"
    range 0 1048576
    default 5000
    depends on PERCEPIO_TRACERECORDER && PERCEPIO_RECORDER_TRC_RECORDER_STREAM_PORT_RTT && PERCEPIO_TRC_RECORDER_MODE_STREAMING && PERCEPIO_TRACERECORDER
    help
      Defines the size of the "up" RTT buffer (target -> host) to use for writing
      the trace data, for RTT buffer 1 or higher.

      This setting is ignored for RTT buffer 0, which can't be reconfigured
      in runtime and therefore hard-coded to use the defines in SEGGER_RTT_Conf.h.

      Default buffer size for Tracealyzer is 5000 bytes.
      If you have a stand-alone J-Link probe, the can be decreased to around 1 KB.
      But integrated J-Link OB interfaces are slower and needs about 5-10 KB,
      depending on the amount of data produced.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)