🚀 Get started with contributing
This guide will help you get started with contributing to the Xila project by building and running the core examples.
✅ Requirements
Ensure the following dependencies are installed to build the core:
gcc-multilib: Required for cross-compilation.cargo-make: Used to build the project withcargo.nodejs: Needed to generate fonts for LVGL (lv_font_conv).wasm32-wasip1Rust target: Required to compile Xila virtual machine executables.- (Optional)
wasm32-unknown-unknownRust target: Used to compile thewasm_example. - (Optional)
nightlyRust toolchain: Needed to compile thewasm_example. - (Optional)
trunk: Used to build thewasm_example. - (Optional) Rust xtensa-esp32*-espidf toolchain: For compiling for ESP32 / ESP32-S series.
- (Optional) Rust riscv*-esp-espidf: For compiling for ESP32-H / ESP32-C series.
📖 Steps
- Clone the repository:
bash
git clone https://github.com/Xila-Project/Core.git- Navigate to the project directory:
bash
cd Core- Run one of the examples (desktop or web):
- For the native example:
bash
cargo make run -p native_example- For the WASM example:
bash
cargo make generate-fonts
cd examples/wasm && trunk serveINFO
For the full list of available commands, refer to the Makefile.toml.