Get rid of HW_LAYER_EMS (#5389)
Now we have HW_LAYER(_CPP) for common HW stuff And HW_LAYER_PORT(_CPP) for ports stuff Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
This commit is contained in:
parent
8b33fb79bb
commit
67834809d4
|
@ -238,6 +238,7 @@ CSRC = check.c \
|
||||||
$(DEV_SRC) \
|
$(DEV_SRC) \
|
||||||
$(BOOTLOADERSRC) \
|
$(BOOTLOADERSRC) \
|
||||||
${HW_MASS_STORAGE_SRC_C} \
|
${HW_MASS_STORAGE_SRC_C} \
|
||||||
|
$(HW_LAYER) \
|
||||||
$(HW_LAYER_PORT) \
|
$(HW_LAYER_PORT) \
|
||||||
$(HW_LAYER_DRIVERS_CORE) \
|
$(HW_LAYER_DRIVERS_CORE) \
|
||||||
$(HW_LAYER_DRIVERS) \
|
$(HW_LAYER_DRIVERS) \
|
||||||
|
|
|
@ -174,6 +174,7 @@ include $(PROJECT_DIR)/hw_layer/drivers/drivers.mk
|
||||||
CSRC = $(ALLCSRC) \
|
CSRC = $(ALLCSRC) \
|
||||||
$(BOARDSRC) \
|
$(BOARDSRC) \
|
||||||
$(DEV_SRC) \
|
$(DEV_SRC) \
|
||||||
|
$(HW_LAYER) \
|
||||||
$(HW_LAYER_PORT) \
|
$(HW_LAYER_PORT) \
|
||||||
$(HW_LAYER_DRIVERS_CORE) \
|
$(HW_LAYER_DRIVERS_CORE) \
|
||||||
$(FATFSSRC) \
|
$(FATFSSRC) \
|
||||||
|
|
|
@ -19,6 +19,7 @@ ALLCPPSRC += \
|
||||||
$(CONTROLLERS_ALGO_SRC_CPP) \
|
$(CONTROLLERS_ALGO_SRC_CPP) \
|
||||||
$(CONTROLLERS_SENSORS_SRC_CPP) \
|
$(CONTROLLERS_SENSORS_SRC_CPP) \
|
||||||
$(TUNERSTUDIO_SRC_CPP) \
|
$(TUNERSTUDIO_SRC_CPP) \
|
||||||
|
$(HW_LAYER_CPP) \
|
||||||
$(HW_LAYER_PORT_CPP) \
|
$(HW_LAYER_PORT_CPP) \
|
||||||
$(HW_SENSORS_CPP) \
|
$(HW_SENSORS_CPP) \
|
||||||
$(SYSTEMSRC_CPP) \
|
$(SYSTEMSRC_CPP) \
|
||||||
|
|
|
@ -7,7 +7,7 @@ HW_LAYER_INC= $(PROJECT_DIR)/hw_layer $(PROJECT_DIR)/hw_layer/adc \
|
||||||
HW_INC = hw_layer/$(CPU_HWLAYER) \
|
HW_INC = hw_layer/$(CPU_HWLAYER) \
|
||||||
$(PROJECT_DIR)/hw_layer/ports
|
$(PROJECT_DIR)/hw_layer/ports
|
||||||
|
|
||||||
HW_LAYER_PORT_CPP = \
|
HW_LAYER_CPP = \
|
||||||
$(PROJECT_DIR)/hw_layer/pin_repository.cpp \
|
$(PROJECT_DIR)/hw_layer/pin_repository.cpp \
|
||||||
$(PROJECT_DIR)/hw_layer/microsecond_timer/microsecond_timer.cpp \
|
$(PROJECT_DIR)/hw_layer/microsecond_timer/microsecond_timer.cpp \
|
||||||
$(PROJECT_DIR)/hw_layer/digital_input/digital_input_exti.cpp \
|
$(PROJECT_DIR)/hw_layer/digital_input/digital_input_exti.cpp \
|
||||||
|
@ -32,7 +32,7 @@ HW_LAYER_PORT_CPP = \
|
||||||
$(PROJECT_DIR)/hw_layer/adc/mcp3208.cpp
|
$(PROJECT_DIR)/hw_layer/adc/mcp3208.cpp
|
||||||
|
|
||||||
ifeq ($(USE_OPENBLT),yes)
|
ifeq ($(USE_OPENBLT),yes)
|
||||||
HW_LAYER_PORT += \
|
HW_LAYER += \
|
||||||
$(PROJECT_DIR)/hw_layer/openblt/shared_params.c
|
$(PROJECT_DIR)/hw_layer/openblt/shared_params.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue