2014-11-26 20:55:34 +01:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2015-06-28 16:08:57 +02:00
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
2014-11-26 20:55:34 +01:00
|
|
|
#
|
|
|
|
|
2020-02-08 08:30:09 +01:00
|
|
|
if EEPROM
|
|
|
|
|
2014-11-26 20:55:34 +01:00
|
|
|
config SPI_EE_25XX
|
2018-02-14 14:53:01 +01:00
|
|
|
bool "Microchip 25xxNNN / Atmel AT25NNN / ST M95NNN SPI EEPROM devices"
|
2014-11-26 20:55:34 +01:00
|
|
|
default n
|
2014-11-27 18:08:27 +01:00
|
|
|
depends on SPI
|
2014-11-26 20:55:34 +01:00
|
|
|
---help---
|
2018-02-14 14:53:01 +01:00
|
|
|
This selection enables support for the Microchip/Atmel/ST SPI EEPROM
|
2014-11-26 20:55:34 +01:00
|
|
|
devices
|
|
|
|
|
|
|
|
if SPI_EE_25XX
|
|
|
|
|
|
|
|
config EE25XX_SPIMODE
|
|
|
|
int "SPI mode (0-3)"
|
|
|
|
default 0
|
|
|
|
depends on SPI_EE_25XX
|
|
|
|
|
2019-03-20 13:54:08 +01:00
|
|
|
config EE25XX_FREQUENCY
|
|
|
|
int "SPI EEPROM SCK frequency"
|
|
|
|
default 10000000
|
|
|
|
depends on SPI_EE_25XX
|
|
|
|
|
2014-11-27 18:08:27 +01:00
|
|
|
endif # SPI_EE_25XX
|
2018-02-14 14:53:01 +01:00
|
|
|
|
|
|
|
config I2C_EE_24XX
|
|
|
|
bool "Microchip 24xxNNN / Atmel AT24NNN / ST M24NNN I2C EEPROM devices"
|
|
|
|
default n
|
|
|
|
depends on I2C
|
|
|
|
---help---
|
|
|
|
This selection enables support for the Microchip/Atmel/ST I2C EEPROM
|
|
|
|
devices
|
|
|
|
|
|
|
|
if I2C_EE_24XX
|
|
|
|
|
|
|
|
config EE24XX_FREQUENCY
|
|
|
|
int "I2C EEPROM frequency (100000 or 400000)"
|
|
|
|
default 100000
|
|
|
|
depends on I2C_EE_24XX
|
|
|
|
|
2019-08-21 15:41:16 +02:00
|
|
|
config AT24CS_UUID
|
2019-10-06 05:39:12 +02:00
|
|
|
bool "Device driver support for Atmel AT24CSxx UUID"
|
|
|
|
default n
|
2019-08-21 15:41:16 +02:00
|
|
|
depends on I2C_EE_24XX
|
|
|
|
---help---
|
|
|
|
The Atmel AT24CSxx family have a 128-bit UUID which appears as
|
|
|
|
another I2C slave whose address is offset from the EEPROM by +8.
|
|
|
|
This option registers a char device driver with the ".uuid" suffix.
|
|
|
|
|
2018-02-14 14:53:01 +01:00
|
|
|
endif # I2C_EE_24XX
|
2020-02-08 08:30:09 +01:00
|
|
|
|
|
|
|
endif
|