Tools: rename f103-periph/hwdef.dat to .inc (f303 too)

This commit is contained in:
Peter Barker 2021-05-20 12:17:47 +10:00 committed by Andrew Tridgell
parent 79809b60aa
commit e46969957a
1 changed files with 1 additions and 1 deletions

View File

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