2015-07-10 06:01:56 -07:00
|
|
|
HW_LAYER_EGT = $(PROJECT_DIR)/hw_layer/serial_over_usb/usbcfg.c \
|
|
|
|
$(PROJECT_DIR)/hw_layer/serial_over_usb/usbconsole.c
|
|
|
|
|
|
|
|
HW_LAYER_EGT_CPP = $(PROJECT_DIR)/hw_layer/can_hw.cpp \
|
|
|
|
$(PROJECT_DIR)/hw_layer/max31855.cpp
|
|
|
|
|
|
|
|
HW_LAYER_EMS = $(HW_LAYER_EGT) \
|
|
|
|
$(PROJECT_DIR)/hw_layer/mcp3208.c \
|
2018-11-16 04:40:06 -08:00
|
|
|
$(PROJECT_DIR)/hw_layer/flash.c
|
2017-02-14 18:01:56 -08:00
|
|
|
|
2015-07-10 06:01:56 -07:00
|
|
|
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_hw.cpp \
|
2018-12-18 20:50:29 -08:00
|
|
|
$(PROJECT_DIR)/hw_layer/digital_input_exti.cpp \
|
2015-07-10 06:01:56 -07:00
|
|
|
$(PROJECT_DIR)/hw_layer/hardware.cpp \
|
2019-04-13 07:58:52 -07:00
|
|
|
$(PROJECT_DIR)/hw_layer/smart_gpio.cpp \
|
2015-07-10 06:01:56 -07:00
|
|
|
$(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/board_test.cpp \
|
|
|
|
$(PROJECT_DIR)/hw_layer/pwm_generator.cpp \
|
2019-04-12 05:05:53 -07:00
|
|
|
$(PROJECT_DIR)/hw_layer/trigger_input.cpp \
|
2019-03-29 06:11:13 -07:00
|
|
|
$(PROJECT_DIR)/hw_layer/hip9011.cpp \
|
2019-05-03 18:13:25 -07:00
|
|
|
$(PROJECT_DIR)/hw_layer/mc33816.cpp \
|
2019-03-29 06:11:13 -07:00
|
|
|
$(PROJECT_DIR)/hw_layer/hip9011_logic.cpp \
|
2015-07-10 06:01:56 -07:00
|
|
|
$(PROJECT_DIR)/hw_layer/vehicle_speed.cpp \
|
|
|
|
$(PROJECT_DIR)/hw_layer/stepper.cpp \
|
|
|
|
$(PROJECT_DIR)/hw_layer/servo.cpp \
|
|
|
|
$(PROJECT_DIR)/hw_layer/io_pins.cpp \
|
2017-12-22 05:49:03 -08:00
|
|
|
$(PROJECT_DIR)/hw_layer/rtc_helper.cpp \
|
2018-12-31 13:00:41 -08:00
|
|
|
$(PROJECT_DIR)/hw_layer/cdm_ion_sense.cpp \
|
2017-12-22 05:49:03 -08:00
|
|
|
$(PROJECT_DIR)/hw_layer/backup_ram.cpp
|
2018-11-16 04:40:06 -08:00
|
|
|
|
2019-04-09 15:37:25 -07:00
|
|
|
ifeq ($(PROJECT_CPU),ARCH_STM32F7)
|
2019-03-28 19:46:10 -07:00
|
|
|
HW_LAYER_EMS += $(PROJECT_DIR)/hw_layer/ports/stm32/stm32f7/stm32f7xx_hal_flash.c \
|
|
|
|
$(PROJECT_DIR)/hw_layer/ports/stm32/stm32f7/stm32f7xx_hal_flash_ex.c
|
2018-12-26 19:17:51 -08:00
|
|
|
endif
|
|
|
|
|
2019-04-09 15:37:25 -07:00
|
|
|
ifeq ($(PROJECT_CPU),ARCH_STM32F4)
|
2019-03-28 19:46:10 -07:00
|
|
|
HW_LAYER_EMS += $(PROJECT_DIR)/hw_layer/ports/stm32/stm32f4/stm32f4xx_hal_flash.c \
|
|
|
|
$(PROJECT_DIR)/hw_layer/ports/stm32/stm32f4/stm32f4xx_hal_flash_ex.c
|
2018-11-16 04:40:06 -08:00
|
|
|
endif
|
2018-12-26 19:17:51 -08:00
|
|
|
|
2019-04-09 15:37:25 -07:00
|
|
|
ifeq ($(PROJECT_CPU),ARCH_STM32F1)
|
2018-12-26 19:17:51 -08:00
|
|
|
endif
|
2019-03-29 07:29:01 -07:00
|
|
|
|
|
|
|
-include $(PROJECT_DIR)/hw_layer/$(CPU_HWLAYER)/hw_ports.mk
|
2015-07-10 06:01:56 -07:00
|
|
|
|