logging: Move frontends to the dedicated directory

As there are more frontends coming in the future move existing
frontend to the dedicated directory (like backends).

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
This commit is contained in:
Krzysztof Chruściński 2024-04-25 08:11:59 +02:00 committed by Anas Nashif
commit 0fdf13c85c
5 changed files with 8 additions and 6 deletions

View file

@ -43,17 +43,13 @@ if(NOT CONFIG_LOG_MODE_MINIMAL)
log_cmds.c
)
zephyr_sources_ifdef(
CONFIG_LOG_FRONTEND_DICT_UART
log_frontend_dict_uart.c
)
zephyr_sources_ifdef(
CONFIG_LOG_DICTIONARY_SUPPORT
log_output_dict.c
)
add_subdirectory(backends)
add_subdirectory(frontends)
# For some reason, running sys-t with catalog message on
# Cortex-M0 would result in hard fault in mipi_catalog_formatter()

View file

@ -37,7 +37,7 @@ endif # !LOG_MODE_MINIMAL
if LOG_FRONTEND
rsource "Kconfig.frontends"
rsource "frontends/Kconfig"
endif #LOG_FRONTEND

View file

@ -0,0 +1,6 @@
# SPDX-License-Identifier: Apache-2.0
zephyr_sources_ifdef(
CONFIG_LOG_FRONTEND_DICT_UART
log_frontend_dict_uart.c
)