Writing Your Own Gadget with Zephyr OS
Talkat Open Source Summit Europe + Embedded Linux Conference Europe 2019 · on Tuesday, 2019-10-29· at 16:20· Forum 6·
summary
Shows how to make Zephyr OS–based embedded boards present as USB gadgets to a host PC, with concrete examples: exposing Zephyr-hosted IEEE 802.15.4 and Bluetooth radios to Linux as radio adapters, and presenting a Zephyr SoC as a USB Ethernet controller using ECM or RNDIS to act as an IP bridge. Covers related OS-side driver approaches — a custom Linux driver for IEEE 802.15.4 over USB, using standard OS drivers for USB classes like Bluetooth, and supplying Windows USB descriptors for RNDIS — and briefly touches on WebUSB for browser-based board access.
AI-written summary · about
chapters (31)
- 0:00Intro
- 0:20Contents
- 1:33Introduction: Problem
- 1:55Introduction: Solution
- 2:23Introduction: Zephyr
- 2:52Hello world in Zephyr
- 3:22USB: General overview
- 4:25Programming USB gadgets: Standard Classes
- 5:48Supported Standard USB Classes in Zephyr
- 7:02Ethernet over USB: Use case
- 8:17Ethernet over USB: Standards
- 9:22Ethemet over USB: Enabling in Zephyr
- 10:32Ethernet over USB: Zero configuration
- 11:56Ethernet over USB: HTTP server app
- 13:43Ethernet over USB: border router app
- 14:36Ethernet over USB: Host OS Drivers
- 15:16Ethernet over USB: Windows drivers
- 16:25OS Drivers for Zephyr USB: OS Descriptors
- 18:32Programming USB gadgets: Custom Classes
- 21:05IEEE802.15.4 USB: Use case
- 21:57IEEE802.15.4 USB gadget: Idea
- 22:49IEEE802.15.4 USB gadget: API
- 23:35IEEE802.15.4 USB gadget: Zephyr application
- 24:59IEEE802.15.4 USB: Linux driver
- 25:47WebUSB: Use case
- 27:01WebUSB: API & Zephyr support
- 28:09Using virtual USB controller over USB/IP
- 30:35Zephyr Virtual USB Controller. Attaching
- 31:51Zephyr Virtual USB Controller: Linux logs
- 32:22Summary
- 36:16References
related talks
38mWriting Your Own Gadget with Zephyr OS
36mUSB Support in Zephyr OS
45mUSB Support in Zephyr OS
30mImplementing a Custom USB Device Controller Driver in Zephyr
42mEnabling Zephyr on Your Hardware Platform
31mCreating Bluetooth-Based IoT Solutions with Zephyr
01h 03mZephyr RTOS: Software power tools for constrained devices
30mZephyr ❤️ Internet: How Zephyr Speeds Implementation for New IoT Devices
