~/talk

A Dive into Zephyr Device Driver Model

Talkat Open Source Summit Europe 2019 · on Tuesday, 2019-10-29· at 15:15· Forum 6· [embedded-and-hardware]
links:none on file
slides:none on file

Explains Zephyr's device driver model: a tiny struct device that holds an init function, a driver name string, API pointer and optional config, placed into ordered linker sections to implement four init levels and priorities 0–99 at build time. Shows a watchdog example with a four-function API and current workflow: driver + binding (.yaml) + board DTS. Lists pain points: failed-init hides APIs (breaks ROM placement), per-instance DEVICE_AND_API_INIT macros, runtime string lookups. Proposes auto-generating instances from DTS to remove names, save RAM and speed boot.

AI-written summary · about

  1. 0:00Introduction
  2. 0:35Back in 2015
  3. 1:32No drivers
  4. 2:26Dedicated driver model
  5. 3:46Structure
  6. 4:34Device Section
  7. 5:11Array
  8. 5:28Device Sections
  9. 6:13Macros
  10. 7:01Boottime subsystems
  11. 11:57kernel economics
  12. 12:43use case
  13. 13:27create instances
  14. 14:11device tree
  15. 16:15device instances
  16. 17:54other improvements
  17. 18:32name thingy
  18. 20:43Any questions
~/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.