Files
nuttx/drivers/1wire/Kconfig
Stepan Pressl 84b0492fbd drivers/1wire/1wire_ds2xxx.h: add the driver for DS2XXX eeproms.
Supports these Maxim/Analog Devices eeproms with a scratchpad:
DS2430,2431,2432,2433,28E04,28E07,28EC20.

For each type of an eeprom, you create a new driver.
Other than that, the driver is file oriented and supports seeks,
for example.

Signed-off-by: Stepan Pressl <pressl.stepan@gmail.com>
2025-10-10 08:55:45 +02:00

45 lines
1005 B
Plaintext

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
menuconfig 1WIRE
bool "1wire Device Support"
default n
---help---
Drivers for various 1wire devices.
if 1WIRE
config 1WIRE_DS28E17
bool "DS28E17 1-wire to I2C converter"
default n
depends on I2C
---help---
Enable support for the Maxim DS28E17 1-wire to I2C converter
config 1WIRE_EE_DS2XXX
bool "Support for Maxim/Analog Devices 1wire DS2XXX EEPROM devices"
default n
depends on 1WIRE
---help---
Enable support for 1WIRE DS2XXX EEPROMs.
The list of supported devices:
DS2430: 32 bytes, 1 page
DS2431: 128 bytes, 4 pages
DS2432: 128 bytes, 4 pages
DS2433: 512 bytes, 16 pages
DS28E04: 512 bytes, 16 pages
DS28E07: 128 bytes, 4 pages
DS28EC20: 2560 bytes, 32 pages
if 1WIRE_EE_DS2XXX
config 1WIRE_EE_DS2XXX_MEMSONBUS
int "Maximum number of DS2XXX eeproms on the same bus"
default 10
endif # 1WIRE_EE_DS2XXX
endif # 1WIRE