summaryrefslogtreecommitdiff
path: root/components/drivers/Kconfig
diff options
context:
space:
mode:
authora1012112796 <[email protected]>2019-11-26 07:41:43 +0800
committera1012112796 <[email protected]>2019-11-26 07:41:43 +0800
commitab981a32b54b5be3426bbf7f6caf62624714daf4 (patch)
tree5236e93ab1e4e24508d4ebf4540b6743dd7c9a41 /components/drivers/Kconfig
parent86e61ddfc342456df16d4d3d279d0f271c762349 (diff)
[Device/I2C] Chang debug message print way to ulog
Diffstat (limited to 'components/drivers/Kconfig')
-rwxr-xr-xcomponents/drivers/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/components/drivers/Kconfig b/components/drivers/Kconfig
index c2e6d3a411..12b82671e3 100755
--- a/components/drivers/Kconfig
+++ b/components/drivers/Kconfig
@@ -88,11 +88,21 @@ config RT_USING_I2C
default n
if RT_USING_I2C
+ config RT_I2C_DEBUG
+ bool "Use I2C debug mesage"
+ default n
+
config RT_USING_I2C_BITOPS
bool "Use GPIO to simulate I2C"
default y
endif
+if RT_USING_I2C_BITOPS
+ config RT_I2C_BITOPS_DEBUG
+ bool "Use simulate I2C debug mesage"
+ default n
+endif
+
config RT_USING_PIN
bool "Using generic GPIO device drivers"
default y