修复代码错误

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

@@ -61,6 +61,9 @@ $(NAME)_SOURCES := ../../$(HOST_ARCH)/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)/crt0_$(TOOLCHAIN_NAME).o
ifneq ($(filter $(subst ., ,$(COMPONENTS)),mocOS),)
####################################################################################
# MOC application
@@ -102,7 +105,9 @@ GLOBAL_INCLUDES += peripherals/boot2
GLOBAL_DEFINES += CONFIG_FLASH_PARTITION_COUNT=10 \
CONFIG_CPU_MW300 \
ARM_GNU
$(NAME)_LINK_FILES += ../../$(HOST_ARCH)/hardfault_handler.o \
platform_vector_table.o
endif
ifneq ($(filter spi_flash_write, $(APP)),)