Skip to content
Xila

Drivers

How Xila drivers connect devices to the virtual file system and runtime services.

Last updatedEdit page

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 mounting devices in the virtual file systemRuntime setupVirtual file system (VFS)Character deviceBlock deviceStorage mounts 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.

CratePackageDescription
drivers_core cratexila-drivers-core Core: minimal devices and Wi-Fi mock.
drivers_neural_network cratexila-drivers-neural-network Neural network: neural network drivers.
drivers_peripherals cratexila-drivers-peripherals Device: peripheral drivers.
drivers_espressif cratexila-drivers-espressif Espressif: Espressif drivers.
drivers_headless cratexila-drivers-headless Headless: headless runtime drivers.
drivers_native cratexila-drivers-native Native: host integrations.
drivers/nordicxila-drivers-nordic Nordic: Nordic hardware drivers.
drivers_shared cratexila-drivers-shared Shared: reusable devices.
drivers_std cratexila-drivers-std Std: standard-library services.
drivers_wasm cratexila-drivers-wasm Wasm: browser runtime drivers.