mirror of https://github.com/rusefi/rusefi-1.git
set MCU properly (#2371)
This commit is contained in:
parent
d933d18e29
commit
fa894d55a3
|
@ -307,7 +307,9 @@ INCDIR = $(ALLINC) \
|
|||
# Compiler settings
|
||||
#
|
||||
|
||||
ifeq ($(MCU),)
|
||||
MCU = cortex-m4
|
||||
endif
|
||||
|
||||
ifeq ($(CROSS_COMPILE),)
|
||||
TRGT = arm-none-eabi-
|
||||
|
|
|
@ -7,6 +7,7 @@ HW_LAYER_EMS_CPP += $(PROJECT_DIR)/hw_layer/ports/stm32/stm32f4/mpu_util.cpp \
|
|||
$(PROJECT_DIR)/hw_layer/ports/stm32/stm32_adc_v2.cpp \
|
||||
|
||||
DDEFS += -DSTM32F407xx
|
||||
MCU = cortex-m4
|
||||
LDSCRIPT = $(PROJECT_DIR)/hw_layer/ports/stm32/stm32f4/STM32F405xG.ld
|
||||
ALLCSRC += $(CHIBIOS)/os/hal/boards/ST_STM32F4_DISCOVERY/board.c
|
||||
CONFDIR = $(PROJECT_DIR)/hw_layer/ports/stm32/stm32f4/cfg
|
||||
|
|
|
@ -7,6 +7,7 @@ HW_LAYER_EMS_CPP += $(PROJECT_DIR)/hw_layer/ports/stm32/stm32f7/mpu_util.cpp \
|
|||
$(PROJECT_DIR)/hw_layer/ports/stm32/stm32_adc_v2.cpp \
|
||||
|
||||
DDEFS += -DSTM32F767xx
|
||||
MCU = cortex-m7
|
||||
LDSCRIPT = $(PROJECT_DIR)/hw_layer/ports/stm32/stm32f7/STM32F76xxI.ld
|
||||
ALLCSRC += $(CHIBIOS)/os/hal/boards/ST_NUCLEO144_F767ZI/board.c
|
||||
CONFDIR = $(PROJECT_DIR)/hw_layer/ports/stm32/stm32f7/cfg
|
||||
|
|
|
@ -6,6 +6,7 @@ HW_LAYER_EMS += $(PROJECT_DIR)/hw_layer/ports/stm32/stm32h7/stm32h7xx_hal_flash.
|
|||
HW_LAYER_EMS_CPP += $(PROJECT_DIR)/hw_layer/ports/stm32/stm32h7/mpu_util.cpp
|
||||
|
||||
DDEFS += -DSTM32H743xx
|
||||
MCU = cortex-m7
|
||||
LDSCRIPT = $(PROJECT_DIR)/hw_layer/ports/stm32/stm32h7/STM32H743xI.ld
|
||||
ALLCSRC += $(CHIBIOS)/os/hal/boards/ST_NUCLEO144_H743ZI/board.c
|
||||
CONFDIR = $(PROJECT_DIR)/hw_layer/ports/stm32/stm32h7/cfg
|
||||
|
|
Loading…
Reference in New Issue