Host initdump (rust/uisim --bin initdump) showed mipidsi emits only SLPOUT, MADCTL=0x48, INVON, COLMOD, NORON, DISPON — MADCTL already matches CircuitPython, but the ST7796 extension setup (unlock, 0xB6 480-lines, power, gamma) is missing, and sending it AFTER mipidsi's DISPON blanked the live panel. Replay the full known-good st7796_init via Display::dcs() ending in its own DISPON. Adds the initdump tool (capture init byte sequence on the host, no bench). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
13 lines
433 B
TOML
13 lines
433 B
TOML
[package]
|
|
name = "uisim"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "Host renderer for pm-ui: draws the firmware UI to a framebuffer and exports a PNG (no hardware)."
|
|
|
|
[dependencies]
|
|
pm-ui = { path = "../pm-ui" }
|
|
embedded-graphics = "0.8"
|
|
image = { version = "0.25", default-features = false, features = ["png"] }
|
|
# initdump binary: capture mipidsi's ST7796 init command sequence on the host
|
|
mipidsi = "0.9"
|
|
embedded-hal = "1"
|