Tools: omit f103-periph and f303-periph from configure_all.py

This commit is contained in:
Andrew Tridgell 2020-04-24 16:52:20 +10:00
parent e8b2b52bae
commit 13e11d6a19
1 changed files with 3 additions and 1 deletions

View File

@ -31,10 +31,12 @@ board_list = []
def get_board_list():
'''add boards based on existance of hwdef-bl.dat in subdirectories for ChibiOS'''
board_list = []
# these are base builds, and don't build directly
omit = ['f103-periph', 'f303-periph']
dirname, dirlist, filenames = next(os.walk('libraries/AP_HAL_ChibiOS/hwdef'))
for d in dirlist:
hwdef = os.path.join(dirname, d, 'hwdef.dat')
if os.path.exists(hwdef):
if os.path.exists(hwdef) and not d in omit:
board_list.append(d)
return board_list