🚀 Get started to use on host
This guide explains how to deploy Xila on real hardware or your host machine.
✅ Requirements
- Rust/Cargo: Required to build and manage Rust projects.
gcc-multilib: Needed to build 32-bit binaries on 64-bit systems.nodejs: Used to generate fonts for LVGL (lv_font_conv).
📖 Steps
- Add Xila as a dependency in your
Cargo.tomlfile within a blank Cargo workspace:
toml
[dependencies]
xila = { git = "https://github.com/Xila-Project/Core.git", features = ["host"] }- Set up your project workspace:
- Implement or reuse drivers from the
xila::driversmodule and register them in the Virtual File System. - Initialize the Xila modules you want to use, such as the Task Manager, Graphics, File System, etc.
- Configure any required environment variables.
- Run the graphical shell, command-line shell, or your custom application.
- Implement or reuse drivers from the
INFO
For more details, refer to the examples/native or examples/wasm.