zephyr/subsys/logging
Piotr Zięcik ec857d0e4a logging: Do not use CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC
On some SoCs the frequency of the system clock is obtained at run time
as the exact configuration of the hardware is not known at compile time.
On such platforms using CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC define
directly introduces timing errors.

This commit replaces CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC by the call
to inline function sys_clock_hw_cycles_per_sec() which always returns
correct frequency of the system clock.

Signed-off-by: Piotr Zięcik <piotr.ziecik@nordicsemi.no>
2019-07-24 15:10:02 +02:00
..
CMakeLists.txt logging: Add qemu_x86_64 backend 2019-07-18 18:16:39 -04:00
Kconfig logging: Add qemu_x86_64 backend 2019-07-18 18:16:39 -04:00
Kconfig.template.log_config
log_backend_native_posix.c
log_backend_net.c
log_backend_qemu_x86_64.c logging: Add qemu_x86_64 backend 2019-07-18 18:16:39 -04:00
log_backend_rtt.c logging: Removing redundant code from RTT backend 2019-07-18 18:16:39 -04:00
log_backend_std.h logging: Add header with common log backend functions 2019-07-18 18:16:39 -04:00
log_backend_swo.c logging: Removing redundant code from SWO backend 2019-07-18 18:16:39 -04:00
log_backend_uart.c logging: Removing redundant code from UART backend 2019-07-18 18:16:39 -04:00
log_backend_xtensa_sim.c logging: Removing redundant code from xtensa sim backend 2019-07-18 18:16:39 -04:00
log_cmds.c
log_core.c logging: Do not use CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC 2019-07-24 15:10:02 +02:00
log_list.c
log_list.h
log_msg.c
log_output.c