修复代码错误

This commit is contained in:
nhkefus
2025-03-11 14:10:51 +08:00
parent a7f6e9379a
commit 3422912129
576 changed files with 39303 additions and 1012 deletions

View File

@@ -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)),)