support flashing pca10059 from windows

This commit is contained in:
Olaf Flebbe
2021-06-03 14:27:33 +02:00
committed by Ron Evans
parent 9912dd6db1
commit 1f5e4e79aa
5 changed files with 48 additions and 1 deletions
+5
View File
@@ -254,6 +254,11 @@ func (c *Config) BinaryFormat(ext string) string {
// More information:
// https://github.com/Microsoft/uf2
return "uf2"
case ".zip":
if c.Target.BinaryFormat != "" {
return c.Target.BinaryFormat
}
return "zip"
default:
// Use the ELF format for unrecognized file formats.
return "elf"