3
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user