Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions subsys/logging/backends/log_backend_swo.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ PINCTRL_DT_DEFINE(DT_NODELABEL(itm));
((CONFIG_LOG_BACKEND_SWO_REF_FREQ_HZ + (CONFIG_LOG_BACKEND_SWO_FREQ_HZ / 2)) / \
CONFIG_LOG_BACKEND_SWO_FREQ_HZ)

#if SWO_FREQ_DIV > 0xFFFF
#error CONFIG_LOG_BACKEND_SWO_FREQ_HZ is too low. SWO clock divider is 16-bit. \
#if SWO_FREQ_DIV > 0x1FFF
#error CONFIG_LOG_BACKEND_SWO_FREQ_HZ is too low. SWO clock divider is 13-bit. \
Minimum supported SWO clock frequency is \
[Reference Clock Frequency]/2^16.
#endif
Expand Down