How hyden18/zephyr works
Zephyr is a small-footprint real-time operating system for resource-constrained devices. Its principal workflow is an application using OS services that execute on a supported processor architecture and interact with board hardware through drivers. The tree also shows substantial networking, Bluetooth, storage, device-management, and inter-process communication capabilities. Source excerpts support several internal calls and dependencies, but do not expose the complete kernel/application path; those broader relationships are described only where the README documents them.
Main entry points: lwm2m_engine.c LwM2M engine · mctp_i2c_gpio_controller.c MCTP I²C/GPIO · arch Architecture ports · nvme_controller.c NVMe controller
Components 22
OS core
- Zephyr RTOS
- RTIO interface
include/zephyr/rtio/rtio.h
Hardware support
- Architecture ports
arch - Board support
boards - NPCX I²C
drivers/i2c/i2c_npcx_controller.c - GPIO API
include/zephyr/drivers/gpio.h - NVMe controller
drivers/disk/nvme/nvme_controller.c - NVMe command support
drivers/disk/nvme
Connectivity
- Bluetooth subsystems
subsys/bluetooth - Media controller shell
subsys/bluetooth/audio/shell/media_controller.c - Media proxy
subsys/bluetooth/audio/media_proxy_internal.h - LoRaWAN engine
subsys/lorawan/native/engine.c - LoRaWAN MAC
subsys/lorawan/native/mac/mac.h - LwM2M engine
subsys/net/lib/lwm2m/lwm2m_engine.c - LwM2M objects
subsys/net/lib/lwm2m/lwm2m_object.h - LwM2M encodings
subsys/net/lib/lwm2m - MCTP I²C/GPIO
subsys/pmci/mctp/mctp_i2c_gpio_controller.c
System services
- UpdateHub storage
subsys/mgmt/updatehub/updatehub_storage.c - IPC service
subsys/ipc/ipc_service/ipc_service.c
Storage
- PSA protected storage API
subsys/secure_storage/include/psa/protected_storage.h - FIDO2 storage
subsys/authentication/fido2/storage/fido2_storage.c
Other components
- Embedded application
Connections 10
- Embedded application → Zephyr RTOS: runs on
- Zephyr RTOS → Architecture ports: supports architectures
- Architecture ports → Board support: targets supported boards
- NVMe controller → NVMe command support: uses helpers
drivers/disk/nvme/nvme_controller.c - Media controller shell → Media proxy: calls controls
subsys/bluetooth/audio/shell/media_controller.c - LoRaWAN engine → LoRaWAN MAC: dispatches requests
subsys/lorawan/native/engine.c - LwM2M engine → LwM2M objects: uses object APIs
subsys/net/lib/lwm2m/lwm2m_engine.c - LwM2M engine → LwM2M encodings: uses encodings
subsys/net/lib/lwm2m/lwm2m_engine.c - MCTP I²C/GPIO → GPIO API: uses GPIO API
subsys/pmci/mctp/mctp_i2c_gpio_controller.c - MCTP I²C/GPIO → RTIO interface: submits transfers
subsys/pmci/mctp/mctp_i2c_gpio_controller.c