This commit is contained in:
@@ -468,6 +468,13 @@ stamp:
|
|||||||
@echo "#define SVN_VERS \"open9x-r$(SVNREV)\"" >> ../stamp-open9x.txt
|
@echo "#define SVN_VERS \"open9x-r$(SVNREV)\"" >> ../stamp-open9x.txt
|
||||||
@cat ../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
|
font.lbm: font_6x1.xbm
|
||||||
@echo
|
@echo
|
||||||
@echo "Convert font from xbm to lbm:"
|
@echo "Convert font from xbm to lbm:"
|
||||||
|
|||||||
@@ -99,6 +99,9 @@ if platform.system() == "Windows":
|
|||||||
# arm board
|
# arm board
|
||||||
hexes = generate("open9x-arm", "PCB=ARM", "bin", options_arm, 262000)
|
hexes = generate("open9x-arm", "PCB=ARM", "bin", options_arm, 262000)
|
||||||
generate_c9x_list("../../companion9x/src/open9x-arm-binaries.cpp", hexes, "bin", "BOARD_ERSKY9X")
|
generate_c9x_list("../../companion9x/src/open9x-arm-binaries.cpp", hexes, "bin", "BOARD_ERSKY9X")
|
||||||
|
# arm stamp
|
||||||
|
subprocess.check_output(["make", "arm-stamp"])
|
||||||
|
|
||||||
else:
|
else:
|
||||||
# stock board
|
# stock board
|
||||||
hexes = generate("open9x-stock", "PCB=STD", "hex", options_stock, 65530)
|
hexes = generate("open9x-stock", "PCB=STD", "hex", options_stock, 65530)
|
||||||
|
|||||||
Reference in New Issue
Block a user