Files
luban-lite-t3e-pro/packages/third-party/i2c-tools/Kconfig
刘可亮 7bbc029dae v1.0.0
2023-08-30 16:21:18 +08:00

30 lines
744 B
Plaintext

# Kconfig file for package I2C_TOOLS
menuconfig LPKG_USING_I2C_TOOLS
bool "i2c-tools: a collection of i2c tools including scan/read/write"
select RT_USING_PIN
select RT_USING_LIBC if RT_VER_NUM < 0x40100
select RT_USING_I2C
select RT_USING_I2C_BITOPS
select RT_USING_CPLUSPLUS
default n
if LPKG_USING_I2C_TOOLS
config LPKG_I2C_TOOLS_PATH
string
default "/packages/peripherals/i2c-tools"
config I2C_TOOLS_USE_SW_I2C
bool "Use sofware I2C"
help
Use software i2c instead of hardware
default n
if I2C_TOOLS_USE_SW_I2C
config I2C_TOOLS_SW_ACK_TIMEOUT
int "Software I2C ACK timeout in microseconds"
default "100"
endif
endif