emul: Add an emulator for the Atmel AT24 series
This emulator supports basic reads and writes with 8-bit addressing. It connects itself to any AT24 devices it finds in the device tree. The I2C emulation controller driver is used to direct I2C messages from the AT24 driver to the AT24 emulator. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
This commit is contained in:
parent
49f2167974
commit
d1adbc2133
5 changed files with 192 additions and 0 deletions
|
@ -3,3 +3,4 @@
|
|||
zephyr_library()
|
||||
|
||||
zephyr_library_sources_ifdef(CONFIG_EMUL emul.c)
|
||||
add_subdirectory(i2c)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue