mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-17 23:48:13 +08:00
修复代码错误
This commit is contained in:
@@ -48,6 +48,8 @@ $(NAME)_SOURCES := ../../$(HOST_ARCH_M4)/crt0_$(TOOLCHAIN_NAME).c \
|
||||
|
||||
$(NAME)_CFLAGS += -Wno-implicit-function-declaration -Wno-unused-variable
|
||||
|
||||
# These need to be forced into the final ELF since they are not referenced otherwise
|
||||
$(NAME)_LINK_FILES := ../../$(HOST_ARCH_M4)/crt0_$(TOOLCHAIN_NAME).o
|
||||
|
||||
ifneq ($(filter $(subst ., ,$(COMPONENTS)),mocOS),)
|
||||
####################################################################################
|
||||
@@ -90,7 +92,9 @@ GLOBAL_INCLUDES += peripherals/boot2
|
||||
|
||||
GLOBAL_DEFINES += CONFIG_FLASH_PARTITION_COUNT=10 \
|
||||
ARM_GNU
|
||||
|
||||
|
||||
$(NAME)_LINK_FILES += ../../$(HOST_ARCH_M4)/hardfault_handler.o \
|
||||
platform_vector_table.o
|
||||
endif
|
||||
|
||||
ifneq ($(filter spi_flash_write, $(APP)),)
|
||||
|
||||
Reference in New Issue
Block a user