mirror of
https://github.com/opentx/opentx.git
synced 2025-07-24 00:35:18 +03:00
Compile script for only v4 / stock
This commit is contained in:
parent
7023c18c65
commit
9a53a256de
1 changed files with 9 additions and 7 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue