mirror of https://github.com/ArduPilot/ardupilot
Tools: size_compare_branches.py: blacklist linux and esp32 boards for bootloader build
This commit is contained in:
parent
762e709f73
commit
dc803a5691
|
@ -116,11 +116,62 @@ class SizeCompareBranches(object):
|
||||||
|
|
||||||
# some boards we don't have a -bl.dat for, so skip them.
|
# some boards we don't have a -bl.dat for, so skip them.
|
||||||
# TODO: find a way to get this information from board_list:
|
# TODO: find a way to get this information from board_list:
|
||||||
self.bootloader_blacklist = frozenset([
|
self.bootloader_blacklist = set([
|
||||||
'skyviper-v2450',
|
'CubeOrange-SimOnHardWare',
|
||||||
|
'fmuv2',
|
||||||
|
'fmuv3-bdshot',
|
||||||
'iomcu',
|
'iomcu',
|
||||||
|
'iomcu',
|
||||||
|
'iomcu_f103_8MHz',
|
||||||
|
'luminousbee4',
|
||||||
|
'skyviper-v2450',
|
||||||
|
'skyviper-f412-rev1',
|
||||||
|
'skyviper-journey',
|
||||||
|
'Pixhawk1-1M-bdshot',
|
||||||
|
'SITL_arm_linux_gnueabihf',
|
||||||
])
|
])
|
||||||
|
|
||||||
|
# blacklist all linux boards for bootloader build:
|
||||||
|
self.bootloader_blacklist.update(self.linux_board_names())
|
||||||
|
# ... and esp32 boards:
|
||||||
|
self.bootloader_blacklist.update(self.esp32_board_names())
|
||||||
|
|
||||||
|
def linux_board_names(self):
|
||||||
|
'''return a list of all Linux board names; FIXME: get this dynamically'''
|
||||||
|
# grep 'class.*[(]linux' Tools/ardupilotwaf/boards.py | perl -pe "s/class (.*)\(linux\).*/ '\\1',/"
|
||||||
|
return [
|
||||||
|
'navigator',
|
||||||
|
'erleboard',
|
||||||
|
'navio',
|
||||||
|
'navio2',
|
||||||
|
'edge',
|
||||||
|
'zynq',
|
||||||
|
'ocpoc_zynq',
|
||||||
|
'bbbmini',
|
||||||
|
'blue',
|
||||||
|
'pocket',
|
||||||
|
'pxf',
|
||||||
|
'bebop',
|
||||||
|
'vnav',
|
||||||
|
'disco',
|
||||||
|
'erlebrain2',
|
||||||
|
'bhat',
|
||||||
|
'dark',
|
||||||
|
'pxfmini',
|
||||||
|
'aero',
|
||||||
|
'rst_zynq',
|
||||||
|
'obal',
|
||||||
|
'SITL_x86_64_linux_gnu',
|
||||||
|
]
|
||||||
|
|
||||||
|
def esp32_board_names(self):
|
||||||
|
return [
|
||||||
|
'esp32buzz',
|
||||||
|
'esp32empty',
|
||||||
|
'esp32icarous',
|
||||||
|
'esp32diy',
|
||||||
|
]
|
||||||
|
|
||||||
def find_bin_dir(self):
|
def find_bin_dir(self):
|
||||||
'''attempt to find where the arm-none-eabi tools are'''
|
'''attempt to find where the arm-none-eabi tools are'''
|
||||||
binary = shutil.which("arm-none-eabi-g++")
|
binary = shutil.which("arm-none-eabi-g++")
|
||||||
|
|
Loading…
Reference in New Issue