diff options
Diffstat (limited to 'apps/system/i2c/Kconfig')
-rw-r--r-- | apps/system/i2c/Kconfig | 12 |
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 |