Refactor EspFlasher component to implement factory reset functionality and update flash manifest handling. Modify buildFlashParts to support factory and update sections in manifests, ensuring proper erase policies. Enhance user interface to reflect changes in reset behavior and provide clearer warnings regarding data loss during flashing.

This commit is contained in:
Ben Allfree
2026-04-10 18:36:44 -07:00
parent 5fe27f1e74
commit ca43841da8
6 changed files with 240 additions and 87 deletions
-1
View File
@@ -194,7 +194,6 @@ jobs:
mkdir -p "$STAGE"
shopt -s nullglob
for f in "$BUILD_DIR"/*.bin "$BUILD_DIR"/*.uf2 "$BUILD_DIR"/*.hex; do
case "$f" in *.factory.bin) continue ;; esac
cp -a "$f" "$STAGE/"
done
shopt -u nullglob
-1
View File
@@ -194,7 +194,6 @@ jobs:
mkdir -p "$STAGE"
shopt -s nullglob
for f in "$BUILD_DIR"/*.bin "$BUILD_DIR"/*.uf2 "$BUILD_DIR"/*.hex; do
case "$f" in *.factory.bin) continue ;; esac
cp -a "$f" "$STAGE/"
done
shopt -u nullglob