summaryrefslogtreecommitdiff
path: root/apps/system/i2c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-04-14 20:01:08 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-04-14 20:01:08 +0000
commit9bb8a758ba47732e5a172bd4036b0ea12a08d7f9 (patch)
tree48c981689060f4b6bbbcd366051a377e96890318 /apps/system/i2c
parent5a84bb395dd15c5c333b26a588de89eb497f0b83 (diff)
downloadnuttx-9bb8a758ba47732e5a172bd4036b0ea12a08d7f9.tar.gz
nuttx-9bb8a758ba47732e5a172bd4036b0ea12a08d7f9.tar.bz2
nuttx-9bb8a758ba47732e5a172bd4036b0ea12a08d7f9.zip
Developing a new way to handle application configurations
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4609 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/system/i2c')
-rw-r--r--apps/system/i2c/Kconfig12
1 files changed, 10 insertions, 2 deletions
diff --git a/apps/system/i2c/Kconfig b/apps/system/i2c/Kconfig
index 6922464f8..f21ee21c1 100644
--- a/apps/system/i2c/Kconfig
+++ b/apps/system/i2c/Kconfig
@@ -3,7 +3,15 @@
# see misc/tools/kconfig-language.txt.
#
-#if I2C
+
+config SYSTEM_I2CTOOL
+ bool "I2C tool"
+ default n
+ depends on I2C
+ ---help---
+ Enable support for the I2C tool.
+
+if SYSTEM_I2CTOOL
config I2CTOOL_BUILTIN
bool "NSH built-in command"
default y
@@ -47,4 +55,4 @@ config I2CTOOL_DEFFREQ
---help---
Default I2C frequency (default: 4000000)
-#endif \ No newline at end of file
+endif \ No newline at end of file