-
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_EFM32GG_SLWSTK6121A
) || (LOG_BACKEND_SWO
&& BOARD_EFM32GG_STK3701A
) || (LOG_BACKEND_SWO
&& BOARD_EFR32_RADIO
) || (LOG_BACKEND_SWO
&& !LOG_MINIMAL
&& LOG
)
(Includes any dependencies from ifs and menus.)
Defaults¶
875000
875000
875000
0
Kconfig definitions¶
At <Zephyr>/boards/arm/efm32gg_slwstk6121a/Kconfig.defconfig:29
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:18
Menu path: (Top)
config LOG_BACKEND_SWO_FREQ_HZ int default 875000 depends onLOG_BACKEND_SWO
&&BOARD_EFM32GG_SLWSTK6121A
At <Zephyr>/boards/arm/efm32gg_stk3701a/Kconfig.defconfig:25
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:18
Menu path: (Top)
config LOG_BACKEND_SWO_FREQ_HZ int default 875000 depends onLOG_BACKEND_SWO
&&BOARD_EFM32GG_STK3701A
At <Zephyr>/boards/arm/efr32_radio/Kconfig.defconfig:20
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:18
Menu path: (Top)
config LOG_BACKEND_SWO_FREQ_HZ int default 875000 depends onLOG_BACKEND_SWO
&&BOARD_EFR32_RADIO
At <Zephyr>/subsys/logging/Kconfig:306
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:34
→ <Zephyr>/subsys/Kconfig:31
Menu path: (Top) → Sub Systems and OS Services → Logging → Enable Serial Wire Output (SWO) backend
config LOG_BACKEND_SWO_FREQ_HZ int "Set SWO output frequency" default 0 depends onLOG_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.)