mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-25 01:03:59 -04:00
Tools: include bin files on firmware server for AP_Periph
This commit is contained in:
parent
4f0311c45d
commit
f0513cc8a8
@ -401,7 +401,11 @@ is bob we will attempt to checkout bob-AVR'''
|
|||||||
"bin",
|
"bin",
|
||||||
"".join([binaryname, framesuffix]))
|
"".join([binaryname, framesuffix]))
|
||||||
files_to_copy = []
|
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])
|
filepath = "".join([bare_path, extension])
|
||||||
if os.path.exists(filepath):
|
if os.path.exists(filepath):
|
||||||
files_to_copy.append(filepath)
|
files_to_copy.append(filepath)
|
||||||
|
Loading…
Reference in New Issue
Block a user