You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
1.3 KiB
61 lines
1.3 KiB
# |
|
# For a description of the syntax of this configuration file, |
|
# see misc/tools/kconfig-language.txt. |
|
# |
|
|
|
|
|
config SYSTEM_I2CTOOL |
|
bool "I2C tool" |
|
default n |
|
depends on I2C |
|
---help--- |
|
Enable support for the I2C tool. |
|
|
|
config I2CTOOL_BUILTIN |
|
bool "NSH built-in command" |
|
default y |
|
depends on SYSTEM_I2CTOOL && NSH_BUILTIN_APPS |
|
---help--- |
|
Build the tools as an NSH built-in command |
|
|
|
config I2CTOOL_MINBUS |
|
int "Minimum bus number" |
|
default 0 |
|
depends on SYSTEM_I2CTOOL |
|
---help--- |
|
Smallest bus index supported by the hardware (default 0). |
|
|
|
config I2CTOOL_MAXBUS |
|
int "Maximum bus number" |
|
depends on SYSTEM_I2CTOOL |
|
default 3 |
|
---help--- |
|
Largest bus index supported by the hardware (default 3) |
|
|
|
config I2CTOOL_MINADDR |
|
hex "Minimum I2C address" |
|
depends on SYSTEM_I2CTOOL |
|
default 0x03 |
|
---help--- |
|
Minium 7-bit device address (default: 0x03) |
|
|
|
config I2CTOOL_MAXADDR |
|
hex "Maximum I2C address" |
|
depends on SYSTEM_I2CTOOL |
|
default 0x77 |
|
---help--- |
|
Largest 7-bit device address (default: 0x77) |
|
|
|
config I2CTOOL_MAXREGADDR |
|
hex "Maximum I2C register address" |
|
default 0xff |
|
depends on SYSTEM_I2CTOOL |
|
---help--- |
|
Largest I2C register address (default: 0xff) |
|
|
|
config I2CTOOL_DEFFREQ |
|
int "Default I2C frequency" |
|
default 4000000 |
|
depends on SYSTEM_I2CTOOL |
|
---help--- |
|
Default I2C frequency (default: 4000000)
|
|
|