DeskLock gives the Tatlock butler a face and voice on a Waveshare ESP32-P4-WIFI6-Touch-LCD-3.4C round display in the living room. - firmware/: ESP-IDF project targeting esp32p4 with the Waveshare XC BSP - gateway/: FastAPI voice bridge (faster-whisper STT, Tatlock chat, Piper TTS) - docs/architecture.md: component design and device<->gateway WS protocol Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
31 lines
844 B
C
31 lines
844 B
C
/*
|
|
* DeskLock — living-room face and voice for the Tatlock butler.
|
|
*
|
|
* Boot sequence (planned):
|
|
* 1. BSP init: display + LVGL, touch, audio codec (ES8311/ES7210)
|
|
* 2. Wi-Fi up via ESP32-C6 (ESP-Hosted over SDIO)
|
|
* 3. WebSocket connection to the DeskLock gateway
|
|
* 4. Face state machine: idle / listening / thinking / speaking
|
|
*/
|
|
|
|
#include "esp_log.h"
|
|
#include "bsp/esp-bsp.h"
|
|
|
|
static const char *TAG = "desklock";
|
|
|
|
void app_main(void)
|
|
{
|
|
ESP_LOGI(TAG, "DeskLock starting");
|
|
|
|
bsp_display_start();
|
|
bsp_display_backlight_on();
|
|
|
|
/* TODO(bring-up): render placeholder face via LVGL
|
|
* TODO(bring-up): Wi-Fi via ESP-Hosted (C6)
|
|
* TODO(voice): mic capture (ES7210) -> WebSocket upstream
|
|
* TODO(voice): gateway PCM downstream -> ES8311 playback
|
|
*/
|
|
|
|
ESP_LOGI(TAG, "DeskLock up (display only)");
|
|
}
|