Drivers
How Xila drivers connect devices to the virtual file system and runtime services.
Drivers connect Xila services to devices. Core and Platforms provide driver crates for different runtimes.
The following diagram shows the relationship between a runtime, the virtual file system (VFS), and devices.
Runtime setup mounts devices in the VFS. Character devices provide byte-oriented access. Block devices support storage. The native and browser examples mount LittleFS on block storage and register character devices at boot. Both examples mount the Wasm, graphical shell, command-line shell, settings, file manager, terminal, and activity executables under /applications/executables/. The native example also mounts the package and, on Unix, debug executables. See Virtual file system.
| Crate | Package | Description |
|---|---|---|
drivers_core crate | xila-drivers-core |
Core: minimal devices and Wi-Fi mock. |
drivers_neural_network crate | xila-drivers-neural-network |
Neural network: neural network drivers. |
drivers_peripherals crate | xila-drivers-peripherals |
Device: peripheral drivers. |
drivers_espressif crate | xila-drivers-espressif |
Espressif: Espressif drivers. |
drivers_headless crate | xila-drivers-headless |
Headless: headless runtime drivers. |
drivers_native crate | xila-drivers-native |
Native: host integrations. |
drivers/nordic | xila-drivers-nordic |
Nordic: Nordic hardware drivers. |
drivers_shared crate | xila-drivers-shared |
Shared: reusable devices. |
drivers_std crate | xila-drivers-std |
Std: standard-library services. |
drivers_wasm crate | xila-drivers-wasm |
Wasm: browser runtime drivers. |