zephyr/subsys/logging
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
..
backends logging: swo: add Kconfig option for SWO reference frequency 2023-09-13 16:29:56 +02:00
mipi_syst
CMakeLists.txt logging: cmake: Remove duplicate source entry 2023-07-07 09:20:11 +02:00
Kconfig log_core: Add Kconfig symbol for init priority 2022-12-14 15:16:54 +01:00
Kconfig.filtering
Kconfig.formatting logging: Add option to store tid in the log message 2023-08-31 14:08:19 +02:00
Kconfig.frontends
Kconfig.links
Kconfig.misc
Kconfig.mode logging: Add an option for a custom log header 2022-12-22 11:09:59 +01:00
Kconfig.processing logging: Enable LOG_PRINTK if PRINTK is enabled 2022-11-29 10:46:26 +01:00
Kconfig.template.log_config logging: Changed log template to consider default log level 2023-04-05 13:47:06 +02:00
Kconfig.template.log_config_inherit Logging: Add Kconfig template for log inheriting 2022-11-30 14:37:58 +01:00
Kconfig.template.log_format_config
log_cache.c logging: fix few mismatched CONTAINER_OF 2023-08-31 14:08:31 +02:00
log_cache.h
log_cmds.c iterable_sections: move to specific header 2023-05-22 10:42:30 +02:00
log_core.c logging: fix timestamp scaling with 64-bit timestamp 2023-09-06 17:23:59 +02:00
log_frontend_dict_uart.c logging: fix few mismatched CONTAINER_OF 2023-08-31 14:08:31 +02:00
log_link_ipc_service.c
log_mgmt.c iterable_sections: move to specific header 2023-05-22 10:42:30 +02:00
log_minimal.c
log_msg.c logging: Add option to store tid in the log message 2023-08-31 14:08:19 +02:00
log_multidomain_link.c
log_output_custom.c logging: support custom timestamp formatting 2023-04-04 13:41:17 +02:00
log_output_dict.c
log_output_syst.c logging: rename shadow variables 2023-08-22 11:39:58 +02:00
log_output.c logging: log_output: Add optional tid formatting 2023-08-31 14:08:19 +02:00