From f8a594eb9a1cf2fa17cd756bfcb15993814eb68b Mon Sep 17 00:00:00 2001 From: steadramon <866195+steadramon@users.noreply.github.com> Date: Wed, 26 Jul 2023 08:31:02 +0100 Subject: [PATCH] Adjusted to rename --- scripts/merge_firmware.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/scripts/merge_firmware.py b/scripts/merge_firmware.py index fc49ea2..bc99575 100644 --- a/scripts/merge_firmware.py +++ b/scripts/merge_firmware.py @@ -29,6 +29,13 @@ def merge_bin(source, target, env): + flash_images ) ) + env.Execute( + " ".join([ + "mv", + MERGED_BIN, + APP_BIN + ]) + ) # Add a post action that runs esptoolpy to merge available flash images env.AddPostAction(APP_BIN , merge_bin) @@ -37,6 +44,6 @@ def merge_bin(source, target, env): env.Replace( UPLOADERFLAGS=[ ] - + ["0x0", MERGED_BIN], + + ["0x0", APP_BIN], UPLOADCMD='"$PYTHONEXE" "$UPLOADER" $UPLOADERFLAGS', )