This commit is contained in:
firestar5683
2026-08-02 12:20:20 -05:00
parent 6d4089feb7
commit d89371c518
206 changed files with 5069 additions and 1790 deletions
+4 -1
View File
@@ -2,6 +2,9 @@ import os
import opendbc
import subprocess
local_opendbc_path = os.path.abspath(os.path.join(Dir(".").abspath, "..", "opendbc_repo"))
opendbc_include_path = local_opendbc_path if os.path.isdir(os.path.join(local_opendbc_path, "opendbc")) else opendbc.INCLUDE_PATH
PREFIX = "arm-none-eabi-"
BUILDER = "DEV"
@@ -90,7 +93,7 @@ def build_project(project_name, project, main, extra_flags):
CFLAGS=flags,
ASFLAGS=flags,
LINKFLAGS=flags,
CPPPATH=[Dir("./"), "./board/stm32f4/inc", "./board/stm32h7/inc", opendbc.INCLUDE_PATH],
CPPPATH=[Dir("./"), "./board/stm32f4/inc", "./board/stm32h7/inc", opendbc_include_path],
ASCOM="$AS $ASFLAGS -o $TARGET -c $SOURCES",
BUILDERS={
'Objcopy': Builder(generator=objcopy, suffix='.bin', src_suffix='.elf')