2014-11-27 03:55:34 +08:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2015-06-28 22:08:57 +08:00
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
2014-11-27 03:55:34 +08:00
|
|
|
#
|
|
|
|
|
2014-11-28 01:08:27 +08:00
|
|
|
if EEPROM
|
2014-11-27 03:55:34 +08:00
|
|
|
config SPI_EE_25XX
|
2018-02-14 21:53:01 +08:00
|
|
|
bool "Microchip 25xxNNN / Atmel AT25NNN / ST M95NNN SPI EEPROM devices"
|
2014-11-27 03:55:34 +08:00
|
|
|
default n
|
2014-11-28 01:08:27 +08:00
|
|
|
depends on SPI
|
2014-11-27 03:55:34 +08:00
|
|
|
---help---
|
2018-02-14 21:53:01 +08:00
|
|
|
This selection enables support for the Microchip/Atmel/ST SPI EEPROM
|
2014-11-27 03:55:34 +08:00
|
|
|
devices
|
|
|
|
|
|
|
|
if SPI_EE_25XX
|
|
|
|
|
|
|
|
config EE25XX_SPIMODE
|
|
|
|
int "SPI mode (0-3)"
|
|
|
|
default 0
|
|
|
|
depends on SPI_EE_25XX
|
|
|
|
|
2019-03-20 20:54:08 +08:00
|
|
|
config EE25XX_FREQUENCY
|
|
|
|
int "SPI EEPROM SCK frequency"
|
|
|
|
default 10000000
|
|
|
|
depends on SPI_EE_25XX
|
|
|
|
|
2014-11-28 01:08:27 +08:00
|
|
|
endif # SPI_EE_25XX
|
2018-02-14 21:53:01 +08: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
|
|
|
|
|
|
|
|
endif # I2C_EE_24XX
|
|
|
|
|
2014-11-28 01:08:27 +08:00
|
|
|
endif # EEPROM
|