modify targets/NXP_LPC51U68/GCC/Makefile
@@ -103,7 +103,8 @@ CMSIS_SRC = \
C_SOURCES += $(CMSIS_SRC)
ARCH_SRC = \
- ${wildcard $(TOP_DIR)/arch/arm/arm-m/src/*.c}
+ ${wildcard $(TOP_DIR)/arch/arm/arm-m/src/*.c} \
+ ${wildcard $(TOP_DIR)/arch/arm/arm-m/cortex-m0/*.c}
C_SOURCES += $(ARCH_SRC)
ifeq ($(WITH_LWIP), yes)
@@ -340,7 +341,8 @@ LWM2M_ATINY_INC = \
ARCH_INC = \
-I $(TOP_DIR)/arch/arm/arm-m/include \
- -I $(TOP_DIR)/arch/arm/common/cmsis
+ -I $(TOP_DIR)/arch/arm/common/cmsis \
+ -I $(TOP_DIR)/arch/arm/arm-m/cortex-m0
C_INCLUDES += $(ARCH_INC)
LITEOS_CMSIS = \
