builder: use newer version of gohex

This version adds error handling for the DumpIntelHex method, and thus
fixes a TODO comment.
This commit is contained in:
Ayke van Laethem
2020-05-31 13:11:00 +02:00
committed by Ron Evans
parent 0e73790d67
commit 3c31a3110f
3 changed files with 4 additions and 3 deletions
+1 -2
View File
@@ -123,8 +123,7 @@ func objcopy(infile, outfile string) error {
if err != nil {
return objcopyError{"failed to create .hex file", err}
}
mem.DumpIntelHex(f, 16) // TODO: handle error
return nil
return mem.DumpIntelHex(f, 16)
default:
panic("unreachable")
}