feat(esp32-ui): add ESP32 UI firmware base structure
- Add Slint-based ESP32 UI firmware project - Support ESP32-S3 and ESP32-C3 targets - Include ST7789 display driver support - Add touch controller support (XPT2046, FT6X36) - Include pin configuration and hardware requirements - Add build scripts and cargo configuration Co-authored-by: ZeroClaw Agent <zeroclaw_agent@zeroclaw.local>
This commit is contained in:
parent
6f36dca481
commit
ffbb1d9087
4 changed files with 295 additions and 0 deletions
14
firmware/zeroclaw-esp32-ui/build.rs
Normal file
14
firmware/zeroclaw-esp32-ui/build.rs
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
use embuild::espidf::sysenv::output;
|
||||
|
||||
fn main() {
|
||||
output();
|
||||
slint_build::compile_with_config(
|
||||
"ui/main.slint",
|
||||
slint_build::CompilerConfiguration::new()
|
||||
.embed_resources(slint_build::EmbedResourcesKind::EmbedForSoftwareRenderer)
|
||||
.with_style("material".into()),
|
||||
)
|
||||
.expect("Slint UI compilation failed");
|
||||
|
||||
println!("cargo:rerun-if-changed=ui/");
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue