drivers/eeprom/i2c_xx24xx.c and include/nuttx/eeprom/i2c_xx24xx.h: Add support to Microchip AT24CM02
This commit is contained in:
parent
9fc4e6b0c4
commit
1325c98f97
@ -188,6 +188,7 @@ static const struct ee24xx_geom_s g_ee24xx_devices[] =
|
||||
{ 9, 4, 2, 0, 0}, /* 24xx512 65536 128 2 */
|
||||
{10, 4, 2, 1, 1}, /* 24xx1025 131072 128 2 Shifted address, todo */
|
||||
{10, 4, 2, 1, 0}, /* 24xx1026 131072 128 2 */
|
||||
{11, 5, 2, 2, 0}, /* AT24CM02 262144 256 2 */
|
||||
|
||||
/* STM devices */
|
||||
|
||||
|
@ -59,6 +59,7 @@ enum eeprom_24xx_e
|
||||
EEPROM_24xx512,
|
||||
EEPROM_24xx1025,
|
||||
EEPROM_24xx1026,
|
||||
EEPROM_24cm02,
|
||||
|
||||
/* Atmel geometries - none... */
|
||||
|
||||
@ -81,6 +82,7 @@ enum eeprom_24xx_e
|
||||
EEPROM_AT24C256 = EEPROM_24xx256,
|
||||
EEPROM_AT24C512 = EEPROM_24xx512,
|
||||
EEPROM_AT24C1024 = EEPROM_24xx1026,
|
||||
EEPROM_AT24CM02 = EEPROM_24cm02,
|
||||
|
||||
EEPROM_M24C04 = EEPROM_24xx04,
|
||||
EEPROM_M24C08 = EEPROM_24xx08,
|
||||
|
Loading…
Reference in New Issue
Block a user