zephyr/subsys/logging/backends
Marcin Niestroj a9fbcd2785 logging: swo: add Kconfig option for SWO reference frequency
SWO reference frequency was set based on `swo-ref-frequency` under `itm`
nodelabel or `/cpus/cpu@0/clock-frequency` property. Not all platforms
configure those.

All ST devices configure CPU frequency in `clock-frequency` under `rcc`
nodelabel. Configuring the same value for each board in
`/cpus/cpu@0/clock-frequency` would be one way to make SWO work out of the
box. There is lots of copy-pasting involved in this, which makes this very
error-prone.

Introduce Kconfig option, which will default to values configured in `itm`
or `/cpus/cpu@0`. The main advantage will be for platforms like ST, where
CPU clock frequency is already configured in another place. Thsoe could
override default value in SoC, board or any other platform specific layer.

Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
2023-09-13 16:29:56 +02:00
..
CMakeLists.txt logging: Added BLE Backend Service 2023-04-03 15:17:57 +02:00
Kconfig logging: Added BLE Backend Service 2023-04-03 15:17:57 +02:00
Kconfig.adsp
Kconfig.adsp_hda
Kconfig.adsp_mtrace
Kconfig.ble logging: Fixed BLE backend buffer size independent of MTU 2023-06-19 08:38:08 +02:00
Kconfig.efi_console
Kconfig.fs logging: log_backend_fs: added LOG_BACKEND_FS_AUTOSTART configuration 2022-10-26 12:00:29 +02:00
Kconfig.multidomain logging: Add ipc_service log backend 2022-10-17 10:16:53 +02:00
Kconfig.native_posix
Kconfig.net
Kconfig.rtt
Kconfig.spinel
Kconfig.swo logging: swo: add Kconfig option for SWO reference frequency 2023-09-13 16:29:56 +02:00
Kconfig.uart segger: rtt: disable unsupported shell/log features 2023-06-23 14:42:41 +02:00
Kconfig.xtensa_sim xtensa: add support for dc233c SoC for QEMU 2023-08-26 16:50:40 -04:00
log_backend_adsp_hda.c logging: backends: adsp_hda: add missing init.h, device.h 2023-08-30 11:54:48 +02:00
log_backend_adsp_mtrace.c
log_backend_adsp.c
log_backend_ble.c logging: Fixed BLE backend buffer size independent of MTU 2023-06-19 08:38:08 +02:00
log_backend_efi_console.c
log_backend_fs.c logging: rename shadow variables 2023-08-22 11:39:58 +02:00
log_backend_ipc_service.c logging: Add ipc_service log backend 2022-10-17 10:16:53 +02:00
log_backend_native_posix.c
log_backend_net.c
log_backend_rtt.c
log_backend_spinel.c
log_backend_swo.c logging: swo: add Kconfig option for SWO reference frequency 2023-09-13 16:29:56 +02:00
log_backend_uart.c logging: backend_uart: handle PM on panic 2023-03-03 09:17:49 +01:00
log_backend_xtensa_sim.c
log_multidomain_backend.c logging: Renamed internal defines to get rid of 2 suffix 2023-03-09 15:10:06 -08:00