The device now runs the complete face contract on glass: seven states with glyph expressions (custom 140px face font), matrix rain as pooled label streams (22px DejaVu+Noto katakana font), rage kaomoji frames (64px), orbit arc + elapsed counter wait cues, blink/talk/thought animations, idle clock (SNTP, Europe/Amsterdam), and the power ladder (active/ambient 35%/dormant 5% with rain parked). Voice path: ES7210 mic capture task streams 16k PCM over esp_websocket_client to the gateway; reply PCM buffers to PSRAM and plays via the audio task; touch-to-talk (tap to speak, tap to send). Protocol mapping per docs: thinking->effort, audio->speaking, error event->rage (auto-composes after 2 loops), WS loss->error face. Bring-up fixes: 8MB factory partition (fonts overflowed 1.5M), bsp_display_lock(0) is try-lock in this adapter (use UINT32_MAX), gong synth yields to feed IDLE0, wifi scan diagnostics (found SSID case mismatch), esp_websocket_client pinned ~1.3 (1.4 needs IDF>5.5). Verified on hardware: boots, connects to Wi-Fi and holds an open WebSocket to the gateway. Sauron (iMac TTY endpoint + ops console) planned in architecture.md. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
31 lines
919 B
Plaintext
31 lines
919 B
Plaintext
# Target: Waveshare ESP32-P4-WIFI6-Touch-LCD-3.4C
|
|
CONFIG_IDF_TARGET="esp32p4"
|
|
|
|
# 32 MB NOR flash
|
|
CONFIG_ESPTOOLPY_FLASHSIZE_32MB=y
|
|
CONFIG_PARTITION_TABLE_CUSTOM=y
|
|
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv"
|
|
|
|
# PSRAM at 200 MHz — REQUIRED for the 800x800 MIPI-DSI framebuffer.
|
|
# 200 MHz is gated behind IDF_EXPERIMENTAL_FEATURES; without it the build
|
|
# silently falls back to 20 MHz and the DSI underruns (mirrors the official
|
|
# 08_lvgl_demo_v9 example config).
|
|
CONFIG_SPIRAM=y
|
|
CONFIG_IDF_EXPERIMENTAL_FEATURES=y
|
|
CONFIG_SPIRAM_SPEED_200M=y
|
|
CONFIG_SPIRAM_XIP_FROM_PSRAM=y
|
|
CONFIG_CACHE_L2_CACHE_256KB=y
|
|
CONFIG_CACHE_L2_CACHE_LINE_128B=y
|
|
|
|
CONFIG_COMPILER_OPTIMIZATION_PERF=y
|
|
CONFIG_FREERTOS_HZ=1000
|
|
|
|
# LVGL font for the bring-up placeholder face
|
|
CONFIG_LV_FONT_MONTSERRAT_48=y
|
|
|
|
# LVGL font for status/elapsed/clock chrome
|
|
CONFIG_LV_FONT_MONTSERRAT_28=y
|
|
|
|
# ESP-Hosted C6 radio
|
|
CONFIG_ESP_WIFI_SOFTAP_SUPPORT=n
|