~/talk

Streamlining Testing with Generic Tests and Emulators

links:none on file
slides:none on file

Generic tests plus a standardized emulator backend API claim to cut driver test work by letting one test exercise many devices; Zephyr implements set_channel and get_sample_range on emulators, uses q31 fixed‑point with a shift value for precision, and samples five interpolated points across each channel. The generic test runs in native_posix CI, is live in Zephyr with a few sensors already using it, and adding an emulator plus backend typically takes about half to one day while validating the data path end to end.

AI-written summary · about

  1. 0:00Zephyr emulation and testing intro
  2. 1:47Zephyr emulators overview
  3. 4:13Emulation testing for sensor drivers
  4. 8:10Standardizing emulator APIs
  5. 10:18Backend API structure
  6. 13:51Fix-point numbers in sensors V2
  7. 19:33AKM9918C sensor backend
  8. 24:46Generic test in Zephyr
  9. 29:02Benefits and call to action
  10. 30:26References and closing
  11. 31:08Q&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.