git忽略obj目录
This commit is contained in:
parent
b69717b964
commit
2dc2adce3c
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
*.o
|
||||
*.d
|
||||
obj/
|
||||
@ -5,7 +5,7 @@
|
||||
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
|
||||
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
|
||||
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
|
||||
<provider class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuiltinSpecsDetector" console="false" env-hash="1278216194048012962" id="ilg.gnumcueclipse.managedbuild.cross.riscv.GCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT RISC-V Cross GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} ${cross_toolchain_flags} -E -P -v -dD "${INPUTS}"" prefer-non-shared="true">
|
||||
<provider class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuiltinSpecsDetector" console="false" env-hash="1474445554347202125" id="ilg.gnumcueclipse.managedbuild.cross.riscv.GCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT RISC-V Cross GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} ${cross_toolchain_flags} -E -P -v -dD "${INPUTS}"" prefer-non-shared="true">
|
||||
<language-scope id="org.eclipse.cdt.core.gcc"/>
|
||||
<language-scope id="org.eclipse.cdt.core.g++"/>
|
||||
</provider>
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
eclipse.preferences.version=1
|
||||
encoding//Debug/mini212g2.h=UTF-8
|
||||
encoding//User/ch32v30x_it.c=UTF-8
|
||||
encoding//User/main.c=UTF-8
|
||||
|
||||
@ -16,6 +16,6 @@ C_DEPS += \
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
Core/%.o: ../Core/%.c
|
||||
@ @ 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 -I"D:\zj\ch32v307_camera\prj\TCPClient\NetLib" -I"D:\zj\ch32v307_camera\prj\TCPClient\Core" -I"D:\zj\ch32v307_camera\prj\TCPClient\Debug" -I"D:\zj\ch32v307_camera\prj\TCPClient\Peripheral\inc" -I"D:\zj\ch32v307_camera\prj\TCPClient\User" -I"D:\zj\ch32v307_camera\prj\TCPClient\Middle\QDXnetworkStack" -I"D:\zj\ch32v307_camera\prj\TCPClient\FreeRTOS\portable\GCC\RISC-V" -I"D:\zj\ch32v307_camera\prj\TCPClient\FreeRTOS\include" -std=gnu99 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<"
|
||||
@ @ 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 -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\NetLib" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\Core" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\Debug" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\Peripheral\inc" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\User" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\Middle\QDXnetworkStack" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\FreeRTOS\include" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\FreeRTOS\portable\GCC\RISC-V" -std=gnu99 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<"
|
||||
@ @
|
||||
|
||||
|
||||
@ -6,19 +6,22 @@
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
C_SRCS += \
|
||||
../Debug/debug.c \
|
||||
../Debug/dvp.c
|
||||
../Debug/dvp.c \
|
||||
../Debug/mini212g2.c
|
||||
|
||||
OBJS += \
|
||||
./Debug/debug.o \
|
||||
./Debug/dvp.o
|
||||
./Debug/dvp.o \
|
||||
./Debug/mini212g2.o
|
||||
|
||||
C_DEPS += \
|
||||
./Debug/debug.d \
|
||||
./Debug/dvp.d
|
||||
./Debug/dvp.d \
|
||||
./Debug/mini212g2.d
|
||||
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
Debug/%.o: ../Debug/%.c
|
||||
@ @ 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 -I"D:\zj\ch32v307_camera\prj\TCPClient\NetLib" -I"D:\zj\ch32v307_camera\prj\TCPClient\Core" -I"D:\zj\ch32v307_camera\prj\TCPClient\Debug" -I"D:\zj\ch32v307_camera\prj\TCPClient\Peripheral\inc" -I"D:\zj\ch32v307_camera\prj\TCPClient\User" -I"D:\zj\ch32v307_camera\prj\TCPClient\Middle\QDXnetworkStack" -I"D:\zj\ch32v307_camera\prj\TCPClient\FreeRTOS\portable\GCC\RISC-V" -I"D:\zj\ch32v307_camera\prj\TCPClient\FreeRTOS\include" -std=gnu99 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<"
|
||||
@ @ 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 -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\NetLib" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\Core" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\Debug" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\Peripheral\inc" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\User" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\Middle\QDXnetworkStack" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\FreeRTOS\include" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\FreeRTOS\portable\GCC\RISC-V" -std=gnu99 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<"
|
||||
@ @
|
||||
|
||||
|
||||
@ -23,9 +23,9 @@ C_DEPS += \
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
FreeRTOS/portable/GCC/RISC-V/%.o: ../FreeRTOS/portable/GCC/RISC-V/%.c
|
||||
@ @ 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 -I"D:\zj\ch32v307_camera\prj\TCPClient\NetLib" -I"D:\zj\ch32v307_camera\prj\TCPClient\Core" -I"D:\zj\ch32v307_camera\prj\TCPClient\Debug" -I"D:\zj\ch32v307_camera\prj\TCPClient\Peripheral\inc" -I"D:\zj\ch32v307_camera\prj\TCPClient\User" -I"D:\zj\ch32v307_camera\prj\TCPClient\Middle\QDXnetworkStack" -I"D:\zj\ch32v307_camera\prj\TCPClient\FreeRTOS\portable\GCC\RISC-V" -I"D:\zj\ch32v307_camera\prj\TCPClient\FreeRTOS\include" -std=gnu99 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<"
|
||||
@ @ 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 -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\NetLib" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\Core" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\Debug" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\Peripheral\inc" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\User" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\Middle\QDXnetworkStack" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\FreeRTOS\include" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\FreeRTOS\portable\GCC\RISC-V" -std=gnu99 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<"
|
||||
@ @
|
||||
FreeRTOS/portable/GCC/RISC-V/%.o: ../FreeRTOS/portable/GCC/RISC-V/%.S
|
||||
@ @ 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 -x assembler-with-cpp -I"D:\zj\ch32v307_camera\prj\TCPClient\Startup" -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<"
|
||||
@ @ 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 -x assembler-with-cpp -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\Startup" -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<"
|
||||
@ @
|
||||
|
||||
|
||||
@ -16,6 +16,6 @@ C_DEPS += \
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
FreeRTOS/portable/MemMang/%.o: ../FreeRTOS/portable/MemMang/%.c
|
||||
@ @ 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 -I"D:\zj\ch32v307_camera\prj\TCPClient\NetLib" -I"D:\zj\ch32v307_camera\prj\TCPClient\Core" -I"D:\zj\ch32v307_camera\prj\TCPClient\Debug" -I"D:\zj\ch32v307_camera\prj\TCPClient\Peripheral\inc" -I"D:\zj\ch32v307_camera\prj\TCPClient\User" -I"D:\zj\ch32v307_camera\prj\TCPClient\Middle\QDXnetworkStack" -I"D:\zj\ch32v307_camera\prj\TCPClient\FreeRTOS\portable\GCC\RISC-V" -I"D:\zj\ch32v307_camera\prj\TCPClient\FreeRTOS\include" -std=gnu99 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<"
|
||||
@ @ 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 -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\NetLib" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\Core" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\Debug" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\Peripheral\inc" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\User" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\Middle\QDXnetworkStack" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\FreeRTOS\include" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\FreeRTOS\portable\GCC\RISC-V" -std=gnu99 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<"
|
||||
@ @
|
||||
|
||||
|
||||
@ -28,6 +28,6 @@ C_DEPS += \
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
FreeRTOS/%.o: ../FreeRTOS/%.c
|
||||
@ @ 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 -I"D:\zj\ch32v307_camera\prj\TCPClient\NetLib" -I"D:\zj\ch32v307_camera\prj\TCPClient\Core" -I"D:\zj\ch32v307_camera\prj\TCPClient\Debug" -I"D:\zj\ch32v307_camera\prj\TCPClient\Peripheral\inc" -I"D:\zj\ch32v307_camera\prj\TCPClient\User" -I"D:\zj\ch32v307_camera\prj\TCPClient\Middle\QDXnetworkStack" -I"D:\zj\ch32v307_camera\prj\TCPClient\FreeRTOS\portable\GCC\RISC-V" -I"D:\zj\ch32v307_camera\prj\TCPClient\FreeRTOS\include" -std=gnu99 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<"
|
||||
@ @ 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 -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\NetLib" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\Core" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\Debug" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\Peripheral\inc" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\User" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\Middle\QDXnetworkStack" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\FreeRTOS\include" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\FreeRTOS\portable\GCC\RISC-V" -std=gnu99 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<"
|
||||
@ @
|
||||
|
||||
|
||||
@ -25,6 +25,6 @@ C_DEPS += \
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
Middle/QDXnetworkStack/%.o: ../Middle/QDXnetworkStack/%.c
|
||||
@ @ 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 -I"D:\zj\ch32v307_camera\prj\TCPClient\NetLib" -I"D:\zj\ch32v307_camera\prj\TCPClient\Core" -I"D:\zj\ch32v307_camera\prj\TCPClient\Debug" -I"D:\zj\ch32v307_camera\prj\TCPClient\Peripheral\inc" -I"D:\zj\ch32v307_camera\prj\TCPClient\User" -I"D:\zj\ch32v307_camera\prj\TCPClient\Middle\QDXnetworkStack" -I"D:\zj\ch32v307_camera\prj\TCPClient\FreeRTOS\portable\GCC\RISC-V" -I"D:\zj\ch32v307_camera\prj\TCPClient\FreeRTOS\include" -std=gnu99 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<"
|
||||
@ @ 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 -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\NetLib" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\Core" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\Debug" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\Peripheral\inc" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\User" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\Middle\QDXnetworkStack" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\FreeRTOS\include" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\FreeRTOS\portable\GCC\RISC-V" -std=gnu99 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<"
|
||||
@ @
|
||||
|
||||
|
||||
@ -16,6 +16,6 @@ C_DEPS += \
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
NetLib/%.o: ../NetLib/%.c
|
||||
@ @ 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 -I"D:\zj\ch32v307_camera\prj\TCPClient\NetLib" -I"D:\zj\ch32v307_camera\prj\TCPClient\Core" -I"D:\zj\ch32v307_camera\prj\TCPClient\Debug" -I"D:\zj\ch32v307_camera\prj\TCPClient\Peripheral\inc" -I"D:\zj\ch32v307_camera\prj\TCPClient\User" -I"D:\zj\ch32v307_camera\prj\TCPClient\Middle\QDXnetworkStack" -I"D:\zj\ch32v307_camera\prj\TCPClient\FreeRTOS\portable\GCC\RISC-V" -I"D:\zj\ch32v307_camera\prj\TCPClient\FreeRTOS\include" -std=gnu99 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<"
|
||||
@ @ 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 -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\NetLib" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\Core" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\Debug" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\Peripheral\inc" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\User" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\Middle\QDXnetworkStack" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\FreeRTOS\include" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\FreeRTOS\portable\GCC\RISC-V" -std=gnu99 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<"
|
||||
@ @
|
||||
|
||||
|
||||
@ -91,6 +91,6 @@ C_DEPS += \
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
Peripheral/src/%.o: ../Peripheral/src/%.c
|
||||
@ @ 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 -I"D:\zj\ch32v307_camera\prj\TCPClient\NetLib" -I"D:\zj\ch32v307_camera\prj\TCPClient\Core" -I"D:\zj\ch32v307_camera\prj\TCPClient\Debug" -I"D:\zj\ch32v307_camera\prj\TCPClient\Peripheral\inc" -I"D:\zj\ch32v307_camera\prj\TCPClient\User" -I"D:\zj\ch32v307_camera\prj\TCPClient\Middle\QDXnetworkStack" -I"D:\zj\ch32v307_camera\prj\TCPClient\FreeRTOS\portable\GCC\RISC-V" -I"D:\zj\ch32v307_camera\prj\TCPClient\FreeRTOS\include" -std=gnu99 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<"
|
||||
@ @ 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 -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\NetLib" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\Core" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\Debug" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\Peripheral\inc" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\User" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\Middle\QDXnetworkStack" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\FreeRTOS\include" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\FreeRTOS\portable\GCC\RISC-V" -std=gnu99 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<"
|
||||
@ @
|
||||
|
||||
|
||||
@ -16,6 +16,6 @@ S_UPPER_DEPS += \
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
Startup/%.o: ../Startup/%.S
|
||||
@ @ 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 -x assembler-with-cpp -I"D:\zj\ch32v307_camera\prj\TCPClient\Startup" -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<"
|
||||
@ @ 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 -x assembler-with-cpp -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\Startup" -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<"
|
||||
@ @
|
||||
|
||||
|
||||
Binary file not shown.
3418
obj/TCPClient1.hex
3418
obj/TCPClient1.hex
File diff suppressed because it is too large
Load Diff
29193
obj/TCPClient1.lst
29193
obj/TCPClient1.lst
File diff suppressed because it is too large
Load Diff
@ -22,6 +22,6 @@ C_DEPS += \
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
User/%.o: ../User/%.c
|
||||
@ @ 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 -I"D:\zj\ch32v307_camera\prj\TCPClient\NetLib" -I"D:\zj\ch32v307_camera\prj\TCPClient\Core" -I"D:\zj\ch32v307_camera\prj\TCPClient\Debug" -I"D:\zj\ch32v307_camera\prj\TCPClient\Peripheral\inc" -I"D:\zj\ch32v307_camera\prj\TCPClient\User" -I"D:\zj\ch32v307_camera\prj\TCPClient\Middle\QDXnetworkStack" -I"D:\zj\ch32v307_camera\prj\TCPClient\FreeRTOS\portable\GCC\RISC-V" -I"D:\zj\ch32v307_camera\prj\TCPClient\FreeRTOS\include" -std=gnu99 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<"
|
||||
@ @ 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 -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\NetLib" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\Core" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\Debug" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\Peripheral\inc" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\User" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\Middle\QDXnetworkStack" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\FreeRTOS\include" -I"F:\1_Projects\2026\zj\Code\Project_Ch32v307\FreeRTOS\portable\GCC\RISC-V" -std=gnu99 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<"
|
||||
@ @
|
||||
|
||||
|
||||
26
obj/makefile
26
obj/makefile
@ -44,34 +44,34 @@ endif
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
SECONDARY_FLASH += \
|
||||
TCPClient1.hex \
|
||||
SealCheck.hex \
|
||||
|
||||
SECONDARY_LIST += \
|
||||
TCPClient1.lst \
|
||||
SealCheck.lst \
|
||||
|
||||
SECONDARY_SIZE += \
|
||||
TCPClient1.siz \
|
||||
SealCheck.siz \
|
||||
|
||||
|
||||
# 所有目标
|
||||
all: TCPClient1.elf secondary-outputs
|
||||
all: SealCheck.elf secondary-outputs
|
||||
|
||||
# 工具调用
|
||||
TCPClient1.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\ch32v307_camera\prj\TCPClient\Ld\Link.ld" -nostartfiles -Xlinker --gc-sections -L"D:\zj\ch32v307_camera\prj\TCPClient\NetLib" -Wl,-Map,"TCPClient1.map" --specs=nano.specs --specs=nosys.specs -o "TCPClient1.elf" $(OBJS) $(USER_OBJS) $(LIBS) -lprintf
|
||||
SealCheck.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 "F:\1_Projects\2026\zj\Code\Project_Ch32v307\Ld\Link.ld" -nostartfiles -Xlinker --gc-sections -L"F:\1_Projects\2026\zj\Code\Project_Ch32v307\NetLib" -Wl,-Map,"SealCheck.map" --specs=nano.specs --specs=nosys.specs -o "SealCheck.elf" $(OBJS) $(USER_OBJS) $(LIBS) -lprintf
|
||||
@ @
|
||||
TCPClient1.hex: TCPClient1.elf
|
||||
@ riscv-none-embed-objcopy -O ihex "TCPClient1.elf" "TCPClient1.hex"
|
||||
SealCheck.hex: SealCheck.elf
|
||||
@ riscv-none-embed-objcopy -O ihex "SealCheck.elf" "SealCheck.hex"
|
||||
@ @
|
||||
TCPClient1.lst: TCPClient1.elf
|
||||
@ riscv-none-embed-objdump --source --all-headers --demangle --line-numbers --wide -M xw "TCPClient1.elf" > "TCPClient1.lst"
|
||||
SealCheck.lst: SealCheck.elf
|
||||
@ riscv-none-embed-objdump --source --all-headers --demangle --line-numbers --wide -M xw "SealCheck.elf" > "SealCheck.lst"
|
||||
@ @
|
||||
TCPClient1.siz: TCPClient1.elf
|
||||
@ riscv-none-embed-size --format=berkeley "TCPClient1.elf"
|
||||
SealCheck.siz: SealCheck.elf
|
||||
@ riscv-none-embed-size --format=berkeley "SealCheck.elf"
|
||||
@ @
|
||||
# 其他目标
|
||||
clean:
|
||||
-$(RM) $(ASM_UPPER_DEPS)$(OBJS)$(SECONDARY_FLASH)$(SECONDARY_LIST)$(SECONDARY_SIZE)$(ASM_DEPS)$(S_DEPS)$(S_UPPER_DEPS)$(C_DEPS) TCPClient1.elf
|
||||
-$(RM) $(ASM_UPPER_DEPS)$(OBJS)$(SECONDARY_FLASH)$(SECONDARY_LIST)$(SECONDARY_SIZE)$(ASM_DEPS)$(S_DEPS)$(S_UPPER_DEPS)$(C_DEPS) SealCheck.elf
|
||||
-@
|
||||
secondary-outputs: $(SECONDARY_FLASH) $(SECONDARY_LIST) $(SECONDARY_SIZE)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user