This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # esp32-ai: clone, train, export, build, and flash — end to end | |
| # Reproduces github.com/slvDev/esp32-ai from a bare board. | |
| # Requires: ESP32-S3 N16R8 (16MB flash, 8MB PSRAM). | |
| # | |
| # Usage: | |
| # ./build_and_flash.sh # full run: data prep, train, export, build, flash | |
| # ./build_and_flash.sh --skip-train # reuse an existing firmware/model/model.bin, just build + flash | |
| set -euo pipefail |