Initial scaffold: ESP32-P4 firmware + voice gateway for Tatlock endpoint
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>
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
.PHONY: setup run test lint typecheck clean
|
||||
|
||||
setup:
|
||||
python3 -m venv .venv
|
||||
.venv/bin/pip install -e ".[dev]"
|
||||
|
||||
setup-speech:
|
||||
.venv/bin/pip install -e ".[dev,speech]"
|
||||
|
||||
run:
|
||||
.venv/bin/uvicorn desklock_gateway.main:app --host 0.0.0.0 --port 8600 --reload
|
||||
|
||||
test:
|
||||
.venv/bin/pytest
|
||||
|
||||
lint:
|
||||
.venv/bin/ruff check src tests
|
||||
.venv/bin/ruff format --check src tests
|
||||
|
||||
typecheck:
|
||||
.venv/bin/mypy src
|
||||
|
||||
clean:
|
||||
rm -rf .venv .pytest_cache .ruff_cache .mypy_cache
|
||||
find . -type d -name __pycache__ -exec rm -rf {} +
|
||||
Reference in New Issue
Block a user