From c1673fdd7d0cbc5cf7e80a383a5b92ae29511287 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 c1a6ed745..17452ee99 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