dragonpilot mod for 0.8.5-4

This commit is contained in:
Rick Lan
2021-07-02 12:49:43 +08:00
parent 145b222f0d
commit 522fb06db7
224 changed files with 9120 additions and 7777 deletions

View File

@@ -36,6 +36,16 @@ else:
"-g",
]
if FindFile('dp_vw', '/data/params/d') != None:
with open('/data/params/d/dp_vw_panda') as f:
if (int(f.read().strip())) == 1:
PROJECT_FLAGS += ['-Dvw']
if FindFile('dp_panda_fake_black', '/data/params/d') != None:
with open('/data/params/d/dp_panda_fake_black') as f:
if (int(f.read().strip())) == 1:
PROJECT_FLAGS += ['-Dfake_black_panda']
if not PC:
PROJECT_FLAGS += ["-DEON"]
BUILDER = "EON"