CONFIG_LOG_BACKEND_SWO_FREQ_HZ

Set SWO output frequency

Type: int

Help

Set SWO output frequency. Value 0 will select maximum frequency supported by the given MCU. Not all debug probes support high frequency SWO operation. In this case the frequency has to be set manually.

SWO value defined by this option will be configured at boot. Most SWO viewer programs will configure SWO frequency when attached to the debug probe. Such configuration will persist only until the device reset. To ensure flawless operation the frequency configured here and by the SWO viewer program has to match.

Direct dependencies

(LOG_BACKEND_SWO && BOARD_EFR32_SLWSTK6061A) || (LOG_BACKEND_SWO && !LOG_MINIMAL && LOG)

(Includes any dependencies from ifs and menus.)

Defaults

  • 875000
  • 0

Kconfig definitions

At boards/arm/efr32_slwstk6061a/Kconfig.defconfig:19

Included via Kconfig:8Kconfig.zephyr:23

Menu path: (Top)

config LOG_BACKEND_SWO_FREQ_HZ
    int
    default 875000
    depends on LOG_BACKEND_SWO && BOARD_EFR32_SLWSTK6061A

At subsys/logging/Kconfig:297

Included via Kconfig:8Kconfig.zephyr:41subsys/Kconfig:18

Menu path: (Top) → Logging → Enable Serial Wire Output (SWO) backend

config LOG_BACKEND_SWO_FREQ_HZ
    int "Set SWO output frequency"
    default 0
    depends on LOG_BACKEND_SWO && !LOG_MINIMAL && LOG
    help
      Set SWO output frequency. Value 0 will select maximum frequency
      supported by the given MCU. Not all debug probes support high
      frequency SWO operation. In this case the frequency has to be set
      manually.

      SWO value defined by this option will be configured at boot. Most SWO
      viewer programs will configure SWO frequency when attached to the
      debug probe. Such configuration will persist only until the device
      reset. To ensure flawless operation the frequency configured here and
      by the SWO viewer program has to match.

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