From 9a53a256de8d4d7977d1c325109847671eb184f0 Mon Sep 17 00:00:00 2001 From: bsongis Date: Sat, 21 Apr 2012 17:54:42 +0000 Subject: [PATCH] Compile script for only v4 / stock --- util/compile.py | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/util/compile.py b/util/compile.py index b435d8157..6e7006f53 100644 --- a/util/compile.py +++ b/util/compile.py @@ -206,12 +206,14 @@ if __name__ == "__main__": else: # stock board - hexes, stamp = multithread_generate("open9x-stock", "PCB=STD", "hex", options_stock, languages, 65530) - generate_c9x_list("../../companion9x/src/open9x-stock-binaries.cpp", hexes, "hex", "OPEN9X_STAMP", "BOARD_STOCK") - upload(hexes, "hex", stamp) - + if not "v4" in sys.argv: + hexes, stamp = multithread_generate("open9x-stock", "PCB=STD", "hex", options_stock, languages, 65530) + generate_c9x_list("../../companion9x/src/open9x-stock-binaries.cpp", hexes, "hex", "OPEN9X_STAMP", "BOARD_STOCK") + upload(hexes, "hex", stamp) + # v4 board - hexes, stamp = multithread_generate("open9x-v4", "PCB=V4", "hex", options_v4, languages, 262000) - generate_c9x_list("../../companion9x/src/open9x-v4-binaries.cpp", hexes, "hex", "OPEN9X_STAMP", "BOARD_GRUVIN9X") - upload(hexes, "hex", stamp) + if not "stock" in sys.argv: + hexes, stamp = multithread_generate("open9x-v4", "PCB=V4", "hex", options_v4, languages, 262000) + generate_c9x_list("../../companion9x/src/open9x-v4-binaries.cpp", hexes, "hex", "OPEN9X_STAMP", "BOARD_GRUVIN9X") + upload(hexes, "hex", stamp)