diff options
author | Xelus22 <17491233+Xelus22@users.noreply.github.com> | 2020-12-13 18:50:50 +0000 |
---|---|---|
committer | Drashna Jael're <drashna@live.com> | 2021-01-12 22:46:08 -0800 |
commit | ec485c962dec7a0403f7fb3c2120f18975558a07 (patch) | |
tree | 13c5a9a8d1e855bf42a0c4b191ad17f44b252179 /drivers/eeprom/eeprom_i2c.h | |
parent | 7f03ebaf727ce7c47b533a9d2b6fba6431593025 (diff) |
Add i2c 24LC64 eeprom (#11200)
* add 24LC64 eeprom
* docs update
* Update docs/eeprom_driver.md
Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: Joel Challis <git@zvecr.com>
Diffstat (limited to 'drivers/eeprom/eeprom_i2c.h')
-rw-r--r-- | drivers/eeprom/eeprom_i2c.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/eeprom/eeprom_i2c.h b/drivers/eeprom/eeprom_i2c.h index 51bce825b0..77eea66d63 100644 --- a/drivers/eeprom/eeprom_i2c.h +++ b/drivers/eeprom/eeprom_i2c.h @@ -49,6 +49,11 @@ # define EXTERNAL_EEPROM_PAGE_SIZE 64 # define EXTERNAL_EEPROM_ADDRESS_SIZE 2 # define EXTERNAL_EEPROM_WRITE_TIME 5 +#elif defined(EEPROM_I2C_24LC64) +# define EXTERNAL_EEPROM_BYTE_COUNT 8192 +# define EXTERNAL_EEPROM_PAGE_SIZE 32 +# define EXTERNAL_EEPROM_ADDRESS_SIZE 2 +# define EXTERNAL_EEPROM_WRITE_TIME 5 #elif defined(EEPROM_I2C_MB85RC256V) # define EXTERNAL_EEPROM_BYTE_COUNT 32768 # define EXTERNAL_EEPROM_PAGE_SIZE 128 |