fix XiZi/cortex-m4-emulator compile error

This commit is contained in:
Liu_Weichao 2022-03-28 15:27:52 +08:00
parent 1814a2d577
commit 03905157ad
1 changed files with 6 additions and 1 deletions

View File

@ -7,7 +7,7 @@ endif
ifeq ($(CONFIG_BOARD_STM32F103_NANO),y) ifeq ($(CONFIG_BOARD_STM32F103_NANO),y)
SRC_DIR := shared SRC_DIR := shared
SRC_DIR +=cortex-m3 SRC_DIR += cortex-m3
endif endif
ifeq ($(CONFIG_BOARD_STM32F407_EVB),y) ifeq ($(CONFIG_BOARD_STM32F407_EVB),y)
@ -15,6 +15,11 @@ SRC_DIR := shared
SRC_DIR += cortex-m4 SRC_DIR += cortex-m4
endif endif
ifeq ($(CONFIG_BOARD_CORTEX_M4_EVB),y)
SRC_DIR := shared
SRC_DIR += cortex-m4
endif
ifeq ($(CONFIG_BOARD_CORTEX_M7_EVB),y) ifeq ($(CONFIG_BOARD_CORTEX_M7_EVB),y)
SRC_DIR := shared SRC_DIR := shared
SRC_DIR += cortex-m7 SRC_DIR += cortex-m7