CONFIG_LOG_BACKEND_RTT_RETRY_DELAY_MS

Delay between TX retries in milliseconds

Type: int

Help

Sleep period between TX retry attempts. During RTT session, host pulls data periodically. Period starts from 1-2 milliseconds and can be increased if traffic on RTT increases (also from host to device). In case of heavy traffic data can be lost and it may be necessary to increase delay or number of retries.

Direct dependencies

LOG_BACKEND_RTT_MODE_BLOCK && LOG_BACKEND_RTT && !LOG_MINIMAL && LOG

(Includes any dependencies from ifs and menus.)

Default

  • 5

Kconfig definition

At <Zephyr>/subsys/logging/Kconfig:390

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:28

Menu path: (Top) → Sub Systems and OS Services → Logging → Enable Segger J-Link RTT backend

config LOG_BACKEND_RTT_RETRY_DELAY_MS
    int "Delay between TX retries in milliseconds"
    default 5
    depends on LOG_BACKEND_RTT_MODE_BLOCK && LOG_BACKEND_RTT && !LOG_MINIMAL && LOG
    help
      Sleep period between TX retry attempts. During RTT session, host pulls
      data periodically. Period starts from 1-2 milliseconds and can be
      increased if traffic on RTT increases (also from host to device). In
      case of heavy traffic data can be lost and it may be necessary to
      increase delay or number of retries.

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