mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-18 06:38:29 -04:00
Tools: size_compare Change elfdiff_output rectory
This commit is contained in:
parent
513a6f8a96
commit
bc9ab66348
@ -9,6 +9,11 @@ pip3 install --user elf_diff weasyprint
|
|||||||
|
|
||||||
AP_FLAKE8_CLEAN
|
AP_FLAKE8_CLEAN
|
||||||
|
|
||||||
|
How to use?
|
||||||
|
Starting in the ardupilot directory.
|
||||||
|
~/ardupilot $ python Tools/scripts/size_compare_branches.py --branch=[PR_BRANCH_NAME] --vehicle=copter
|
||||||
|
|
||||||
|
Output is placed into ../ELF_DIFF_[VEHICLE_NAME]
|
||||||
'''
|
'''
|
||||||
|
|
||||||
import optparse
|
import optparse
|
||||||
@ -159,6 +164,7 @@ class SizeCompareBranches(object):
|
|||||||
'--bin_prefix=arm-none-eabi-',
|
'--bin_prefix=arm-none-eabi-',
|
||||||
"--old_alias", "%s %s" % (self.master_branch, binary_filename),
|
"--old_alias", "%s %s" % (self.master_branch, binary_filename),
|
||||||
"--new_alias", "%s %s" % (self.branch, binary_filename),
|
"--new_alias", "%s %s" % (self.branch, binary_filename),
|
||||||
|
"--html_dir", "../ELF_DIFF_%s" % (self.vehicle),
|
||||||
os.path.join(outdir_1, self.board, "bin", binary_filename),
|
os.path.join(outdir_1, self.board, "bin", binary_filename),
|
||||||
os.path.join(outdir_2, self.board, "bin", binary_filename)
|
os.path.join(outdir_2, self.board, "bin", binary_filename)
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user