This commit is contained in:
NonPIayerCharacter
2025-09-02 18:20:30 +03:00
parent 1e529c2c72
commit 81d5621bab
10 changed files with 17 additions and 7 deletions
+3 -3
View File
@@ -1460,15 +1460,15 @@ OBJ_LIST += $(SRC_SO)
test_target: prerequirement $(SRC_O) $(SRC_SO)
application: test_target
$(CC) -o project.elf -L./../libs \
@$(CC) -o project.elf -L./../libs \
-u user_main -march=ck803 -mcpu=ck803s -g -Wl,--gc-sections -Wl,-zmax-page-size=1024 \
-Xlinker -Map=project.map \
-Wl,--start-group $(OBJ_LIST) \
$(LDFLAGS) -Wl,--end-group -T./utilities/gcc_csky.ld \
-Xlinker -Map=project.map
$(OP) --strip-unneeded -O ihex project.elf project.hex
$(OP) --strip-unneeded -O binary project.elf project.bin
@$(OP) --strip-unneeded -O ihex project.elf project.hex
@$(OP) --strip-unneeded -O binary project.elf project.bin
.PHONY: prerequirement
prerequirement: