Browse Source

Tools: fixed iomcu build with configure_all.py

master
Andrew Tridgell 6 years ago
parent
commit
7239e2bd07
  1. 6
      Tools/scripts/configure_all.py

6
Tools/scripts/configure_all.py

@ -48,7 +48,11 @@ for board in get_board_list(): @@ -48,7 +48,11 @@ for board in get_board_list():
print("Configuring for %s" % board)
run_program(["./waf", "configure", "--board", board], "configure: " + board)
if args.build:
run_program(["./waf", "copter"], "build: " + board)
if board == "iomcu":
target = "iofirmware"
else:
target = "copter"
run_program(["./waf", target], "build: " + 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):

Loading…
Cancel
Save