~/talk

Zephyr Off-Chip Peripheral Emulation

Talkat Zephyr Developer Summit 2023 · 2023-06-27..06-30· [testing, web-platform]
links:none on file
slides:none on file

Zephyr provides off‑chip peripheral emulation for driver testing that runs in native_posix or QEMU, intercepts bus transactions (I2C/SPI/ESPI) at the bus-transaction level, and implements a small bus API (~50 lines) plus a backend API to inject conditions like low battery or temperature; typical emulators are about 400 lines of C, plug into device tree, run deterministically in CI, and Google reports moving driver coverage from 30% to 90% using this approach, so the emulators are cheap to build and effective at catching regressions.

AI-written summary · about

  1. 0:00Off-chip peripheral emulation intro
  2. 1:51Peripheral emulators in Zephyr
  3. 7:04Emulation cost and benefits
  4. 11:18Emulation in project lifecycle
  5. 15:15Step-by-step emulator creation
  6. 21:57Emulators in Zephyr tests
  7. 24:24Future Zephyr emulation improvements
  8. 26:52Google's emulation success story
  9. 37:15Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.