2022-10-26 12:33:47 -07:00
|
|
|
HW_STM32_PORT_DIR = $(PROJECT_DIR)/hw_layer/ports/stm32
|
2022-04-25 17:38:16 -07:00
|
|
|
|
2022-10-26 12:33:47 -07:00
|
|
|
HW_LAYER_EMS_CPP += \
|
|
|
|
$(HW_STM32_PORT_DIR)/serial_over_usb/usbconsole.cpp \
|
|
|
|
$(HW_STM32_PORT_DIR)/stm32_pins.cpp \
|
|
|
|
$(HW_STM32_PORT_DIR)/stm32_common.cpp \
|
|
|
|
$(HW_STM32_PORT_DIR)/stm32_icu.cpp \
|
|
|
|
$(HW_STM32_PORT_DIR)/backup_ram.cpp \
|
|
|
|
$(HW_STM32_PORT_DIR)/microsecond_timer_stm32.cpp \
|
|
|
|
$(HW_STM32_PORT_DIR)/osc_detector.cpp \
|
|
|
|
$(HW_STM32_PORT_DIR)/flash_int.cpp \
|
|
|
|
$(HW_STM32_PORT_DIR)/serial_over_usb/usbcfg.cpp
|
2020-11-18 13:22:19 -08:00
|
|
|
|
2022-10-26 12:33:47 -07:00
|
|
|
RUSEFIASM = \
|
|
|
|
$(HW_STM32_PORT_DIR)/rusEfiStartup.S
|
2020-11-18 13:22:19 -08:00
|
|
|
|
2022-01-08 13:33:34 -08:00
|
|
|
HW_INC += \
|
2022-10-26 12:33:47 -07:00
|
|
|
$(HW_STM32_PORT_DIR) \
|
|
|
|
$(HW_STM32_PORT_DIR)/serial_over_usb
|
2022-01-09 14:39:10 -08:00
|
|
|
|
|
|
|
ifeq ($(EFI_HAS_EXT_SDRAM), yes)
|
|
|
|
USE_OPT += -Wl,--defsym=STM32_HAS_SDRAM=1
|
|
|
|
DDEFS += -DEFI_HAS_EXT_SDRAM
|
|
|
|
endif
|