3
This commit is contained in:
@@ -68,6 +68,9 @@
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/Debug}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/Peripheral/inc}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/User}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/TCPClient/FreeRTOS/include}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/TCPClient/FreeRTOS/portable/GCC/RISC-V}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/TCPClient/Middle/QDXnetworkStack}""/>
|
||||
</option>
|
||||
<option id="ilg.gnumcueclipse.managedbuild.cross.riscv.option.c.compiler.std.2020844713" name="Language standard" superClass="ilg.gnumcueclipse.managedbuild.cross.riscv.option.c.compiler.std" useByScannerDiscovery="true" value="ilg.gnumcueclipse.managedbuild.cross.riscv.option.c.compiler.std.gnu99" valueType="enumerated"/>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="true" id="ilg.gnumcueclipse.managedbuild.cross.riscv.option.c.compiler.defs.177116515" name="Defined symbols (-D)" superClass="ilg.gnumcueclipse.managedbuild.cross.riscv.option.c.compiler.defs" useByScannerDiscovery="true" valueType="definedSymbols"/>
|
||||
@@ -125,7 +128,7 @@
|
||||
</toolChain>
|
||||
</folderInfo>
|
||||
<sourceEntries>
|
||||
<entry excluding="NetLib|ETH_driver|Startup|Peripheral|Ld|Debug|Core" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
|
||||
<entry excluding="Middle/QDXnetworkStack/qdx_port_template.c|NetLib|ETH_driver|Startup|Peripheral|Ld|Debug|Core" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
|
||||
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="Core"/>
|
||||
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="Debug"/>
|
||||
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="Ld"/>
|
||||
|
||||
@@ -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="-959756718816340189" 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="-982151329091095719" 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>
|
||||
|
||||
@@ -19,3 +19,5 @@ void DVP_Task(void);
|
||||
extern __attribute__((aligned(4))) uint8_t FrameBuffer[SENSOR_HEIGHT][BYTES_PER_LINE];
|
||||
extern volatile uint8_t Frame_Ready_Flag;
|
||||
extern volatile uint32_t Ready_Frame_Count;
|
||||
|
||||
#endif
|
||||
|
||||
+150
@@ -0,0 +1,150 @@
|
||||
/*
|
||||
* FreeRTOS Kernel V10.4.6
|
||||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
* this software and associated documentation files (the "Software"), to deal in
|
||||
* the Software without restriction, including without limitation the rights to
|
||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
* subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in all
|
||||
* copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*
|
||||
* https://www.FreeRTOS.org
|
||||
* https://github.com/FreeRTOS
|
||||
*
|
||||
*/
|
||||
|
||||
/*
|
||||
* The FreeRTOS kernel's RISC-V port is split between the the code that is
|
||||
* common across all currently supported RISC-V chips (implementations of the
|
||||
* RISC-V ISA), and code that tailors the port to a specific RISC-V chip:
|
||||
*
|
||||
* + FreeRTOS\Source\portable\GCC\RISC-V-RV32\portASM.S contains the code that
|
||||
* is common to all currently supported RISC-V chips. There is only one
|
||||
* portASM.S file because the same file is built for all RISC-V target chips.
|
||||
*
|
||||
* + Header files called freertos_risc_v_chip_specific_extensions.h contain the
|
||||
* code that tailors the FreeRTOS kernel's RISC-V port to a specific RISC-V
|
||||
* chip. There are multiple freertos_risc_v_chip_specific_extensions.h files
|
||||
* as there are multiple RISC-V chip implementations.
|
||||
*
|
||||
* !!!NOTE!!!
|
||||
* TAKE CARE TO INCLUDE THE CORRECT freertos_risc_v_chip_specific_extensions.h
|
||||
* HEADER FILE FOR THE CHIP IN USE. This is done using the assembler's (not the
|
||||
* compiler's!) include path. For example, if the chip in use includes a core
|
||||
* local interrupter (CLINT) and does not include any chip specific register
|
||||
* extensions then add the path below to the assembler's include path:
|
||||
* FreeRTOS\Source\portable\GCC\RISC-V-RV32\chip_specific_extensions\RV32I_CLINT_no_extensions
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __FREERTOS_RISC_V_EXTENSIONS_H__
|
||||
#define __FREERTOS_RISC_V_EXTENSIONS_H__
|
||||
|
||||
#define portasmHAS_SIFIVE_CLINT 0
|
||||
#define portasmHAS_MTIME 0
|
||||
/* if you want to use FPU, please define ARCH_FPU and enable float point and ABI of gcc */
|
||||
#define ARCH_FPU 0
|
||||
|
||||
|
||||
#if ARCH_FPU
|
||||
#define portasmADDITIONAL_CONTEXT_SIZE 32 /* Must be even number on 32-bit cores. */
|
||||
.macro portasmSAVE_ADDITIONAL_REGISTERS
|
||||
addi sp, sp, -(portasmADDITIONAL_CONTEXT_SIZE* portWORD_SIZE)
|
||||
fsw f0, 1*portWORD_SIZE(sp)
|
||||
fsw f1, 2*portWORD_SIZE(sp)
|
||||
fsw f2, 3*portWORD_SIZE(sp)
|
||||
fsw f3, 4*portWORD_SIZE(sp)
|
||||
fsw f4, 5*portWORD_SIZE(sp)
|
||||
fsw f5, 6*portWORD_SIZE(sp)
|
||||
fsw f6, 7*portWORD_SIZE(sp)
|
||||
fsw f7, 8*portWORD_SIZE(sp)
|
||||
fsw f8, 9*portWORD_SIZE(sp)
|
||||
fsw f9, 10*portWORD_SIZE(sp)
|
||||
fsw f10, 11*portWORD_SIZE(sp)
|
||||
fsw f11, 12*portWORD_SIZE(sp)
|
||||
fsw f12, 13*portWORD_SIZE(sp)
|
||||
fsw f13, 14*portWORD_SIZE(sp)
|
||||
fsw f14, 15*portWORD_SIZE(sp)
|
||||
fsw f15, 16*portWORD_SIZE(sp)
|
||||
fsw f16, 17*portWORD_SIZE(sp)
|
||||
fsw f17, 18*portWORD_SIZE(sp)
|
||||
fsw f18, 19*portWORD_SIZE(sp)
|
||||
fsw f19, 20*portWORD_SIZE(sp)
|
||||
fsw f20, 21*portWORD_SIZE(sp)
|
||||
fsw f21, 22*portWORD_SIZE(sp)
|
||||
fsw f22, 23*portWORD_SIZE(sp)
|
||||
fsw f23, 24*portWORD_SIZE(sp)
|
||||
fsw f24, 25*portWORD_SIZE(sp)
|
||||
fsw f25, 26*portWORD_SIZE(sp)
|
||||
fsw f26, 27*portWORD_SIZE(sp)
|
||||
fsw f27, 28*portWORD_SIZE(sp)
|
||||
fsw f28, 29*portWORD_SIZE(sp)
|
||||
fsw f29, 30*portWORD_SIZE(sp)
|
||||
fsw f30, 31*portWORD_SIZE(sp)
|
||||
fsw f31, 32*portWORD_SIZE(sp)
|
||||
.endm
|
||||
|
||||
.macro portasmRESTORE_ADDITIONAL_REGISTERS
|
||||
flw f0, 1*portWORD_SIZE(sp)
|
||||
flw f1, 2*portWORD_SIZE(sp)
|
||||
flw f2, 3*portWORD_SIZE(sp)
|
||||
flw f3, 4*portWORD_SIZE(sp)
|
||||
flw f4, 5*portWORD_SIZE(sp)
|
||||
flw f5, 6*portWORD_SIZE(sp)
|
||||
flw f6, 7*portWORD_SIZE(sp)
|
||||
flw f7, 8*portWORD_SIZE(sp)
|
||||
flw f8, 9*portWORD_SIZE(sp)
|
||||
flw f9, 10*portWORD_SIZE(sp)
|
||||
flw f10, 11*portWORD_SIZE(sp)
|
||||
flw f11, 12*portWORD_SIZE(sp)
|
||||
flw f12, 13*portWORD_SIZE(sp)
|
||||
flw f13, 14*portWORD_SIZE(sp)
|
||||
flw f14, 15*portWORD_SIZE(sp)
|
||||
flw f15, 16*portWORD_SIZE(sp)
|
||||
flw f16, 17*portWORD_SIZE(sp)
|
||||
flw f17, 18*portWORD_SIZE(sp)
|
||||
flw f18, 19*portWORD_SIZE(sp)
|
||||
flw f19, 20*portWORD_SIZE(sp)
|
||||
flw f20, 21*portWORD_SIZE(sp)
|
||||
flw f21, 22*portWORD_SIZE(sp)
|
||||
flw f22, 23*portWORD_SIZE(sp)
|
||||
flw f23, 24*portWORD_SIZE(sp)
|
||||
flw f24, 25*portWORD_SIZE(sp)
|
||||
flw f25, 26*portWORD_SIZE(sp)
|
||||
flw f26, 27*portWORD_SIZE(sp)
|
||||
flw f27, 28*portWORD_SIZE(sp)
|
||||
flw f28, 29*portWORD_SIZE(sp)
|
||||
flw f29, 30*portWORD_SIZE(sp)
|
||||
flw f30, 31*portWORD_SIZE(sp)
|
||||
flw f31, 32*portWORD_SIZE(sp)
|
||||
addi sp, sp, (portasmADDITIONAL_CONTEXT_SIZE* portWORD_SIZE)
|
||||
.endm
|
||||
#else
|
||||
#define portasmADDITIONAL_CONTEXT_SIZE 0 /* Must be even number on 32-bit cores. */
|
||||
|
||||
|
||||
.macro portasmSAVE_ADDITIONAL_REGISTERS
|
||||
/* No additional registers to save, so this macro does nothing. */
|
||||
.endm
|
||||
|
||||
.macro portasmRESTORE_ADDITIONAL_REGISTERS
|
||||
/* No additional registers to restore, so this macro does nothing. */
|
||||
.endm
|
||||
|
||||
#endif
|
||||
|
||||
#endif /* __FREERTOS_RISC_V_EXTENSIONS_H__ */
|
||||
@@ -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\Project_Ch32v307\prj\TCPClient\NetLib" -I"D:\zj\Project_Ch32v307\prj\TCPClient\Core" -I"D:\zj\Project_Ch32v307\prj\TCPClient\Debug" -I"D:\zj\Project_Ch32v307\prj\TCPClient\Peripheral\inc" -I"D:\zj\Project_Ch32v307\prj\TCPClient\User" -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"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\FreeRTOS\include" -I"D:\zj\ch32v307_camera\prj\TCPClient\FreeRTOS\portable\GCC\RISC-V" -I"D:\zj\ch32v307_camera\prj\TCPClient\Middle\QDXnetworkStack" -std=gnu99 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<"
|
||||
@ @
|
||||
|
||||
|
||||
@@ -19,6 +19,6 @@ C_DEPS += \
|
||||
|
||||
# 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\Project_Ch32v307\prj\TCPClient\NetLib" -I"D:\zj\Project_Ch32v307\prj\TCPClient\Core" -I"D:\zj\Project_Ch32v307\prj\TCPClient\Debug" -I"D:\zj\Project_Ch32v307\prj\TCPClient\Peripheral\inc" -I"D:\zj\Project_Ch32v307\prj\TCPClient\User" -I"D:\zj\Project_Ch32v307\prj\TCPClient\FreeRTOS\include" -I"D:\zj\Project_Ch32v307\prj\TCPClient\FreeRTOS\portable\GCC\RISC-V" -I"D:\zj\Project_Ch32v307\prj\TCPClient\FreeRTOS\portable\GCC\RISC-V\chip_specific_extensions\RV32I_PFIC_no_extensions" -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"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\FreeRTOS\include" -I"D:\zj\ch32v307_camera\prj\TCPClient\FreeRTOS\portable\GCC\RISC-V" -I"D:\zj\ch32v307_camera\prj\TCPClient\Middle\QDXnetworkStack" -std=gnu99 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<"
|
||||
@ @
|
||||
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
################################################################################
|
||||
# MRS Version: 1.9.2
|
||||
# 自动生成的文件。不要编辑!
|
||||
################################################################################
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
C_SRCS += \
|
||||
../FreeRTOS/portable/GCC/RISC-V/port.c
|
||||
|
||||
S_UPPER_SRCS += \
|
||||
../FreeRTOS/portable/GCC/RISC-V/portASM.S
|
||||
|
||||
OBJS += \
|
||||
./FreeRTOS/portable/GCC/RISC-V/port.o \
|
||||
./FreeRTOS/portable/GCC/RISC-V/portASM.o
|
||||
|
||||
S_UPPER_DEPS += \
|
||||
./FreeRTOS/portable/GCC/RISC-V/portASM.d
|
||||
|
||||
C_DEPS += \
|
||||
./FreeRTOS/portable/GCC/RISC-V/port.d
|
||||
|
||||
|
||||
# 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\FreeRTOS\include" -I"D:\zj\ch32v307_camera\prj\TCPClient\FreeRTOS\portable\GCC\RISC-V" -I"D:\zj\ch32v307_camera\prj\TCPClient\Middle\QDXnetworkStack" -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 "$@" "$<"
|
||||
@ @
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
################################################################################
|
||||
# MRS Version: 1.9.2
|
||||
# 自动生成的文件。不要编辑!
|
||||
################################################################################
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
C_SRCS += \
|
||||
../FreeRTOS/portable/MemMang/heap_4.c
|
||||
|
||||
OBJS += \
|
||||
./FreeRTOS/portable/MemMang/heap_4.o
|
||||
|
||||
C_DEPS += \
|
||||
./FreeRTOS/portable/MemMang/heap_4.d
|
||||
|
||||
|
||||
# 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\FreeRTOS\include" -I"D:\zj\ch32v307_camera\prj\TCPClient\FreeRTOS\portable\GCC\RISC-V" -I"D:\zj\ch32v307_camera\prj\TCPClient\Middle\QDXnetworkStack" -std=gnu99 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<"
|
||||
@ @
|
||||
|
||||
@@ -1,57 +1,33 @@
|
||||
################################################################################
|
||||
# FreeRTOS kernel sources for TCPClient project
|
||||
# MRS Version: 1.9.2
|
||||
# 自动生成的文件。不要编辑!
|
||||
################################################################################
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
C_SRCS += \
|
||||
../FreeRTOS/tasks.c \
|
||||
../FreeRTOS/queue.c \
|
||||
../FreeRTOS/list.c \
|
||||
../FreeRTOS/timers.c \
|
||||
../FreeRTOS/event_groups.c \
|
||||
../FreeRTOS/portable/MemMang/heap_4.c \
|
||||
../FreeRTOS/portable/GCC/RISC-V/port.c
|
||||
|
||||
S_UPPER_SRCS += \
|
||||
../FreeRTOS/portable/GCC/RISC-V/portASM.S
|
||||
../FreeRTOS/list.c \
|
||||
../FreeRTOS/queue.c \
|
||||
../FreeRTOS/tasks.c \
|
||||
../FreeRTOS/timers.c
|
||||
|
||||
OBJS += \
|
||||
./FreeRTOS/tasks.o \
|
||||
./FreeRTOS/queue.o \
|
||||
./FreeRTOS/list.o \
|
||||
./FreeRTOS/timers.o \
|
||||
./FreeRTOS/event_groups.o \
|
||||
./FreeRTOS/portable/MemMang/heap_4.o \
|
||||
./FreeRTOS/portable/GCC/RISC-V/port.o \
|
||||
./FreeRTOS/portable/GCC/RISC-V/portASM.o
|
||||
./FreeRTOS/list.o \
|
||||
./FreeRTOS/queue.o \
|
||||
./FreeRTOS/tasks.o \
|
||||
./FreeRTOS/timers.o
|
||||
|
||||
C_DEPS += \
|
||||
./FreeRTOS/tasks.d \
|
||||
./FreeRTOS/queue.d \
|
||||
./FreeRTOS/list.d \
|
||||
./FreeRTOS/timers.d \
|
||||
./FreeRTOS/event_groups.d \
|
||||
./FreeRTOS/portable/MemMang/heap_4.d \
|
||||
./FreeRTOS/portable/GCC/RISC-V/port.d
|
||||
|
||||
S_UPPER_DEPS += \
|
||||
./FreeRTOS/portable/GCC/RISC-V/portASM.d
|
||||
./FreeRTOS/list.d \
|
||||
./FreeRTOS/queue.d \
|
||||
./FreeRTOS/tasks.d \
|
||||
./FreeRTOS/timers.d
|
||||
|
||||
|
||||
# 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\Project_Ch32v307\prj\TCPClient\NetLib" -I"D:\zj\Project_Ch32v307\prj\TCPClient\Core" -I"D:\zj\Project_Ch32v307\prj\TCPClient\Debug" -I"D:\zj\Project_Ch32v307\prj\TCPClient\Peripheral\inc" -I"D:\zj\Project_Ch32v307\prj\TCPClient\User" -I"D:\zj\Project_Ch32v307\prj\TCPClient\FreeRTOS\include" -I"D:\zj\Project_Ch32v307\prj\TCPClient\FreeRTOS\portable\GCC\RISC-V" -I"D:\zj\Project_Ch32v307\prj\TCPClient\FreeRTOS\portable\GCC\RISC-V\chip_specific_extensions\RV32I_PFIC_no_extensions" -std=gnu99 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<"
|
||||
@ @
|
||||
|
||||
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\Project_Ch32v307\prj\TCPClient\NetLib" -I"D:\zj\Project_Ch32v307\prj\TCPClient\Core" -I"D:\zj\Project_Ch32v307\prj\TCPClient\Debug" -I"D:\zj\Project_Ch32v307\prj\TCPClient\Peripheral\inc" -I"D:\zj\Project_Ch32v307\prj\TCPClient\User" -I"D:\zj\Project_Ch32v307\prj\TCPClient\FreeRTOS\include" -I"D:\zj\Project_Ch32v307\prj\TCPClient\FreeRTOS\portable\GCC\RISC-V" -I"D:\zj\Project_Ch32v307\prj\TCPClient\FreeRTOS\portable\GCC\RISC-V\chip_specific_extensions\RV32I_PFIC_no_extensions" -std=gnu99 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<"
|
||||
@ @
|
||||
|
||||
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\Project_Ch32v307\prj\TCPClient\NetLib" -I"D:\zj\Project_Ch32v307\prj\TCPClient\Core" -I"D:\zj\Project_Ch32v307\prj\TCPClient\Debug" -I"D:\zj\Project_Ch32v307\prj\TCPClient\Peripheral\inc" -I"D:\zj\Project_Ch32v307\prj\TCPClient\User" -I"D:\zj\Project_Ch32v307\prj\TCPClient\FreeRTOS\include" -I"D:\zj\Project_Ch32v307\prj\TCPClient\FreeRTOS\portable\GCC\RISC-V" -I"D:\zj\Project_Ch32v307\prj\TCPClient\FreeRTOS\portable\GCC\RISC-V\chip_specific_extensions\RV32I_PFIC_no_extensions" -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\Project_Ch32v307\prj\TCPClient\Startup" -I"D:\zj\Project_Ch32v307\prj\TCPClient\FreeRTOS\include" -I"D:\zj\Project_Ch32v307\prj\TCPClient\FreeRTOS\portable\GCC\RISC-V" -I"D:\zj\Project_Ch32v307\prj\TCPClient\FreeRTOS\portable\GCC\RISC-V\chip_specific_extensions\RV32I_PFIC_no_extensions" -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"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\FreeRTOS\include" -I"D:\zj\ch32v307_camera\prj\TCPClient\FreeRTOS\portable\GCC\RISC-V" -I"D:\zj\ch32v307_camera\prj\TCPClient\Middle\QDXnetworkStack" -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\Project_Ch32v307\prj\TCPClient\NetLib" -I"D:\zj\Project_Ch32v307\prj\TCPClient\Core" -I"D:\zj\Project_Ch32v307\prj\TCPClient\Debug" -I"D:\zj\Project_Ch32v307\prj\TCPClient\Peripheral\inc" -I"D:\zj\Project_Ch32v307\prj\TCPClient\User" -I"D:\zj\Project_Ch32v307\prj\TCPClient\FreeRTOS\include" -I"D:\zj\Project_Ch32v307\prj\TCPClient\FreeRTOS\portable\GCC\RISC-V" -I"D:\zj\Project_Ch32v307\prj\TCPClient\FreeRTOS\portable\GCC\RISC-V\chip_specific_extensions\RV32I_PFIC_no_extensions" -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"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\FreeRTOS\include" -I"D:\zj\ch32v307_camera\prj\TCPClient\FreeRTOS\portable\GCC\RISC-V" -I"D:\zj\ch32v307_camera\prj\TCPClient\Middle\QDXnetworkStack" -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\Project_Ch32v307\prj\TCPClient\NetLib" -I"D:\zj\Project_Ch32v307\prj\TCPClient\Core" -I"D:\zj\Project_Ch32v307\prj\TCPClient\Debug" -I"D:\zj\Project_Ch32v307\prj\TCPClient\Peripheral\inc" -I"D:\zj\Project_Ch32v307\prj\TCPClient\User" -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"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\FreeRTOS\include" -I"D:\zj\ch32v307_camera\prj\TCPClient\FreeRTOS\portable\GCC\RISC-V" -I"D:\zj\ch32v307_camera\prj\TCPClient\Middle\QDXnetworkStack" -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\Project_Ch32v307\prj\TCPClient\NetLib" -I"D:\zj\Project_Ch32v307\prj\TCPClient\Core" -I"D:\zj\Project_Ch32v307\prj\TCPClient\Debug" -I"D:\zj\Project_Ch32v307\prj\TCPClient\Peripheral\inc" -I"D:\zj\Project_Ch32v307\prj\TCPClient\User" -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"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\FreeRTOS\include" -I"D:\zj\ch32v307_camera\prj\TCPClient\FreeRTOS\portable\GCC\RISC-V" -I"D:\zj\ch32v307_camera\prj\TCPClient\Middle\QDXnetworkStack" -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\Project_Ch32v307\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"D:\zj\ch32v307_camera\prj\TCPClient\Startup" -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<"
|
||||
@ @
|
||||
|
||||
|
||||
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
+2149
-1457
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\Project_Ch32v307\prj\TCPClient\NetLib" -I"D:\zj\Project_Ch32v307\prj\TCPClient\Core" -I"D:\zj\Project_Ch32v307\prj\TCPClient\Debug" -I"D:\zj\Project_Ch32v307\prj\TCPClient\Peripheral\inc" -I"D:\zj\Project_Ch32v307\prj\TCPClient\User" -I"D:\zj\Project_Ch32v307\prj\TCPClient\FreeRTOS\include" -I"D:\zj\Project_Ch32v307\prj\TCPClient\FreeRTOS\portable\GCC\RISC-V" -I"D:\zj\Project_Ch32v307\prj\TCPClient\FreeRTOS\portable\GCC\RISC-V\chip_specific_extensions\RV32I_PFIC_no_extensions" -I"D:\zj\Project_Ch32v307\prj\TCPClient\Middle\QDXnetworkStack" -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"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\FreeRTOS\include" -I"D:\zj\ch32v307_camera\prj\TCPClient\FreeRTOS\portable\GCC\RISC-V" -I"D:\zj\ch32v307_camera\prj\TCPClient\Middle\QDXnetworkStack" -std=gnu99 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<"
|
||||
@ @
|
||||
|
||||
|
||||
@@ -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