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 \
|
2020-03-03 14:56:50 -08:00
|
|
|
$(CONTROLLERS_DIR)/actuators/dc_motors.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 \
|
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 \
|
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 \
|
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 \
|
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-02 17:17:58 -07:00
|
|
|
$(CONTROLLERS_DIR)/buttonshift.cpp \
|
2020-09-02 12:39:50 -07:00
|
|
|
$(CONTROLLERS_DIR)/tcu.cpp \
|
2020-10-09 20:34:45 -07:00
|
|
|
$(CONTROLLERS_DIR)/gear_controller.cpp \
|
2020-09-09 00:22:15 -07:00
|
|
|
$(CONTROLLERS_DIR)/start_stop.cpp \
|
2020-10-09 20:34:45 -07:00
|
|
|
$(CONTROLLERS_DIR)/simple_tcu.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 \
|
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 \
|
|
|
|
$(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
|
|
|
|