build: add image_build.sh and erase_ota.sh scripts

This commit is contained in:
2026-05-10 14:27:11 +02:00
parent 31ee38782b
commit bceb091084
2 changed files with 24 additions and 0 deletions

7
rust/erase_ota.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/usr/bin/env bash
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cargo espflash erase-parts otadata --partition-table "${SCRIPT_DIR}/partitions.csv"