This commit is contained in:
zj
2026-03-14 09:10:07 +08:00
parent f940356c75
commit 644b04926d
20 changed files with 2398 additions and 21212 deletions
+3 -1
View File
@@ -14,6 +14,8 @@ RM := rm -rf
-include Peripheral/src/subdir.mk
-include NetLib/subdir.mk
-include Middle/QDXnetworkStack/subdir.mk
-include FreeRTOS/portable/MemMang/subdir.mk
-include FreeRTOS/portable/GCC/RISC-V/subdir.mk
-include FreeRTOS/subdir.mk
-include Debug/subdir.mk
-include Core/subdir.mk
@@ -56,7 +58,7 @@ all: TCPClient.elf secondary-outputs
# 工具调用
TCPClient.elf: $(OBJS) $(USER_OBJS)
@ @ riscv-none-embed-gcc -march=rv32imacxw -mabi=ilp32 -msmall-data-limit=8 -msave-restore -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-common -Wunused -Wuninitialized -g -T "D:\zj\Project_Ch32v307\prj\TCPClient\Ld\Link.ld" -nostartfiles -Xlinker --gc-sections -L"D:\zj\Project_Ch32v307\prj\TCPClient\NetLib" -Wl,-Map,"TCPClient.map" --specs=nano.specs --specs=nosys.specs -o "TCPClient.elf" $(OBJS) $(USER_OBJS) $(LIBS) -lprintf
@ @ riscv-none-embed-gcc -march=rv32imacxw -mabi=ilp32 -msmall-data-limit=8 -msave-restore -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-common -Wunused -Wuninitialized -g -T "D:\zj\ch32v307_camera\prj\TCPClient\Ld\Link.ld" -nostartfiles -Xlinker --gc-sections -L"D:\zj\ch32v307_camera\prj\TCPClient\NetLib" -Wl,-Map,"TCPClient.map" --specs=nano.specs --specs=nosys.specs -o "TCPClient.elf" $(OBJS) $(USER_OBJS) $(LIBS) -lprintf
@ @
TCPClient.hex: TCPClient.elf
@ riscv-none-embed-objcopy -O ihex "TCPClient.elf" "TCPClient.hex"