forked from intel/ecfw-zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdebug.conf
30 lines (25 loc) · 880 Bytes
/
debug.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# SPDX-License-Identifier: Apache-2.0
# -------------------------------------------------------------------
# Modify as needed for development with custom debug logs
# Usage:
# west build -c -p <BOARD> -- -DOVERLAY_CONFIG=debug.conf
# -------------------------------------------------------------------
# Reduce log messages discarded by increasing log buffer size
CONFIG_LOG_BUFFER_SIZE=1024
# Minimum power sequencing logs
CONFIG_EC_DEBUG_LOG_LEVEL=y
CONFIG_SMCHOST_LOG_LEVEL=2
CONFIG_PERIPHERAL_LOG_LEVEL=4
CONFIG_PWRMGT_LOG_LEVEL=4
CONFIG_ESPIHUB_LOG_LEVEL=4
CONFIG_BOARD_LOG_LEVEL=4
CONFIG_SPI_NOR_FLASH_LOG_LEVEL=4
CONFIG_I2C_HUB_LOG_LEVEL=2
# USBC
# CONFIG_USBC_LOG_LEVEL=4
# Remove PECI legacy FIFO reset warning on each transaction
CONFIG_PECI_LOG_LEVEL_OFF=y
CONFIG_SPI_LOG_LEVEL_WRN=y
# JTAG RTOS awareness
CONFIG_THREAD_MONITOR=y
CONFIG_THREAD_STACK_INFO=y