mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-23 00:04:02 -04:00
Tools: added bootloader configure to configure_all.py
This commit is contained in:
parent
cd27e3022f
commit
e67ccbe13d
@ -38,5 +38,10 @@ def run_program(cmd_list):
|
||||
for board in get_board_list():
|
||||
if not fnmatch.fnmatch(board, board_pattern):
|
||||
continue
|
||||
print("Building for %s" % board)
|
||||
print("Configuring for %s" % board)
|
||||
run_program(["./waf", "configure", "--board", board])
|
||||
# check for bootloader def
|
||||
hwdef_bl = os.path.join('libraries/AP_HAL_ChibiOS/hwdef/%s/hwdef-bl.dat' % board)
|
||||
if os.path.exists(hwdef_bl):
|
||||
print("Configuring bootloader for %s" % board)
|
||||
run_program(["./waf", "configure", "--board", board, "--bootloader"])
|
||||
|
Loading…
Reference in New Issue
Block a user