From 3f35f2c6d794da0a25628978981fbab2f68da3bd Mon Sep 17 00:00:00 2001 From: Austin Lane Date: Wed, 22 Apr 2026 19:12:56 -0400 Subject: [PATCH] Re-enable littlefs json manifest This works locally again :) Not sure what changed --- bin/build-esp32.sh | 4 ++-- bin/platformio-custom.py | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/bin/build-esp32.sh b/bin/build-esp32.sh index 7555e0006..4e799b30a 100755 --- a/bin/build-esp32.sh +++ b/bin/build-esp32.sh @@ -33,9 +33,9 @@ echo "Copying ESP32 update bin file" cp $BUILDDIR/$basename.bin $OUTDIR/$basename.bin echo "Copying Filesystem for ESP32 targets" -cp $BUILDDIR/littlefs-$1-$VERSION.bin $OUTDIR/littlefs-$1-$VERSION.bin || true +cp $BUILDDIR/littlefs-$1-$VERSION.bin $OUTDIR/littlefs-$1-$VERSION.bin cp bin/device-install.* $OUTDIR/ cp bin/device-update.* $OUTDIR/ echo "Copying manifest" -cp $BUILDDIR/$basename.mt.json $OUTDIR/$basename.mt.json || true +cp $BUILDDIR/$basename.mt.json $OUTDIR/$basename.mt.json diff --git a/bin/platformio-custom.py b/bin/platformio-custom.py index 17a291d54..b75c66624 100644 --- a/bin/platformio-custom.py +++ b/bin/platformio-custom.py @@ -301,8 +301,7 @@ if not should_skip_manifest and platform.name == "espressif32": target_lfs = env.DataToBin( join("$BUILD_DIR", "${ESP32_FS_IMAGE_NAME}"), "$PROJECT_DATA_DIR" ) - # prepend the littlefs target to the mtjson dependencies - # mtjson_deps.insert(0, target_lfs) + mtjson_deps.append(target_lfs) if should_skip_manifest: def skip_manifest(source, target, env):