The Big Refactoring of 2019: folder structure #723
This commit is contained in:
parent
aa2ee8a776
commit
8f4aecf7ca
|
@ -296,8 +296,8 @@ INCDIR = $(CHIBIOS)/os/license \
|
|||
ext_algo \
|
||||
console_util \
|
||||
$(CONSOLE_INC) \
|
||||
$(PROJECT_DIR)/hw_layer \
|
||||
$(PROJECT_DIR)/mass_storage \
|
||||
$(HW_LAYER_INC) \
|
||||
$(PROJECT_DIR)/hw_layer/mass_storage \
|
||||
$(PROJECT_DIR)/hw_layer/serial_over_usb \
|
||||
$(PROJECT_DIR)/hw_layer/algo \
|
||||
$(PROJECT_DIR)/hw_layer/lcd \
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
HW_LAYER_EGT = $(PROJECT_DIR)/hw_layer/serial_over_usb/usbcfg.c \
|
||||
$(PROJECT_DIR)/hw_layer/serial_over_usb/usbconsole.c
|
||||
|
||||
HW_LAYER_INC= $(PROJECT_DIR)/hw_layer $(PROJECT_DIR)/hw_layer/adc \
|
||||
$(PROJECT_DIR)/hw_layer/digital_input \
|
||||
$(PROJECT_DIR)/hw_layer/digital_input/trigger
|
||||
|
||||
HW_INC = hw_layer/$(CPU_HWLAYER) \
|
||||
$(PROJECT_DIR)/hw_layer/ports
|
||||
|
||||
|
@ -8,28 +12,28 @@ HW_LAYER_EGT_CPP = \
|
|||
$(PROJECT_DIR)/hw_layer/max31855.cpp
|
||||
|
||||
HW_LAYER_EMS = $(HW_LAYER_EGT) \
|
||||
$(PROJECT_DIR)/hw_layer/mcp3208.c \
|
||||
$(PROJECT_DIR)/hw_layer/mc33816_data.c \
|
||||
$(PROJECT_DIR)/hw_layer/adc/mcp3208.c \
|
||||
$(PROJECT_DIR)/hw_layer/mc33816_data.c
|
||||
|
||||
HW_LAYER_EMS_CPP = $(HW_LAYER_EGT_CPP) \
|
||||
$(PROJECT_DIR)/hw_layer/pin_repository.cpp \
|
||||
$(PROJECT_DIR)/hw_layer/microsecond_timer.cpp \
|
||||
$(PROJECT_DIR)/hw_layer/digital_input.cpp \
|
||||
$(PROJECT_DIR)/hw_layer/digital_input_icu.cpp \
|
||||
$(PROJECT_DIR)/hw_layer/digital_input_exti.cpp \
|
||||
$(PROJECT_DIR)/hw_layer/digital_input/digital_input.cpp \
|
||||
$(PROJECT_DIR)/hw_layer/digital_input/digital_input_icu.cpp \
|
||||
$(PROJECT_DIR)/hw_layer/digital_input/digital_input_exti.cpp \
|
||||
$(PROJECT_DIR)/hw_layer/digital_input/trigger/trigger_input.cpp \
|
||||
$(PROJECT_DIR)/hw_layer/digital_input/trigger/trigger_input_icu.cpp \
|
||||
$(PROJECT_DIR)/hw_layer/digital_input/trigger/trigger_input_exti.cpp \
|
||||
$(PROJECT_DIR)/hw_layer/hardware.cpp \
|
||||
$(PROJECT_DIR)/hw_layer/smart_gpio.cpp \
|
||||
$(PROJECT_DIR)/hw_layer/neo6m.cpp \
|
||||
$(PROJECT_DIR)/hw_layer/mmc_card.cpp \
|
||||
$(PROJECT_DIR)/hw_layer/lcd/lcd_HD44780.cpp \
|
||||
$(PROJECT_DIR)/hw_layer/adc_inputs.cpp \
|
||||
$(PROJECT_DIR)/hw_layer/adc_subscription.cpp \
|
||||
$(PROJECT_DIR)/hw_layer/trigger_input.cpp \
|
||||
$(PROJECT_DIR)/hw_layer/trigger_input_icu.cpp \
|
||||
$(PROJECT_DIR)/hw_layer/trigger_input_exti.cpp \
|
||||
$(PROJECT_DIR)/hw_layer/hip9011.cpp \
|
||||
$(PROJECT_DIR)/hw_layer/adc/adc_inputs.cpp \
|
||||
$(PROJECT_DIR)/hw_layer/adc/adc_subscription.cpp \
|
||||
$(PROJECT_DIR)/hw_layer/sensors/hip9011.cpp \
|
||||
$(PROJECT_DIR)/hw_layer/sensors/hip9011_logic.cpp \
|
||||
$(PROJECT_DIR)/hw_layer/mc33816.cpp \
|
||||
$(PROJECT_DIR)/hw_layer/hip9011_logic.cpp \
|
||||
$(PROJECT_DIR)/hw_layer/vehicle_speed.cpp \
|
||||
$(PROJECT_DIR)/hw_layer/stepper.cpp \
|
||||
$(PROJECT_DIR)/hw_layer/stepper_dual_hbridge.cpp \
|
||||
|
@ -37,7 +41,7 @@ HW_LAYER_EMS_CPP = $(HW_LAYER_EGT_CPP) \
|
|||
$(PROJECT_DIR)/hw_layer/io_pins.cpp \
|
||||
$(PROJECT_DIR)/hw_layer/rtc_helper.cpp \
|
||||
$(PROJECT_DIR)/hw_layer/cdm_ion_sense.cpp \
|
||||
$(PROJECT_DIR)/hw_layer/backup_ram.cpp \
|
||||
$(PROJECT_DIR)/hw_layer/backup_ram.cpp
|
||||
|
||||
#
|
||||
# '-include' is a magic kind of 'include' which would survive if file to be included is not found
|
||||
|
|
|
@ -196,7 +196,7 @@ INCDIR = . \
|
|||
$(PROJECT_DIR)/config/engines \
|
||||
$(PROJECT_DIR)/ext_algo \
|
||||
$(HW_LAYER_DRIVERS_INC) \
|
||||
$(PROJECT_DIR)/hw_layer \
|
||||
$(HW_LAYER_INC) $(HW_SENSORS_INC) \
|
||||
$(PROJECT_DIR)/hw_layer/algo \
|
||||
$(PROJECT_DIR)/hw_layer/drivers/can \
|
||||
$(HW_SENSORS_INC) \
|
||||
|
|
|
@ -179,9 +179,8 @@ INCDIR = . \
|
|||
$(CONSOLE_INC) \
|
||||
$(DEVELOPMENT_DIR) \
|
||||
$(PROJECT_DIR)/ext_algo \
|
||||
$(PROJECT_DIR)/hw_layer \
|
||||
$(HW_LAYER_INC) \
|
||||
$(PROJECT_DIR)/hw_layer/algo \
|
||||
$(PROJECT_DIR)/hw_layer/sensors/ \
|
||||
$(PROJECT_DIR)/init/ \
|
||||
$(HW_LAYER_DRIVERS_INC) \
|
||||
test_data_structures \
|
||||
|
|
Loading…
Reference in New Issue