mirror of
https://github.com/opentx/opentx.git
synced 2025-07-19 06:15:10 +03:00
This commit is contained in:
parent
8c0c30e371
commit
6cae60940c
2 changed files with 10 additions and 0 deletions
|
@ -468,6 +468,13 @@ stamp:
|
|||
@echo "#define SVN_VERS \"open9x-r$(SVNREV)\"" >> ../stamp-open9x.txt
|
||||
@cat ../stamp-open9x.txt
|
||||
|
||||
arm-stamp:
|
||||
@echo "#define DATE_STR \"`date +%Y-%m-%d`\"" > ../stamp-open9x-arm.txt
|
||||
@echo "#define TIME_STR \"`date +%H:%I:%S`\"" >> ../stamp-open9x-arm.txt
|
||||
@echo "#define VERS_STR \"$(MAJ_VER).$(MIN_VER)\"" >> ../stamp-open9x-arm.txt
|
||||
@echo "#define SVN_VERS \"open9x-r$(SVNREV)\"" >> ../stamp-open9x-arm.txt
|
||||
@cat ../stamp-open9x-arm.txt
|
||||
|
||||
font.lbm: font_6x1.xbm
|
||||
@echo
|
||||
@echo "Convert font from xbm to lbm:"
|
||||
|
|
|
@ -99,6 +99,9 @@ if platform.system() == "Windows":
|
|||
# arm board
|
||||
hexes = generate("open9x-arm", "PCB=ARM", "bin", options_arm, 262000)
|
||||
generate_c9x_list("../../companion9x/src/open9x-arm-binaries.cpp", hexes, "bin", "BOARD_ERSKY9X")
|
||||
# arm stamp
|
||||
subprocess.check_output(["make", "arm-stamp"])
|
||||
|
||||
else:
|
||||
# stock board
|
||||
hexes = generate("open9x-stock", "PCB=STD", "hex", options_stock, 65530)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue