2012-04-06 18:33:17 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2012-04-06 18:45:52 +02:00
|
|
|
# see misc/tools/kconfig-language.txt.
|
2012-04-06 18:33:17 +02:00
|
|
|
#
|
2012-04-11 20:12:03 +02:00
|
|
|
|
2012-04-14 22:01:08 +02:00
|
|
|
|
|
|
|
config SYSTEM_I2CTOOL
|
|
|
|
bool "I2C tool"
|
|
|
|
default n
|
|
|
|
depends on I2C
|
|
|
|
---help---
|
|
|
|
Enable support for the I2C tool.
|
|
|
|
|
2012-04-11 20:12:03 +02:00
|
|
|
config I2CTOOL_BUILTIN
|
2012-04-12 23:52:04 +02:00
|
|
|
bool "NSH built-in command"
|
2012-04-11 20:12:03 +02:00
|
|
|
default y
|
2012-04-14 22:22:48 +02:00
|
|
|
depends on SYSTEM_I2CTOOL && NSH_BUILTIN_APPS
|
2012-04-11 20:12:03 +02:00
|
|
|
---help---
|
|
|
|
Build the tools as an NSH built-in command
|
|
|
|
|
|
|
|
config I2CTOOL_MINBUS
|
|
|
|
int "Minimum bus number"
|
|
|
|
default 0
|
2012-04-14 22:22:48 +02:00
|
|
|
depends on SYSTEM_I2CTOOL
|
2012-04-11 20:12:03 +02:00
|
|
|
---help---
|
|
|
|
Smallest bus index supported by the hardware (default 0).
|
|
|
|
|
|
|
|
config I2CTOOL_MAXBUS
|
|
|
|
int "Maximum bus number"
|
2012-04-14 22:22:48 +02:00
|
|
|
depends on SYSTEM_I2CTOOL
|
2012-04-11 20:12:03 +02:00
|
|
|
default 3
|
|
|
|
---help---
|
|
|
|
Largest bus index supported by the hardware (default 3)
|
|
|
|
|
|
|
|
config I2CTOOL_MINADDR
|
2012-04-12 23:52:04 +02:00
|
|
|
hex "Minimum I2C address"
|
2012-04-14 22:22:48 +02:00
|
|
|
depends on SYSTEM_I2CTOOL
|
2012-04-11 20:12:03 +02:00
|
|
|
default 0x03
|
|
|
|
---help---
|
|
|
|
Minium 7-bit device address (default: 0x03)
|
|
|
|
|
|
|
|
config I2CTOOL_MAXADDR
|
2012-04-12 23:52:04 +02:00
|
|
|
hex "Maximum I2C address"
|
2012-04-14 22:22:48 +02:00
|
|
|
depends on SYSTEM_I2CTOOL
|
2012-04-11 20:12:03 +02:00
|
|
|
default 0x77
|
|
|
|
---help---
|
|
|
|
Largest 7-bit device address (default: 0x77)
|
|
|
|
|
|
|
|
config I2CTOOL_MAXREGADDR
|
2012-04-12 23:52:04 +02:00
|
|
|
hex "Maximum I2C register address"
|
2012-04-11 20:12:03 +02:00
|
|
|
default 0xff
|
2012-04-14 22:22:48 +02:00
|
|
|
depends on SYSTEM_I2CTOOL
|
2012-04-11 20:12:03 +02:00
|
|
|
---help---
|
|
|
|
Largest I2C register address (default: 0xff)
|
|
|
|
|
|
|
|
config I2CTOOL_DEFFREQ
|
|
|
|
int "Default I2C frequency"
|
|
|
|
default 4000000
|
2012-04-14 22:22:48 +02:00
|
|
|
depends on SYSTEM_I2CTOOL
|
2012-04-11 20:12:03 +02:00
|
|
|
---help---
|
|
|
|
Default I2C frequency (default: 4000000)
|