diff options
author | px4dev <px4@purgatory.org> | 2012-08-04 15:12:36 -0700 |
---|---|---|
committer | px4dev <px4@purgatory.org> | 2012-08-04 15:12:36 -0700 |
commit | 8a365179eafdf3aea98e60ab9f5882b200d4c759 (patch) | |
tree | 4f38d6d4cd80bd0b6e22e2bb534c3f117ce44e56 /apps/system/i2c/Kconfig | |
download | px4-firmware-8a365179eafdf3aea98e60ab9f5882b200d4c759.tar.gz px4-firmware-8a365179eafdf3aea98e60ab9f5882b200d4c759.tar.bz2 px4-firmware-8a365179eafdf3aea98e60ab9f5882b200d4c759.zip |
Fresh import of the PX4 firmware sources.
Diffstat (limited to 'apps/system/i2c/Kconfig')
-rw-r--r-- | apps/system/i2c/Kconfig | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/apps/system/i2c/Kconfig b/apps/system/i2c/Kconfig new file mode 100644 index 000000000..745378b37 --- /dev/null +++ b/apps/system/i2c/Kconfig @@ -0,0 +1,61 @@ +# +# 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) |