1# Copyright (c) 2024 Contributors to the logging subsystem.
2# SPDX-License-Identifier: Apache-2.0
3
4config LOG_BACKEND_SEMIHOST
5	bool "Semihost as backend"
6	depends on SEMIHOST
7	select LOG_BACKEND_SUPPORTS_FORMAT_TIMESTAMP
8	help
9	  Enable backend in semihost (using host stdout)
10
11if LOG_BACKEND_SEMIHOST
12
13config LOG_BACKEND_SEMIHOST_BUFFER_SIZE
14	int "Size of reserved up-buffer for logger output."
15	default 256
16	help
17	  Specify reserved size of up-buffer used for logger output.
18
19config LOG_BACKEND_SEMIHOST_AUTOSTART
20	bool "Autostart semihost backend"
21	default y
22	help
23	  Enable semihost backend to start automatically.
24
25backend = SEMIHOST
26backend-str = semihost
27source "subsys/logging/Kconfig.template.log_format_config"
28
29endif # LOG_BACKEND_SEMIHOST
30