Carrot2-v9

This commit is contained in:
Vehicle Researcher
2023-09-27 15:45:31 -07:00
committed by ajouatom
commit bd2ed6664a
3698 changed files with 1196357 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
import os
import copy
Import('build_project', 'base_project_f4', 'base_project_h7')
build_projects = {
"panda": base_project_f4,
"panda_h7": base_project_h7,
}
for project_name, project in build_projects.items():
flags = [
"-DPANDA",
]
if ("ENABLE_SPI" in os.environ or "h7" in project_name):
flags.append('-DENABLE_SPI')
build_project(project_name, project, flags)