Centralize definitions associated with CONFIG_DEBUG_I2C

This commit is contained in:
Gregory Nutt
2016-06-15 16:30:12 -06:00
parent 63b1eb09e6
commit 5c89b18af8
14 changed files with 94 additions and 133 deletions
+28 -2
View File
@@ -1081,14 +1081,40 @@ config DEBUG_GPIO_INFO
endif # DEBUG_GPIO
config DEBUG_I2C
bool "I2C Debug Output"
bool "I2C Debug Features"
default n
depends on I2C
---help---
Enable I2C driver debug SYSLOG output (disabled by default).
Enable I2C debug features.
Support for this debug option is architecture-specific and may not
be available for some MCUs.
if DEBUG_I2C
config DEBUG_I2C_ERROR
bool "I2C Error Output"
default n
depends on DEBUG_ERROR
---help---
Enable I2C driver error output to SYSLOG.
config DEBUG_I2C_WARN
bool "I2C Warnings Output"
default n
depends on DEBUG_WARN
---help---
Enable I2C drive warning output to SYSLOG.
config DEBUG_I2C_INFO
bool "I2C Informational Output"
default n
depends on DEBUG_INFO
---help---
Enable I2C drive informational output to SYSLOG.
endif # DEBUG_I2C
config DEBUG_I2S
bool "I2S Debug Output"
default n