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:
parent
fc162f74c0
commit
0fdf13c85c
5 changed files with 8 additions and 6 deletions
|
@ -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()
|
||||
|
|
|
@ -37,7 +37,7 @@ endif # !LOG_MODE_MINIMAL
|
|||
|
||||
if LOG_FRONTEND
|
||||
|
||||
rsource "Kconfig.frontends"
|
||||
rsource "frontends/Kconfig"
|
||||
|
||||
endif #LOG_FRONTEND
|
||||
|
||||
|
|
6
subsys/logging/frontends/CMakeLists.txt
Normal file
6
subsys/logging/frontends/CMakeLists.txt
Normal file
|
@ -0,0 +1,6 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
zephyr_sources_ifdef(
|
||||
CONFIG_LOG_FRONTEND_DICT_UART
|
||||
log_frontend_dict_uart.c
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue