22 lines
606 B
Rust
22 lines
606 B
Rust
//! ZeroClaw ESP32 UI firmware scaffold.
|
|
//!
|
|
//! This binary initializes ESP-IDF, boots a minimal Slint UI, and keeps
|
|
//! architecture boundaries explicit so hardware integrations can be added
|
|
//! incrementally.
|
|
|
|
use anyhow::Context;
|
|
use log::info;
|
|
|
|
slint::include_modules!();
|
|
|
|
fn main() -> anyhow::Result<()> {
|
|
esp_idf_svc::sys::link_patches();
|
|
esp_idf_svc::log::EspLogger::initialize_default();
|
|
|
|
info!("Starting ZeroClaw ESP32 UI scaffold");
|
|
|
|
let window = MainWindow::new().context("failed to create MainWindow")?;
|
|
window.run().context("MainWindow event loop failed")?;
|
|
|
|
Ok(())
|
|
}
|