How zephyr4microchip/microchip-zephyr works
Zephyr is a scalable, security-minded real-time operating system for resource-constrained devices. An embedded application uses kernel and architecture services to operate hardware through drivers; optional networking and management subsystems provide higher-level device capabilities. The graph emphasizes these runtime layers and documented examples of their interactions. Source excerpts are selective, so links between major subsystems are included only where the README or indexed source references support them; the many other drivers and architecture ports are represented at directory level.
Main entry points: kernel Kernel services · nvme_controller.c NVMe controller · mctp_i2c_gpio_controller.c MCTP I2C binding · lwm2m_engine.c LwM2M engine
Components 17
Kernel and architecture
- Kernel services
kernel - Userspace handlers
kernel/userspace_handler.c - Architecture ports
arch
Hardware drivers
- Device drivers
drivers - NPCX I2C
drivers/i2c/i2c_npcx_controller.c - NVMe controller
drivers/disk/nvme/nvme_controller.c - NVMe helpers
drivers/disk/nvme/nvme_helpers.h - MCTP I2C binding
subsys/pmci/mctp/mctp_i2c_gpio_controller.c - RTIO interface
include/zephyr/rtio/rtio.h
Networking and Bluetooth
- LwM2M engine
subsys/net/lib/lwm2m/lwm2m_engine.c - LwM2M objects
subsys/net/lib/lwm2m/lwm2m_object.h - Media controller shell
subsys/bluetooth/audio/shell/media_controller.c - Media proxy
subsys/bluetooth/audio/media_proxy_internal.h
Device management
- UpdateHub storage
subsys/mgmt/updatehub/updatehub_storage.c - Flash and boot services
subsys/mgmt/updatehub/updatehub_storage.c
Secure storage
- PSA protected storage API
subsys/secure_storage/include/psa/protected_storage.h
Other components
- Embedded application
Connections 9
- Embedded application → Kernel services: uses services
- Kernel services → Architecture ports: runs across
- Kernel services → Device drivers: accesses hardware
- Embedded application → Userspace handlers: requests syscalls
- NVMe controller → NVMe helpers: uses helpers
drivers/disk/nvme/nvme_controller.c - MCTP I2C binding → RTIO interface: submits transfers
subsys/pmci/mctp/mctp_i2c_gpio_controller.c - LwM2M engine → LwM2M objects: uses object definitions
subsys/net/lib/lwm2m/lwm2m_engine.c - Media controller shell → Media proxy: calls controls
subsys/bluetooth/audio/shell/media_controller.c - UpdateHub storage → Flash and boot services: writes and confirms
subsys/mgmt/updatehub/updatehub_storage.c