Tools: added bin format as valid firmware

This commit is contained in:
Andrew Tridgell 2019-12-29 19:57:06 +11:00
parent f0848551d9
commit e813d349ba

View File

@ -326,7 +326,7 @@ class ManifestGenerator():
filepath = os.path.join(some_dir, filename)
firmware_format = self.firmware_format_for_filepath(filepath)
if firmware_format not in [ "ELF", "abin", "apj", "hex", "px4" ]:
if firmware_format not in [ "ELF", "abin", "apj", "hex", "px4", "bin" ]:
print("Unknown firmware format (%s)" % firmware_format)
firmware = Firmware()