mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-23 00:04:02 -04:00
Tools: include bin files on firmware server for AP_Periph
This commit is contained in:
parent
355839e413
commit
9a176526d7
@ -401,7 +401,11 @@ is bob we will attempt to checkout bob-AVR'''
|
||||
"bin",
|
||||
"".join([binaryname, framesuffix]))
|
||||
files_to_copy = []
|
||||
for extension in [".px4", ".apj", ".abin", "_with_bl.hex", ".hex"]:
|
||||
extensions = [".px4", ".apj", ".abin", "_with_bl.hex", ".hex"]
|
||||
if vehicle == 'AP_Periph':
|
||||
# need bin file for uavcan-gui-tool and MissionPlanner
|
||||
extensions.append('.bin')
|
||||
for extension in extensions:
|
||||
filepath = "".join([bare_path, extension])
|
||||
if os.path.exists(filepath):
|
||||
files_to_copy.append(filepath)
|
||||
|
Loading…
Reference in New Issue
Block a user