openpilot v0.9.8 release

date: 2025-03-15T21:10:51
master commit: fb7b9c0f9420d228f03362970ebcfb7237095cf3
This commit is contained in:
Vehicle Researcher
2025-03-15 21:10:52 +00:00
committed by Adeeb Shihadeh
parent d64fb1838d
commit dd778596b7
2844 changed files with 557199 additions and 384479 deletions
+4 -1
View File
@@ -84,6 +84,7 @@ def build_project(project_name, project, extra_flags):
'..',
panda_root,
f"{panda_root}/board/",
f"{panda_root}/../opendbc/safety/",
]
env = Environment(
@@ -167,7 +168,9 @@ Export('base_project_f4', 'base_project_h7', 'build_project')
# Common autogenerated includes
with open("board/obj/gitversion.h", "w") as f:
f.write(f'const uint8_t gitversion[] = "{get_version(BUILDER, BUILD_TYPE)}";\n')
version = get_version(BUILDER, BUILD_TYPE)
f.write(f'extern const uint8_t gitversion[{len(version)}];\n')
f.write(f'const uint8_t gitversion[{len(version)}] = "{version}";\n')
with open("board/obj/version", "w") as f:
f.write(f'{get_version(BUILDER, BUILD_TYPE)}')