From 7e1307a3bba2e183ce859095b0b529df5fa877f4 Mon Sep 17 00:00:00 2001 From: Jiacheng Shi Date: Sat, 26 Mar 2022 13:51:02 +0800 Subject: [PATCH] fix: fix the compilation error on cortex-m4-emulator --- Ubiquitous/XiZi/arch/arm/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Ubiquitous/XiZi/arch/arm/Makefile b/Ubiquitous/XiZi/arch/arm/Makefile index 4deddfcac..c078169c4 100644 --- a/Ubiquitous/XiZi/arch/arm/Makefile +++ b/Ubiquitous/XiZi/arch/arm/Makefile @@ -5,6 +5,11 @@ SRC_DIR := shared SRC_DIR += cortex-m3 endif +ifeq ($(CONFIG_BOARD_CORTEX_M4_EVB),y) +SRC_DIR := shared +SRC_DIR += cortex-m4 +endif + ifeq ($(CONFIG_BOARD_STM32F103_NANO),y) SRC_DIR := shared SRC_DIR += cortex-m3