CONFIG_SYS_LOG_SPI_LEVEL

SPI Driver Log level

Type: int

Help

Sets log level for SPI drivers.

Levels are:

  • 0 OFF, do not write
  • 1 ERROR, only write SYS_LOG_ERR
  • 2 WARNING, write SYS_LOG_WRN in addition to previous level
  • 3 INFO, write SYS_LOG_INF in addition to previous levels
  • 4 DEBUG, write SYS_LOG_DBG in addition to previous levels

Direct dependencies

SYS_LOG && SPI

(Includes any dependencies from if’s and menus.)

Defaults

Kconfig definition

At drivers/spi/Kconfig:37

Included via Kconfig:10Kconfig.zephyr:29drivers/Kconfig:38

Menu path: (top menu) → Device Drivers → SPI hardware bus support

config SYS_LOG_SPI_LEVEL
    int
    prompt "SPI Driver Log level" if SYS_LOG && SPI
    range 0 4 if SYS_LOG && SPI
    default 0 if SYS_LOG && SPI
    depends on SYS_LOG && SPI
    help
      Sets log level for SPI drivers.

      Levels are:

        - 0 OFF, do not write

        - 1 ERROR, only write SYS_LOG_ERR

        - 2 WARNING, write SYS_LOG_WRN in addition to previous level

        - 3 INFO, write SYS_LOG_INF in addition to previous levels

        - 4 DEBUG, write SYS_LOG_DBG in addition to previous levels

(Definitions include propagated dependencies, including from if’s and menus.)