This repository contains the core of Xila. It contains the code for xila's core functionalities like task management, file system, virtual machine, graphics, drivers, etc.
Please install the following dependencies to build core:
gcc-multilib: for cross-compilation purposes.cargo-make: to build the project withcargo.nodejs: to generate fonts for LVGL (lv_font_conv).wasm32-wasip1Rust target: to compile xila virtual machine executables.- (Optional)
wasm32-unknown-unknownRust target: to compilewasm_example. - (Optional)
nightlyRust toolchain: to compile thewasm_example. - (Optional)
trunk: to build thewasm_example. - (Optional) Rust xtensa-esp32*-espidf toolchain: to compile for ESP32 / ESP32-S series.
- (Optional) Rust riscv*-esp-espidf: to compile for ESP32-H / ESP32-C series.
- Clone the repository:
git clone https://github.com/Xila-Project/Core.git- Navigate to the project directory:
cd Core- Run one of the examples:
cargo make run -p native_exampleor
cargo make generate-fonts
cd examples/wasm && trunk serveThis project is under the MIT license.