run-sonata-1.0.sh: build uf2 files for all firmware slots. The script will still install in slot1, but it's useful to also have slot2 and slot3 versions available.
diff --git a/scripts/run-sonata-1.0.sh b/scripts/run-sonata-1.0.sh index 4991609..d54a780 100755 --- a/scripts/run-sonata-1.0.sh +++ b/scripts/run-sonata-1.0.sh
@@ -19,6 +19,9 @@ ${STRIP} ${FIRMWARE_ELF} -o ${FIRMWARE_ELF}.strip # Convert the stripped elf to a UF2 (Microsoft USB Flashing Format) file uf2conv ${FIRMWARE_ELF}.strip -b0x00000000 -f0x6CE29E60 -co ${FIRMWARE_ELF}.slot1.uf2 +uf2conv ${FIRMWARE_ELF}.strip -b0x10000000 -f0x6CE29E60 -co ${FIRMWARE_ELF}.slot2.uf2 +uf2conv ${FIRMWARE_ELF}.strip -b0x20000000 -f0x6CE29E60 -co ${FIRMWARE_ELF}.slot3.uf2 + # Try to copy the firmware to the SONATA drive, if we can find one. try_copy()