2019-12-03 20:52:44 -08:00
|
|
|
include $(PROJECT_DIR)/controllers/algo/algo.mk
|
|
|
|
include $(PROJECT_DIR)/controllers/core/core.mk
|
|
|
|
include $(PROJECT_DIR)/controllers/math/math.mk
|
|
|
|
include $(PROJECT_DIR)/controllers/trigger/trigger.mk
|
|
|
|
include $(PROJECT_DIR)/controllers/sensors/sensors.mk
|
|
|
|
include $(PROJECT_DIR)/controllers/system/system.mk
|
|
|
|
#include $(PROJECT_DIR)/controllers/gauges/gauges.mk
|
|
|
|
|
2019-04-04 22:02:34 -07:00
|
|
|
CONTROLLERS_DIR=$(PROJECT_DIR)/controllers
|
2015-07-10 06:01:56 -07:00
|
|
|
|
|
|
|
CONTROLLERSSRC =
|
|
|
|
|
2019-04-04 22:02:34 -07:00
|
|
|
CONTROLLERS_SRC_CPP = \
|
|
|
|
$(CONTROLLERS_DIR)/actuators/electronic_throttle.cpp \
|
|
|
|
$(CONTROLLERS_DIR)/actuators/alternator_controller.cpp \
|
2020-02-02 00:56:21 -08:00
|
|
|
$(CONTROLLERS_DIR)/actuators/boost_control.cpp \
|
2019-04-04 22:41:24 -07:00
|
|
|
$(CONTROLLERS_DIR)/actuators/idle_thread.cpp \
|
|
|
|
$(CONTROLLERS_DIR)/actuators/pwm_tester.cpp \
|
|
|
|
$(CONTROLLERS_DIR)/actuators/algo/aux_pid.cpp \
|
2019-12-03 20:52:44 -08:00
|
|
|
$(CONTROLLERS_DIR)/gauges/tachometer.cpp \
|
|
|
|
$(CONTROLLERS_DIR)/gauges/malfunction_indicator.cpp \
|
|
|
|
$(CONTROLLERS_DIR)/gauges/lcd_controller.cpp \
|
2019-12-03 21:35:05 -08:00
|
|
|
$(CONTROLLERS_DIR)/system/timer/signal_executor_sleep.cpp \
|
|
|
|
$(CONTROLLERS_DIR)/system/timer/single_timer_executor.cpp \
|
|
|
|
$(CONTROLLERS_DIR)/system/timer/pwm_generator_logic.cpp \
|
|
|
|
$(CONTROLLERS_DIR)/system/timer/event_queue.cpp \
|
|
|
|
$(CONTROLLERS_DIR)/settings.cpp \
|
|
|
|
$(CONTROLLERS_DIR)/core/error_handling.cpp \
|
2019-12-08 10:09:51 -08:00
|
|
|
$(CONTROLLERS_DIR)/engine_cycle/map_averaging.cpp \
|
2019-12-08 10:21:35 -08:00
|
|
|
$(CONTROLLERS_DIR)/engine_cycle/rpm_calculator.cpp \
|
|
|
|
$(CONTROLLERS_DIR)/engine_cycle/spark_logic.cpp \
|
|
|
|
$(CONTROLLERS_DIR)/engine_cycle/main_trigger_callback.cpp \
|
|
|
|
$(CONTROLLERS_DIR)/engine_cycle/aux_valves.cpp \
|
2019-12-03 21:35:05 -08:00
|
|
|
$(CONTROLLERS_DIR)/flash_main.cpp \
|
|
|
|
$(CONTROLLERS_DIR)/injector_central.cpp \
|
|
|
|
$(CONTROLLERS_DIR)/obd2.cpp \
|
|
|
|
$(CONTROLLERS_DIR)/engine_controller.cpp \
|
|
|
|
$(CONTROLLERS_DIR)/persistent_store.cpp \
|
2019-04-09 20:01:45 -07:00
|
|
|
|
2019-04-04 22:02:34 -07:00
|
|
|
|
|
|
|
CONTROLLERS_INC=\
|
|
|
|
$(CONTROLLERS_DIR) \
|
2019-11-19 17:05:12 -08:00
|
|
|
$(CONTROLLERS_DIR)/system \
|
2019-12-03 21:35:05 -08:00
|
|
|
$(CONTROLLERS_DIR)/system/timer \
|
2019-11-19 17:05:12 -08:00
|
|
|
$(CONTROLLERS_DIR)/algo \
|
2019-12-08 10:09:51 -08:00
|
|
|
$(CONTROLLERS_DIR)/engine_cycle \
|
2019-11-19 17:05:12 -08:00
|
|
|
$(CONTROLLERS_DIR)/trigger/decoders \
|
|
|
|
$(CONTROLLERS_DIR)/trigger \
|
2019-12-03 20:52:44 -08:00
|
|
|
$(CONTROLLERS_DIR)/sensors \
|
|
|
|
$(CONTROLLERS_DIR)/sensors/converters \
|
2019-11-19 17:05:12 -08:00
|
|
|
$(CONTROLLERS_DIR)/core \
|
2019-12-03 20:52:44 -08:00
|
|
|
$(CONTROLLERS_DIR)/gauges \
|
2019-11-19 17:05:12 -08:00
|
|
|
$(CONTROLLERS_DIR)/math \
|
2019-06-15 19:11:43 -07:00
|
|
|
$(CONTROLLERS_DIR)/generated \
|
2019-04-04 22:02:34 -07:00
|
|
|
$(CONTROLLERS_DIR)/actuators \
|
|
|
|
|