StarPilot
This commit is contained in:
+5
-2
@@ -152,8 +152,9 @@ base_project_h7 = {
|
||||
# Common autogenerated includes
|
||||
with open("board/obj/gitversion.h", "w") as f:
|
||||
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')
|
||||
version_len = len(version) + 1 # include terminating NUL
|
||||
f.write(f'extern const uint8_t gitversion[{version_len}];\n')
|
||||
f.write(f'const uint8_t gitversion[{version_len}] = "{version}";\n')
|
||||
|
||||
with open("board/obj/version", "w") as f:
|
||||
f.write(f'{get_version(BUILDER, BUILD_TYPE)}')
|
||||
@@ -166,6 +167,8 @@ with open("board/obj/cert.h", "w") as f:
|
||||
# panda fw
|
||||
build_project("panda", base_project_f4, "./board/main.c", [])
|
||||
build_project("panda_h7", base_project_h7, "./board/main.c", [])
|
||||
build_project("panda_remote", base_project_f4, "./board/main.c", ["-DPANDA_GM_REMOTE_START_C9"])
|
||||
build_project("panda_h7_remote", base_project_h7, "./board/main.c", ["-DPANDA_GM_REMOTE_START_C9"])
|
||||
|
||||
# panda jungle fw
|
||||
flags = [
|
||||
|
||||
Reference in New Issue
Block a user