Hw layer rearrangement (#2705)

* Fix simulator compilation

* HW_SENSORS_SRC -> HW_SENSORS_CPP
This commit is contained in:
Andrey G 2021-05-16 14:11:28 +03:00 committed by GitHub
parent 710a512fe7
commit 8ac3de90fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 5 deletions

View File

@ -234,7 +234,7 @@ CPPSRC = $(ALLCPPSRC) \
$(HW_LAYER_EMS_CPP) \
$(HW_LAYER_DRIVERS_CORE_CPP) \
$(HW_LAYER_DRIVERS_CPP) \
$(HW_SENSORS_SRC) \
$(HW_SENSORS_CPP) \
$(TUNERSTUDIO_SRC_CPP) \
$(CONSOLE_SRC_CPP) \
$(CONTROLLERS_SENSORS_SRC_CPP) \

View File

@ -2,7 +2,7 @@ HW_SENSORS_DIR=$(PROJECT_DIR)/hw_layer/sensors
HW_SENSORS_INC=$(HW_SENSORS_DIR)
HW_SENSORS_SRC = \
HW_SENSORS_CPP = \
$(HW_SENSORS_DIR)/cj125.cpp \
$(HW_SENSORS_DIR)/cj125_logic.cpp \
$(HW_SENSORS_DIR)/yaw_rate_sensor.cpp \
@ -10,5 +10,4 @@ HW_SENSORS_SRC = \
$(HW_SENSORS_DIR)/joystick.cpp \
$(HW_SENSORS_DIR)/lps25.cpp \
$(HW_SENSORS_DIR)/max31855.cpp \
$(HW_SENSORS_DIR)/gps_uart.c
$(HW_SENSORS_DIR)/gps_uart.cpp

View File

@ -140,6 +140,7 @@ include $(PROJECT_DIR)/config/engines/engines.mk
include $(PROJECT_DIR)/controllers/controllers.mk
include $(PROJECT_DIR)/development/development.mk
include $(PROJECT_DIR)/hw_layer/hw_layer.mk
include $(PROJECT_DIR)/hw_layer/drivers/drivers.mk
include $(PROJECT_DIR)/hw_layer/sensors/sensors.mk
include $(PROJECT_DIR)/init/init.mk
include $(PROJECT_DIR)/util/util.mk
@ -166,7 +167,8 @@ CPPSRC = $(ALLCPPSRC) \
$(CONTROLLERS_SRC_CPP) \
$(PROJECT_DIR)/development/sensor_chart.cpp \
$(HW_LAYER_EMS_CPP) \
$(HW_SENSORS_SRC) \
$(HW_SENSORS_CPP) \
$(HW_LAYER_DRIVERS_CPP) \
$(TRIGGER_SRC_CPP) \
$(TRIGGER_DECODERS_SRC_CPP) \
$(SYSTEMSRC_CPP) \