Rust Drivers and 3D Renderer for LILYGO T4 S3
A Rust starter pack for the LILYGO T4 S3 featuring a display driver, touchscreen driver, and embedded-graphics examples including a real-time 3D model renderer on the 2.41" AMOLED display.
Overview
This repository provides Rust drivers and example programs for the LILYGO T4 S3. It targets the no_std embedded Rust ecosystem and the embedded-graphics crate family, making it possible to write type-safe, memory-safe firmware for the T4 S3's 2.41" AMOLED touchscreen in Rust rather than C++.
Included Drivers
- RM690B0 display driver — full QSPI display driver for the T4 S3's AMOLED panel
- Touchscreen driver — input handling for the capacitive touch overlay
- Starter project structure —
build.rs,Cargo.toml, and ESP32-S3 toolchain configuration ready to use
Example Applications
The benchy example renders a 3D model on the AMOLED display using the embedded-graphics 3D rendering pipeline:
cargo run --release --example benchy
Technical Details
Uses the esp-hal crate for ESP32-S3 hardware abstraction and the embedded-graphics ecosystem for rendering. The project targets the stable esp32s3 HAL and includes a rust-toolchain.toml for reproducible builds. This is a useful foundation for anyone wanting to explore embedded Rust on high-resolution AMOLED hardware.






