emul: Add an emulator for the eSPI Host
This emulator pretends a generic eSPI Host. It supports basic virtual wires and port80 operations. There are functions to trigger actions on the host side e.g. for setting a virtual wire from the host to the eSPI slave, use emul_espi_host_send_vw. It will prepare data and set a proper event on the slave side which will trigger callback (if there is any). Signed-off-by: Dawid Niedzwiecki <dn@semihalf.com>
This commit is contained in:
parent
d1948dc164
commit
6ec4ff22e3
6 changed files with 298 additions and 0 deletions
|
@ -9,3 +9,4 @@ zephyr_library_sources_ifdef(CONFIG_EMUL_BMI160 emul_bmi160.c)
|
|||
|
||||
add_subdirectory(i2c)
|
||||
add_subdirectory(spi)
|
||||
add_subdirectory(espi)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue