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 \
|
2021-06-27 15:51:34 -07:00
|
|
|
$(CONTROLLERS_DIR)/actuators/ac_control.cpp \
|
2019-04-04 22:02:34 -07:00
|
|
|
$(CONTROLLERS_DIR)/actuators/alternator_controller.cpp \
|
2020-02-02 00:56:21 -08:00
|
|
|
$(CONTROLLERS_DIR)/actuators/boost_control.cpp \
|
2020-03-03 14:56:50 -08:00
|
|
|
$(CONTROLLERS_DIR)/actuators/dc_motors.cpp \
|
2021-06-11 03:25:12 -07:00
|
|
|
$(CONTROLLERS_DIR)/actuators/fan_control.cpp \
|
2021-11-19 19:23:12 -08:00
|
|
|
$(CONTROLLERS_DIR)/actuators/fuel_pump.cpp \
|
2021-10-16 21:27:12 -07:00
|
|
|
$(CONTROLLERS_DIR)/actuators/idle_thread_io.cpp \
|
2020-11-03 15:06:32 -08:00
|
|
|
$(CONTROLLERS_DIR)/actuators/idle_hardware.cpp \
|
2019-04-04 22:41:24 -07:00
|
|
|
$(CONTROLLERS_DIR)/actuators/idle_thread.cpp \
|
2021-12-07 18:28:04 -08:00
|
|
|
$(CONTROLLERS_DIR)/actuators/ignition_controller.cpp \
|
2021-11-24 04:47:51 -08:00
|
|
|
$(CONTROLLERS_DIR)/actuators/main_relay.cpp \
|
2019-04-04 22:41:24 -07:00
|
|
|
$(CONTROLLERS_DIR)/actuators/pwm_tester.cpp \
|
2021-03-14 16:31:46 -07:00
|
|
|
$(CONTROLLERS_DIR)/actuators/vvt.cpp \
|
2020-04-26 11:06:28 -07:00
|
|
|
$(CONTROLLERS_DIR)/actuators/gppwm/gppwm_channel.cpp \
|
|
|
|
$(CONTROLLERS_DIR)/actuators/gppwm/gppwm.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 \
|
2020-11-05 13:34:25 -08:00
|
|
|
$(CONTROLLERS_DIR)/engine_cycle/high_pressure_fuel_pump.cpp \
|
2019-12-08 10:21:35 -08:00
|
|
|
$(CONTROLLERS_DIR)/engine_cycle/rpm_calculator.cpp \
|
|
|
|
$(CONTROLLERS_DIR)/engine_cycle/spark_logic.cpp \
|
2022-04-29 10:47:31 -07:00
|
|
|
$(CONTROLLERS_DIR)/engine_cycle/knock_controller.cpp \
|
2019-12-08 10:21:35 -08:00
|
|
|
$(CONTROLLERS_DIR)/engine_cycle/main_trigger_callback.cpp \
|
2022-09-07 13:25:50 -07:00
|
|
|
$(CONTROLLERS_DIR)/engine_cycle/prime_injection.cpp \
|
2019-12-08 10:21:35 -08:00
|
|
|
$(CONTROLLERS_DIR)/engine_cycle/aux_valves.cpp \
|
2020-07-24 18:26:24 -07:00
|
|
|
$(CONTROLLERS_DIR)/engine_cycle/fuel_schedule.cpp \
|
2019-12-03 21:35:05 -08:00
|
|
|
$(CONTROLLERS_DIR)/flash_main.cpp \
|
2020-03-26 05:03:55 -07:00
|
|
|
$(CONTROLLERS_DIR)/bench_test.cpp \
|
2020-03-18 20:20:00 -07:00
|
|
|
$(CONTROLLERS_DIR)/can/obd2.cpp \
|
2020-03-19 14:58:46 -07:00
|
|
|
$(CONTROLLERS_DIR)/can/can_verbose.cpp \
|
2020-03-19 05:43:37 -07:00
|
|
|
$(CONTROLLERS_DIR)/can/can_rx.cpp \
|
2021-07-13 04:32:41 -07:00
|
|
|
$(CONTORLLERS_DIR)/can/rusefi_wideband.cpp \
|
2020-03-19 11:01:07 -07:00
|
|
|
$(CONTROLLERS_DIR)/can/can_tx.cpp \
|
|
|
|
$(CONTROLLERS_DIR)/can/can_dash.cpp \
|
2020-04-21 17:48:37 -07:00
|
|
|
$(CONTROLLERS_DIR)/can/can_vss.cpp \
|
2019-12-03 21:35:05 -08:00
|
|
|
$(CONTROLLERS_DIR)/engine_controller.cpp \
|
2020-03-22 21:01:59 -07:00
|
|
|
$(CONTROLLERS_DIR)/engine_controller_misc.cpp \
|
2019-12-03 21:35:05 -08:00
|
|
|
$(CONTROLLERS_DIR)/persistent_store.cpp \
|
2020-05-11 09:17:42 -07:00
|
|
|
$(CONTROLLERS_DIR)/serial/serial_rx.cpp \
|
|
|
|
$(CONTROLLERS_DIR)/serial/serial_sensor.cpp \
|
2020-09-09 00:22:15 -07:00
|
|
|
$(CONTROLLERS_DIR)/start_stop.cpp \
|
2022-09-28 17:16:01 -07:00
|
|
|
$(CONTROLLERS_DIR)/tcu/buttonshift.cpp \
|
|
|
|
$(CONTROLLERS_DIR)/tcu/tcu.cpp \
|
|
|
|
$(CONTROLLERS_DIR)/tcu/gear_controller.cpp \
|
|
|
|
$(CONTROLLERS_DIR)/tcu/simple_tcu.cpp \
|
|
|
|
$(CONTROLLERS_DIR)/tcu/tc_4l6x.cpp \
|
2022-09-28 19:42:08 -07:00
|
|
|
$(CONTROLLERS_DIR)/shutdown_controller.cpp \
|
2020-12-26 14:30:46 -08:00
|
|
|
$(CONTROLLERS_DIR)/limp_manager.cpp \
|
2020-03-19 11:01:07 -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 \
|
2020-06-06 04:25:19 -07:00
|
|
|
$(CONTROLLERS_DIR)/algo/airmass \
|
2021-06-02 14:50:07 -07:00
|
|
|
$(CONTROLLERS_DIR)/algo/defaults \
|
2020-08-10 21:40:19 -07:00
|
|
|
$(CONTROLLERS_DIR)/algo/fuel \
|
2019-12-08 10:09:51 -08:00
|
|
|
$(CONTROLLERS_DIR)/engine_cycle \
|
2019-11-19 17:05:12 -08:00
|
|
|
$(CONTROLLERS_DIR)/trigger/decoders \
|
2022-09-28 17:16:01 -07:00
|
|
|
$(CONTROLLERS_DIR)/tcu \
|
2019-11-19 17:05:12 -08:00
|
|
|
$(CONTROLLERS_DIR)/trigger \
|
2019-12-03 20:52:44 -08:00
|
|
|
$(CONTROLLERS_DIR)/sensors \
|
|
|
|
$(CONTROLLERS_DIR)/sensors/converters \
|
2020-03-18 20:20:00 -07:00
|
|
|
$(CONTROLLERS_DIR)/can \
|
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 \
|
2020-04-26 11:06:28 -07:00
|
|
|
$(CONTROLLERS_DIR)/actuators/gppwm \
|
2020-05-11 09:17:42 -07:00
|
|
|
$(CONTROLLERS_DIR)/serial \
|
2019-04-04 22:02:34 -07:00
|
|
|
|