From c3e92b5106326efd51dd42bddb4662279bdf4b7e Mon Sep 17 00:00:00 2001 From: Rushikesh Patange <90703337+RushikeshPatange@users.noreply.github.com> Date: Mon, 16 Oct 2023 12:19:54 +0530 Subject: [PATCH] add/minimal-launchpad: Added functional call to erase existing binaries before new flash. (#47) Co-authored-by: Rushikesh Patange --- minimal-launchpad/minimal_ui_index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minimal-launchpad/minimal_ui_index.js b/minimal-launchpad/minimal_ui_index.js index 7fd6522..7728255 100644 --- a/minimal-launchpad/minimal_ui_index.js +++ b/minimal-launchpad/minimal_ui_index.js @@ -66,7 +66,7 @@ async function downloadAndFlash() { flashSize: "keep", flashMode: undefined, flashFreq: undefined, - eraseAll: false, + eraseAll: true, // Always erasing before flash compress: true, }; await esploader.write_flash(flashOptions);