From 29cbcef9933122bfa5d111b7108df268a14a8a42 Mon Sep 17 00:00:00 2001 From: Alex Jones Date: Tue, 10 Sep 2024 14:20:38 +0100 Subject: [PATCH] Create UF2s for all software slots --- common.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common.lua b/common.lua index 8945c05..ad4867b 100644 --- a/common.lua +++ b/common.lua @@ -4,5 +4,7 @@ function convert_to_uf2(target) local firmware = target:targetfile() os.execv("llvm-strip", { firmware, "-o", firmware .. ".strip" }) - os.execv("uf2conv", { firmware .. ".strip", "-f0x6CE29E60", "-co", firmware .. ".uf2" }) + os.execv("uf2conv", { firmware .. ".strip", "-b0x00000000", "-f0x6CE29E60", "-co", firmware .. ".slot1.uf2" }) + os.execv("uf2conv", { firmware .. ".strip", "-b0x10000000", "-f0x6CE29E60", "-co", firmware .. ".slot2.uf2" }) + os.execv("uf2conv", { firmware .. ".strip", "-b0x20000000", "-f0x6CE29E60", "-co", firmware .. ".slot3.uf2" }) end