include board.mk

This commit is contained in:
David Holdeman 2024-03-14 19:05:09 -05:00 committed by rusefillc
parent af200c573a
commit c01393b059
1 changed files with 8 additions and 0 deletions

View File

@ -19,6 +19,13 @@ RULESPATH = $(CHIBIOS)/os/common/startup/SIMIA32/compilers/GCC
PROJECT_CPU=simulator
# Board-specific configuration
ifeq (,$(filter clean,$(MAKECMDGOALS)))
ifneq ($(BOARD_DIR),)
include ../firmware/$(BOARD_DIR)/board.mk
endif
endif
include ../firmware/rusefi.mk
include ../firmware/rusefi_rules.mk
@ -174,6 +181,7 @@ CSRC = $(ALLCSRC) \
# C++ sources that can be compiled in ARM or THUMB mode depending on the global
# setting.
CPPSRC = $(ALLCPPSRC) \
$(BOARDCPPSRC) \
$(CHIBIOS)/os/various/cpp_wrappers/ch.cpp \
$(HW_LAYER_DRIVERS_CPP) \
$(HW_LAYER_DRIVERS_CORE_CPP) \