diff options
author | Xelus22 <17491233+Xelus22@users.noreply.github.com> | 2022-06-04 10:53:24 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-04 01:53:24 +0100 |
commit | af84772a5f350c404bfad8f5b138f990828eac45 (patch) | |
tree | 605e47611fc09e75cae47a386db526f9ea63f53e /drivers | |
parent | b1a3f806f5d844e335e832b17d8d51943863eb70 (diff) | |
download | qmk_firmware-af84772a5f350c404bfad8f5b138f990828eac45.tar.gz qmk_firmware-af84772a5f350c404bfad8f5b138f990828eac45.zip |
initial 24lc32a (#16990)
Diffstat (limited to 'drivers')
-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 77eea66d63..85317c9ea5 100644 --- a/drivers/eeprom/eeprom_i2c.h +++ b/drivers/eeprom/eeprom_i2c.h @@ -54,6 +54,11 @@ # define EXTERNAL_EEPROM_PAGE_SIZE 32 # define EXTERNAL_EEPROM_ADDRESS_SIZE 2 # define EXTERNAL_EEPROM_WRITE_TIME 5 +#elif defined(EEPROM_I2C_24LC32A) +# define EXTERNAL_EEPROM_BYTE_COUNT 4096 +# 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 |