Move can_hw.cpp in to drivers folder (#1184)

* relocate

* include path

* simulator makefile

* fix mre while we're at it

* it would help if I fixed it right
This commit is contained in:
Matthew Kennedy 2020-03-13 06:50:43 -07:00 committed by GitHub
parent 857f329b06
commit 9a81b7d2c5
6 changed files with 7 additions and 2 deletions

View File

@ -40,6 +40,8 @@
#include "bmw_m73.h"
EXTERN_CONFIG;
void setEngineBMW_M73_microRusEfi(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
// 13641435991 injector
engineConfiguration->injector.flow = 180; // cc/min, who knows if this number is real - no good source of info

View File

@ -3,6 +3,7 @@ DRIVERS_DIR=$(PROJECT_DIR)/hw_layer/drivers
HW_LAYER_DRIVERS_INC = \
$(DRIVERS_DIR) \
$(DRIVERS_DIR)/gpio \
$(DRIVERS_DIR)/can \
HW_LAYER_DRIVERS_CORE = \
$(DRIVERS_DIR)/gpio/core.c \
@ -13,5 +14,6 @@ HW_LAYER_DRIVERS = \
$(DRIVERS_DIR)/gpio/mc33972.c \
$(DRIVERS_DIR)/gpio/mc33810.c
HW_LAYER_DRIVERS_CPP =
HW_LAYER_DRIVERS_CPP = \
$(DRIVERS_DIR)/can/can_hw.cpp \

View File

@ -3,7 +3,7 @@ HW_LAYER_EGT = $(PROJECT_DIR)/hw_layer/serial_over_usb/usbcfg.c \
HW_INC = hw_layer/$(CPU_HWLAYER)
HW_LAYER_EGT_CPP = $(PROJECT_DIR)/hw_layer/can_hw.cpp \
HW_LAYER_EGT_CPP = \
$(PROJECT_DIR)/hw_layer/max31855.cpp
HW_LAYER_EMS = $(HW_LAYER_EGT) \

View File

@ -197,6 +197,7 @@ INCDIR = . \
$(HW_LAYER_DRIVERS_INC) \
$(PROJECT_DIR)/hw_layer \
$(PROJECT_DIR)/hw_layer/algo \
$(PROJECT_DIR)/hw_layer/drivers/can \
$(HW_SENSORS_INC) \
$(DEVELOPMENT_DIR) \
$(CONTROLLERS_INC) \