1# Copyright (c) 2021 Nordic Semiconductor ASA
2# SPDX-License-Identifier: Apache-2.0
3
4config LOG_BACKEND_XTENSA_SIM
5	bool "Xtensa simulator backend"
6	depends on SOC_XTENSA_SAMPLE_CONTROLLER || SOC_XTENSA_DC233C || SOC_FAMILY_INTEL_ADSP
7	default y if SOC_XTENSA_SAMPLE_CONTROLLER || SOC_XTENSA_DC233C
8	select LOG_BACKEND_SUPPORTS_FORMAT_TIMESTAMP
9	help
10	  Enable backend in xtensa simulator
11
12config LOG_BACKEND_XTENSA_OUTPUT_BUFFER_SIZE
13	int "Size of the output buffer"
14	default 16
15	depends on LOG_BACKEND_XTENSA_SIM
16	help
17	  Buffer is used by log_output module for preparing output data (e.g.
18	  string formatting).
19
20if LOG_BACKEND_XTENSA_SIM
21
22backend = XTENSA_SIM
23backend-str = xtensa_sim
24source "subsys/logging/Kconfig.template.log_format_config"
25
26endif # LOG_BACKEND_XTENSA_SIM
27