refactor(doorbell-touch): add build harness with monitor agent and board-specific setup

This commit is contained in:
2026-02-18 03:28:38 -08:00
parent 00989f1d8b
commit deda456d35
9 changed files with 353 additions and 84 deletions

View File

@@ -0,0 +1,16 @@
#!/usr/bin/env bash
# Install TFT_eSPI for esp32-32e
set -euo pipefail
DIR="$(cd "$(dirname "$0")" && pwd)"
VENDOR_DIR="$DIR/../../vendor/esp32-32e"
if [ ! -d "$VENDOR_DIR/TFT_eSPI" ]; then
echo "Cloning TFT_eSPI..."
git clone --depth 1 --branch V2.5.43 \
https://github.com/Bodmer/TFT_eSPI.git \
"$VENDOR_DIR/TFT_eSPI"
fi
cp "$DIR/tft_user_setup.h" "$VENDOR_DIR/TFT_eSPI/User_Setup.h"
echo "[OK] TFT_eSPI vendored for esp32-32e"