Skip to content

Commit

Permalink
Adjusted to rename
Browse files Browse the repository at this point in the history
  • Loading branch information
steadramon committed Jul 26, 2023
1 parent ba5b7e0 commit f8a594e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion scripts/merge_firmware.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -37,6 +44,6 @@ def merge_bin(source, target, env):
env.Replace(
UPLOADERFLAGS=[
]
+ ["0x0", MERGED_BIN],
+ ["0x0", APP_BIN],
UPLOADCMD='"$PYTHONEXE" "$UPLOADER" $UPLOADERFLAGS',
)

0 comments on commit f8a594e

Please sign in to comment.