Date
1 - 1 of 1
RFC: removing eeprom_slave as driver in Zephyr
Peter A. Bigot
The eeprom_slave driver accessed under CONFIG_I2C_EEPROM_SLAVE implements the I2C follower (slave) driver API. This device isn't an actual hardware driver: it's a virtual EEPROM that stores data in an instance-specific RAM buffer, with the data exposed on an I2C bus as a I2C follower device that can be controlled by another device acting as a leader (master) on that same bus.
As such it's a reasonable example of how to write an I2C follower driver, but it's not clear that it has a real use in applications: the sole in-tree reference is in the i2c_slave_api test. Unless this driver has real-world applications I intend to move this from the drivers directory into the source directory for the test that uses it. Consequently CONFIG_I2C_EEPROM_SLAVE and the device it provided will no longer be supported. If you have a use for this driver or other concerns about this please comment at: https://github.com/zephyrproject-rtos/zephyr/issues/27303 Peter
|
|