Skip to content

Xila-Project/Core

Repository files navigation

Xila core

codecov License: MIT

📝 Description

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.

🛠️ Build

✅ Requirements

Please install the following dependencies to build core:

  • gcc-multilib: for cross-compilation purposes.
  • cargo-make: to build the project with cargo.
  • nodejs: to generate fonts for LVGL (lv_font_conv).
  • wasm32-wasip1 Rust target: to compile xila virtual machine executables.
  • (Optional) wasm32-unknown-unknown Rust target: to compile wasm_example.
  • (Optional) nightly Rust toolchain: to compile the wasm_example.
  • (Optional) trunk: to build the wasm_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.

🛠️ Instructions

  1. Clone the repository:
git clone https://github.com/Xila-Project/Core.git
  1. Navigate to the project directory:
cd Core
  1. Run one of the examples:
cargo make run -p native_example

or

cargo make generate-fonts
cd examples/wasm && trunk serve

ℹ️ About

This project is under the MIT license.

Releases

No releases published

Packages

No packages published