Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
19 changes: 19 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Inner workspace config for the mLupine lv_binding_rust fork.
#
# The parent workspace (lupin-esp32-fw/.cargo/config.toml) pins
# `[build] target = "xtensa-esp32s3-espidf"` so every cargo invocation under
# that tree cross-compiles for the ESP32-S3. Inside this nested workspace we
# want to keep the *option* to cross-compile (Plan 04-02 Task 3 verifies the
# fork compiles for xtensa-esp32s3-espidf) but the default `cargo build` from
# inside the fork builds for the host so contributors can iterate quickly.

# No default [build].target -- inherits host target unless --target is given.

[target.xtensa-esp32s3-espidf]
linker = "ldproxy"
runner = "espflash flash --monitor"
rustflags = ["--cfg", "espidf_time64"]

[unstable]
# Cross-compiles for xtensa need build-std (no prebuilt std for the target).
build-std = ["std", "panic_abort"]
7 changes: 0 additions & 7 deletions .gitmodules

This file was deleted.

24 changes: 15 additions & 9 deletions lvgl-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "lvgl-sys"
description = "Raw bindings to the LVGL C library."
version = "0.6.2"
description = "Raw bindings to the LVGL C library (mLupine fork: LVGL 9.2.x)."
version = "0.6.2-mLupine-lvgl-9"
authors = ["Rafael Caricio <crates.lvgl-sys@caric.io>", "Nia Espera <a5b6@riseup.net>"]
edition = "2021"
license = "MIT"
Expand All @@ -13,12 +13,12 @@ keywords = ["littlevgl", "lvgl"]
build = "build.rs"
links = "lvgl"
exclude = [
"vendor/lvgl/demos",
"vendor/lvgl/tests",
"vendor/lvgl/examples",
"vendor/lvgl/docs",
"vendor/lvgl/scripts",
"vendor/lvgl/env_support",
"vendor/lvgl-9.2/demos",
"vendor/lvgl-9.2/tests",
"vendor/lvgl-9.2/examples",
"vendor/lvgl-9.2/docs",
"vendor/lvgl-9.2/scripts",
"vendor/lvgl-9.2/env_support",
]

[lib]
Expand All @@ -32,8 +32,14 @@ cc = "1.0.79"
bindgen = "0.65.1"

[features]
# LVGL 9.2 ships a single config file (vendor/include-9.2/lv_conf.h); no
# DEP_LV_CONFIG_PATH switching, so use-vendored-config is now the default.
use-vendored-config = []
# Legacy lv_drivers (SDL/Linux) backends -- not used on ESP-IDF v6 path
# (esp_lvgl_port supplies flush). Kept as a no-op feature for Cargo.toml
# back-compat with existing dependents.
drivers = []
# LVGL 9 owns the tick internally via lv_tick_inc + esp_lvgl_port; these
# features are retained as no-ops.
rust_timer = []
# if LV_TICK_CUSTOM = 1, then lv_tick_inc function is unavailable
custom_timer = []
Loading
Loading