Skip to content

Commit

Permalink
modify 4 Makefiles
Browse files Browse the repository at this point in the history
  • Loading branch information
shensheng070632 committed Jan 14, 2019
1 parent ab62505 commit d4a45fe
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,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)
Expand Down Expand Up @@ -293,7 +294,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 = \
Expand Down
6 changes: 4 additions & 2 deletions targets/Mini_Project/cortex-m3_without_driver/GCC/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,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-m3/*.c}
C_SOURCES += $(ARCH_SRC)

ifeq ($(WITH_LWIP), yes)
Expand Down Expand Up @@ -294,7 +295,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-m3
C_INCLUDES += $(ARCH_INC)

LITEOS_CMSIS = \
Expand Down
6 changes: 4 additions & 2 deletions targets/Mini_Project/cortex-m4_without_driver/GCC/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,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-m4/*.c}
C_SOURCES += $(ARCH_SRC)

ifeq ($(WITH_LWIP), yes)
Expand Down Expand Up @@ -321,7 +322,8 @@ KERNEL_INC = \
C_INCLUDES += $(KERNEL_INC)

ARCH_INC = \
-I $(TOP_DIR)/arch/arm/arm-m/include
-I $(TOP_DIR)/arch/arm/arm-m/include \
-I $(TOP_DIR)/arch/arm/arm-m/cortex-m4
C_INCLUDES += $(ARCH_INC)

LITEOS_CMSIS = \
Expand Down
6 changes: 4 additions & 2 deletions targets/STM32F103VET6_NB_GCC/GCC/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,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-m3/*.c}
C_SOURCES += $(ARCH_SRC)
HAL_DRIVER_SRC = \
$(TOP_DIR)/targets/STM32F103VET6_NB_GCC/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c \
Expand Down Expand Up @@ -191,7 +192,8 @@ HAL_DRIVER_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-m3
C_INCLUDES += $(ARCH_INC)

LITEOS_CMSIS = \
Expand Down

0 comments on commit d4a45fe

Please sign in to comment.