Skip to content
Commit b3f0c79e authored by Simon Glass's avatar Simon Glass Committed by Anas Nashif
Browse files

native_posix: Use the I2C emulator for the EEPROM test too



At present this test uses an EEPROM emulator. Reuse the same test to
also use the real Atmel AT2x driver and an AT24 emulator, via the I2C
emulation controller.

EEPROM reads and writes for eeprom1 go through the AT2x driver, which
converts them to I2C transactions, which are passed through to the
AT24 emulator for processing. This approach makes more use of 'real'
code, in this case the Atmel AT2x driver.

Signed-off-by: default avatarPeter Bigot <peter.bigot@nordicsemi.no>
Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent d1adbc21
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment