2016-01-26 16:58:18 +01:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
|
|
#
|
|
|
|
|
|
|
|
if I2C
|
|
|
|
|
|
|
|
config I2C_SLAVE
|
|
|
|
bool "I2C Slave"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config I2C_POLLED
|
|
|
|
bool "Polled I2C (no interrupts)"
|
|
|
|
default n
|
|
|
|
|
2016-02-02 15:30:54 +01:00
|
|
|
config I2C_RESET
|
2016-02-02 18:21:48 +01:00
|
|
|
bool "Support I2C reset interface method"
|
2016-02-02 15:30:54 +01:00
|
|
|
default n
|
|
|
|
depends on ARCH_HAVE_I2CRESET
|
|
|
|
|
2016-01-26 16:58:18 +01:00
|
|
|
config I2C_TRACE
|
|
|
|
bool "Enable I2C trace debug"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config I2C_NTRACE
|
|
|
|
int "Number of I2C trace records"
|
|
|
|
default 32
|
|
|
|
depends on I2C_TRACE
|
|
|
|
|
2016-02-02 15:30:54 +01:00
|
|
|
config I2C_DRIVER
|
|
|
|
bool "I2C character driver"
|
2016-01-26 16:58:18 +01:00
|
|
|
default n
|
2016-08-05 19:07:35 +02:00
|
|
|
---help---
|
|
|
|
Build in support for a character driver at /dev/i2c[N] that may be
|
|
|
|
used to perform I2C bus transfers from applications. The intent of
|
|
|
|
this driver is to support I2C testing. It is not suitable for use
|
|
|
|
in any real driver application.
|
2016-01-26 16:58:18 +01:00
|
|
|
|
|
|
|
endif # I2C
|