Options for building FrSky release firmware updated

This commit is contained in:
Bertrand Songis
2019-05-17 10:21:10 +02:00
parent ce99fa52b3
commit 66cc402491
2 changed files with 10 additions and 4 deletions
+1 -1
View File
@@ -272,7 +272,7 @@ void generalDefault()
g_eeGeneral.stickMode = DEFAULT_MODE - 1;
#endif
#if defined(PCBTARANIS)
#if defined(FRSKY_RELEASE)
g_eeGeneral.templateSetup = 17; /* TAER */
#endif
+9 -3
View File
@@ -12,13 +12,19 @@ options = {
"XLITES": {
"PXX1": "NO",
"LUA": "NO_MODEL_SCRIPTS",
"GVARS": "YES"
"GVARS": "YES",
"PPM": "NO",
"DSM2": "NO",
"SBUS": "NO",
},
"X9LITE": {
"PXX1": "NO",
"LUA": "NO_MODEL_SCRIPTS",
"GVARS": "YES",
"DEFAULT_MODE": "2"
"PPM": "NO",
"DSM2": "NO",
"SBUS": "NO",
"DEFAULT_MODE": "2",
}
}
@@ -34,7 +40,7 @@ def build(board, srcdir):
os.mkdir("output")
path = tempfile.mkdtemp()
os.chdir(path)
os.system("cmake -DPCB=%s %s %s" % (board, cmake_options, srcdir))
os.system("cmake -DPCB=%s %s -DFRSKY_RELEASE=YES %s" % (board, cmake_options, srcdir))
os.system("make firmware -j6")
os.chdir(cwd)
index = 0