From 03905157ad3d7f7a99750aeda7c38496be0f57b6 Mon Sep 17 00:00:00 2001 From: Liu_Weichao Date: Mon, 28 Mar 2022 15:27:52 +0800 Subject: [PATCH] fix XiZi/cortex-m4-emulator compile error --- Ubiquitous/XiZi/arch/arm/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Ubiquitous/XiZi/arch/arm/Makefile b/Ubiquitous/XiZi/arch/arm/Makefile index c1a6ed745..4deddfcac 100644 --- a/Ubiquitous/XiZi/arch/arm/Makefile +++ b/Ubiquitous/XiZi/arch/arm/Makefile @@ -7,7 +7,7 @@ endif ifeq ($(CONFIG_BOARD_STM32F103_NANO),y) SRC_DIR := shared -SRC_DIR +=cortex-m3 +SRC_DIR += cortex-m3 endif ifeq ($(CONFIG_BOARD_STM32F407_EVB),y) @@ -15,6 +15,11 @@ SRC_DIR := shared SRC_DIR += cortex-m4 endif +ifeq ($(CONFIG_BOARD_CORTEX_M4_EVB),y) +SRC_DIR := shared +SRC_DIR += cortex-m4 +endif + ifeq ($(CONFIG_BOARD_CORTEX_M7_EVB),y) SRC_DIR := shared SRC_DIR += cortex-m7