CONFIG_ETH_RTT_CHANNEL

RTT channel number

Type: int

Help

Sets RTT channel that will be used to transfer ethernet frames in both directions. Channels 0 and 1 have special purpose defined by SEGGER, so it is safer to use channel 2 or above. This number must be smaller than SEGGER_RTT_MAX_NUM_UP_BUFFERS and cannot be used by any other module.

Direct dependencies

ETH_RTT && HAS_SEGGER_RTT

(Includes any dependencies from ifs and menus.)

Default

  • 2

Kconfig definition

At <nRF>/drivers/net/Kconfig:37

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:23<Zephyr>/modules/Kconfig:6<BuildDir>/Kconfig/Kconfig.modules:2<nRF>/Kconfig.nrf:28<nRF>/drivers/Kconfig:12

Menu path: (Top) → Modules → nrf (/home/runner/work/sdk-nrf/sdk-nrf/ncs/nrf) → Nordic nRF Connect → Device Drivers → Ethernet over RTT driver

config ETH_RTT_CHANNEL
    int "RTT channel number"
    default 2
    depends on ETH_RTT && HAS_SEGGER_RTT
    help
      Sets RTT channel that will be used to transfer ethernet frames in
      both directions. Channels 0 and 1 have special purpose defined by
      SEGGER, so it is safer to use channel 2 or above. This number must be
      smaller than SEGGER_RTT_MAX_NUM_UP_BUFFERS and cannot be used by any
      other module.

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