mirror of
https://github.com/ylj2000/DAPLink_X033.git
synced 2026-09-27 06:26:16 +00:00
Add Code
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
################################################################################
|
||||
# MRS Version: 1.9.1
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
C_SRCS += \
|
||||
../Core/core_riscv.c
|
||||
|
||||
OBJS += \
|
||||
./Core/core_riscv.o
|
||||
|
||||
C_DEPS += \
|
||||
./Core/core_riscv.d
|
||||
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
Core/%.o: ../Core/%.c
|
||||
@ @ riscv-none-elf-gcc -march=rv32imacxw -mabi=ilp32 -msmall-data-limit=8 -msave-restore -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-common -flto -Wunused -Wuninitialized -g -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\Core" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\User" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\Peripheral\inc" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\CherryUSB\class\cdc" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\CherryUSB\class\hid" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\CherryUSB\common" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\CherryUSB\core" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\CherryUSB\port" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\CherryUSB" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\DAP_Core" -std=gnu99 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<"
|
||||
@ @
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
################################################################################
|
||||
# MRS Version: 1.9.1
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
C_SRCS += \
|
||||
../DAP/CherryUSB/class/cdc/usbd_cdc.c
|
||||
|
||||
OBJS += \
|
||||
./DAP/CherryUSB/class/cdc/usbd_cdc.o
|
||||
|
||||
C_DEPS += \
|
||||
./DAP/CherryUSB/class/cdc/usbd_cdc.d
|
||||
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
DAP/CherryUSB/class/cdc/%.o: ../DAP/CherryUSB/class/cdc/%.c
|
||||
@ @ riscv-none-elf-gcc -march=rv32imacxw -mabi=ilp32 -msmall-data-limit=8 -msave-restore -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-common -flto -Wunused -Wuninitialized -g -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\Core" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\User" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\Peripheral\inc" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\CherryUSB\class\cdc" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\CherryUSB\class\hid" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\CherryUSB\common" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\CherryUSB\core" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\CherryUSB\port" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\CherryUSB" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\DAP_Core" -std=gnu99 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<"
|
||||
@ @
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
################################################################################
|
||||
# MRS Version: 1.9.1
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
C_SRCS += \
|
||||
../DAP/CherryUSB/class/hid/usbd_hid.c
|
||||
|
||||
OBJS += \
|
||||
./DAP/CherryUSB/class/hid/usbd_hid.o
|
||||
|
||||
C_DEPS += \
|
||||
./DAP/CherryUSB/class/hid/usbd_hid.d
|
||||
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
DAP/CherryUSB/class/hid/%.o: ../DAP/CherryUSB/class/hid/%.c
|
||||
@ @ riscv-none-elf-gcc -march=rv32imacxw -mabi=ilp32 -msmall-data-limit=8 -msave-restore -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-common -flto -Wunused -Wuninitialized -g -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\Core" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\User" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\Peripheral\inc" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\CherryUSB\class\cdc" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\CherryUSB\class\hid" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\CherryUSB\common" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\CherryUSB\core" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\CherryUSB\port" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\CherryUSB" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\DAP_Core" -std=gnu99 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<"
|
||||
@ @
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
################################################################################
|
||||
# MRS Version: 1.9.1
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
C_SRCS += \
|
||||
../DAP/CherryUSB/core/usbd_core.c
|
||||
|
||||
OBJS += \
|
||||
./DAP/CherryUSB/core/usbd_core.o
|
||||
|
||||
C_DEPS += \
|
||||
./DAP/CherryUSB/core/usbd_core.d
|
||||
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
DAP/CherryUSB/core/%.o: ../DAP/CherryUSB/core/%.c
|
||||
@ @ riscv-none-elf-gcc -march=rv32imacxw -mabi=ilp32 -msmall-data-limit=8 -msave-restore -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-common -flto -Wunused -Wuninitialized -g -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\Core" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\User" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\Peripheral\inc" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\CherryUSB\class\cdc" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\CherryUSB\class\hid" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\CherryUSB\common" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\CherryUSB\core" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\CherryUSB\port" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\CherryUSB" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\DAP_Core" -std=gnu99 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<"
|
||||
@ @
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
################################################################################
|
||||
# MRS Version: 1.9.1
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
C_SRCS += \
|
||||
../DAP/CherryUSB/port/ch32/usb_ch58x_dc_usbfs.c
|
||||
|
||||
OBJS += \
|
||||
./DAP/CherryUSB/port/ch32/usb_ch58x_dc_usbfs.o
|
||||
|
||||
C_DEPS += \
|
||||
./DAP/CherryUSB/port/ch32/usb_ch58x_dc_usbfs.d
|
||||
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
DAP/CherryUSB/port/ch32/%.o: ../DAP/CherryUSB/port/ch32/%.c
|
||||
@ @ riscv-none-elf-gcc -march=rv32imacxw -mabi=ilp32 -msmall-data-limit=8 -msave-restore -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-common -flto -Wunused -Wuninitialized -g -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\Core" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\User" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\Peripheral\inc" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\CherryUSB\class\cdc" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\CherryUSB\class\hid" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\CherryUSB\common" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\CherryUSB\core" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\CherryUSB\port" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\CherryUSB" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\DAP_Core" -std=gnu99 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<"
|
||||
@ @
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
################################################################################
|
||||
# MRS Version: 1.9.1
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
C_SRCS += \
|
||||
../DAP/DAP_Core/DAP.c \
|
||||
../DAP/DAP_Core/JTAG_DP.c \
|
||||
../DAP/DAP_Core/SW_DP.c
|
||||
|
||||
OBJS += \
|
||||
./DAP/DAP_Core/DAP.o \
|
||||
./DAP/DAP_Core/JTAG_DP.o \
|
||||
./DAP/DAP_Core/SW_DP.o
|
||||
|
||||
C_DEPS += \
|
||||
./DAP/DAP_Core/DAP.d \
|
||||
./DAP/DAP_Core/JTAG_DP.d \
|
||||
./DAP/DAP_Core/SW_DP.d
|
||||
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
DAP/DAP_Core/%.o: ../DAP/DAP_Core/%.c
|
||||
@ @ riscv-none-elf-gcc -march=rv32imacxw -mabi=ilp32 -msmall-data-limit=8 -msave-restore -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-common -flto -Wunused -Wuninitialized -g -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\Core" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\User" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\Peripheral\inc" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\CherryUSB\class\cdc" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\CherryUSB\class\hid" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\CherryUSB\common" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\CherryUSB\core" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\CherryUSB\port" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\CherryUSB" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\DAP_Core" -std=gnu99 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<"
|
||||
@ @
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
################################################################################
|
||||
# MRS Version: 1.9.1
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
C_SRCS += \
|
||||
../DAP/buffer.c \
|
||||
../DAP/cdc_main.c \
|
||||
../DAP/dap_main.c \
|
||||
../DAP/led.c \
|
||||
../DAP/usart.c \
|
||||
../DAP/usb_desc.c
|
||||
|
||||
OBJS += \
|
||||
./DAP/buffer.o \
|
||||
./DAP/cdc_main.o \
|
||||
./DAP/dap_main.o \
|
||||
./DAP/led.o \
|
||||
./DAP/usart.o \
|
||||
./DAP/usb_desc.o
|
||||
|
||||
C_DEPS += \
|
||||
./DAP/buffer.d \
|
||||
./DAP/cdc_main.d \
|
||||
./DAP/dap_main.d \
|
||||
./DAP/led.d \
|
||||
./DAP/usart.d \
|
||||
./DAP/usb_desc.d
|
||||
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
DAP/%.o: ../DAP/%.c
|
||||
@ @ riscv-none-elf-gcc -march=rv32imacxw -mabi=ilp32 -msmall-data-limit=8 -msave-restore -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-common -flto -Wunused -Wuninitialized -g -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\Core" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\User" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\Peripheral\inc" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\CherryUSB\class\cdc" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\CherryUSB\class\hid" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\CherryUSB\common" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\CherryUSB\core" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\CherryUSB\port" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\CherryUSB" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\DAP_Core" -std=gnu99 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<"
|
||||
@ @
|
||||
|
||||
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,21 @@
|
||||
################################################################################
|
||||
# MRS Version: 1.9.1
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
C_SRCS += \
|
||||
../Debug/debug.c
|
||||
|
||||
OBJS += \
|
||||
./Debug/debug.o
|
||||
|
||||
C_DEPS += \
|
||||
./Debug/debug.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"C:\Users\ASUS\Desktop\ylj\_git\DAP_X033\Code\DAP_X033\Debug" -I"C:\Users\ASUS\Desktop\ylj\_git\DAP_X033\Code\DAP_X033\Core" -I"C:\Users\ASUS\Desktop\ylj\_git\DAP_X033\Code\DAP_X033\User" -I"C:\Users\ASUS\Desktop\ylj\_git\DAP_X033\Code\DAP_X033\Peripheral\inc" -I"C:\Users\ASUS\Desktop\ylj\_git\DAP_X033\Code\DAP_X033\DAP\CherryUSB\class\cdc" -I"C:\Users\ASUS\Desktop\ylj\_git\DAP_X033\Code\DAP_X033\DAP\CherryUSB\class\hid" -I"C:\Users\ASUS\Desktop\ylj\_git\DAP_X033\Code\DAP_X033\DAP\CherryUSB\common" -I"C:\Users\ASUS\Desktop\ylj\_git\DAP_X033\Code\DAP_X033\DAP\CherryUSB\core" -I"C:\Users\ASUS\Desktop\ylj\_git\DAP_X033\Code\DAP_X033\DAP\CherryUSB\port" -I"C:\Users\ASUS\Desktop\ylj\_git\DAP_X033\Code\DAP_X033\DAP\CherryUSB" -I"C:\Users\ASUS\Desktop\ylj\_git\DAP_X033\Code\DAP_X033\DAP" -std=gnu99 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<"
|
||||
@ @
|
||||
|
||||
@@ -0,0 +1,69 @@
|
||||
################################################################################
|
||||
# MRS Version: 1.9.1
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
C_SRCS += \
|
||||
../Peripheral/src/ch32x035_adc.c \
|
||||
../Peripheral/src/ch32x035_awu.c \
|
||||
../Peripheral/src/ch32x035_dbgmcu.c \
|
||||
../Peripheral/src/ch32x035_dma.c \
|
||||
../Peripheral/src/ch32x035_exti.c \
|
||||
../Peripheral/src/ch32x035_flash.c \
|
||||
../Peripheral/src/ch32x035_gpio.c \
|
||||
../Peripheral/src/ch32x035_i2c.c \
|
||||
../Peripheral/src/ch32x035_iwdg.c \
|
||||
../Peripheral/src/ch32x035_misc.c \
|
||||
../Peripheral/src/ch32x035_opa.c \
|
||||
../Peripheral/src/ch32x035_pwr.c \
|
||||
../Peripheral/src/ch32x035_rcc.c \
|
||||
../Peripheral/src/ch32x035_spi.c \
|
||||
../Peripheral/src/ch32x035_tim.c \
|
||||
../Peripheral/src/ch32x035_usart.c \
|
||||
../Peripheral/src/ch32x035_wwdg.c
|
||||
|
||||
OBJS += \
|
||||
./Peripheral/src/ch32x035_adc.o \
|
||||
./Peripheral/src/ch32x035_awu.o \
|
||||
./Peripheral/src/ch32x035_dbgmcu.o \
|
||||
./Peripheral/src/ch32x035_dma.o \
|
||||
./Peripheral/src/ch32x035_exti.o \
|
||||
./Peripheral/src/ch32x035_flash.o \
|
||||
./Peripheral/src/ch32x035_gpio.o \
|
||||
./Peripheral/src/ch32x035_i2c.o \
|
||||
./Peripheral/src/ch32x035_iwdg.o \
|
||||
./Peripheral/src/ch32x035_misc.o \
|
||||
./Peripheral/src/ch32x035_opa.o \
|
||||
./Peripheral/src/ch32x035_pwr.o \
|
||||
./Peripheral/src/ch32x035_rcc.o \
|
||||
./Peripheral/src/ch32x035_spi.o \
|
||||
./Peripheral/src/ch32x035_tim.o \
|
||||
./Peripheral/src/ch32x035_usart.o \
|
||||
./Peripheral/src/ch32x035_wwdg.o
|
||||
|
||||
C_DEPS += \
|
||||
./Peripheral/src/ch32x035_adc.d \
|
||||
./Peripheral/src/ch32x035_awu.d \
|
||||
./Peripheral/src/ch32x035_dbgmcu.d \
|
||||
./Peripheral/src/ch32x035_dma.d \
|
||||
./Peripheral/src/ch32x035_exti.d \
|
||||
./Peripheral/src/ch32x035_flash.d \
|
||||
./Peripheral/src/ch32x035_gpio.d \
|
||||
./Peripheral/src/ch32x035_i2c.d \
|
||||
./Peripheral/src/ch32x035_iwdg.d \
|
||||
./Peripheral/src/ch32x035_misc.d \
|
||||
./Peripheral/src/ch32x035_opa.d \
|
||||
./Peripheral/src/ch32x035_pwr.d \
|
||||
./Peripheral/src/ch32x035_rcc.d \
|
||||
./Peripheral/src/ch32x035_spi.d \
|
||||
./Peripheral/src/ch32x035_tim.d \
|
||||
./Peripheral/src/ch32x035_usart.d \
|
||||
./Peripheral/src/ch32x035_wwdg.d
|
||||
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
Peripheral/src/%.o: ../Peripheral/src/%.c
|
||||
@ @ riscv-none-elf-gcc -march=rv32imacxw -mabi=ilp32 -msmall-data-limit=8 -msave-restore -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-common -flto -Wunused -Wuninitialized -g -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\Core" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\User" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\Peripheral\inc" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\CherryUSB\class\cdc" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\CherryUSB\class\hid" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\CherryUSB\common" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\CherryUSB\core" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\CherryUSB\port" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\CherryUSB" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\DAP_Core" -std=gnu99 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<"
|
||||
@ @
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
################################################################################
|
||||
# MRS Version: 1.9.1
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
S_UPPER_SRCS += \
|
||||
../Startup/startup_ch32x035.S
|
||||
|
||||
OBJS += \
|
||||
./Startup/startup_ch32x035.o
|
||||
|
||||
S_UPPER_DEPS += \
|
||||
./Startup/startup_ch32x035.d
|
||||
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
Startup/%.o: ../Startup/%.S
|
||||
@ @ riscv-none-elf-gcc -march=rv32imacxw -mabi=ilp32 -msmall-data-limit=8 -msave-restore -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-common -flto -Wunused -Wuninitialized -g -x assembler-with-cpp -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\Startup" -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<"
|
||||
@ @
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
################################################################################
|
||||
# MRS Version: 1.9.1
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
C_SRCS += \
|
||||
../User/ch32x035_it.c \
|
||||
../User/main.c \
|
||||
../User/system_ch32x035.c
|
||||
|
||||
OBJS += \
|
||||
./User/ch32x035_it.o \
|
||||
./User/main.o \
|
||||
./User/system_ch32x035.o
|
||||
|
||||
C_DEPS += \
|
||||
./User/ch32x035_it.d \
|
||||
./User/main.d \
|
||||
./User/system_ch32x035.d
|
||||
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
User/%.o: ../User/%.c
|
||||
@ @ riscv-none-elf-gcc -march=rv32imacxw -mabi=ilp32 -msmall-data-limit=8 -msave-restore -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-common -flto -Wunused -Wuninitialized -g -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\Core" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\User" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\Peripheral\inc" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\CherryUSB\class\cdc" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\CherryUSB\class\hid" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\CherryUSB\common" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\CherryUSB\core" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\CherryUSB\port" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\CherryUSB" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP" -I"C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\DAP\DAP_Core" -std=gnu99 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<"
|
||||
@ @
|
||||
|
||||
@@ -0,0 +1,80 @@
|
||||
################################################################################
|
||||
# MRS Version: 1.9.1
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
-include ../makefile.init
|
||||
|
||||
RM := rm -rf
|
||||
|
||||
# All of the sources participating in the build are defined here
|
||||
-include sources.mk
|
||||
-include User/subdir.mk
|
||||
-include Startup/subdir.mk
|
||||
-include Peripheral/src/subdir.mk
|
||||
-include DAP/DAP_Core/subdir.mk
|
||||
-include DAP/CherryUSB/port/ch32/subdir.mk
|
||||
-include DAP/CherryUSB/core/subdir.mk
|
||||
-include DAP/CherryUSB/class/hid/subdir.mk
|
||||
-include DAP/CherryUSB/class/cdc/subdir.mk
|
||||
-include DAP/subdir.mk
|
||||
-include Core/subdir.mk
|
||||
-include subdir.mk
|
||||
-include objects.mk
|
||||
|
||||
ifneq ($(MAKECMDGOALS),clean)
|
||||
ifneq ($(strip $(ASM_UPPER_DEPS)),)
|
||||
-include $(ASM_UPPER_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(ASM_DEPS)),)
|
||||
-include $(ASM_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(S_DEPS)),)
|
||||
-include $(S_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(S_UPPER_DEPS)),)
|
||||
-include $(S_UPPER_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(C_DEPS)),)
|
||||
-include $(C_DEPS)
|
||||
endif
|
||||
endif
|
||||
|
||||
-include ../makefile.defs
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
SECONDARY_FLASH += \
|
||||
DAP_X033.hex \
|
||||
|
||||
SECONDARY_LIST += \
|
||||
DAP_X033.lst \
|
||||
|
||||
SECONDARY_SIZE += \
|
||||
DAP_X033.siz \
|
||||
|
||||
|
||||
# All Target
|
||||
all: DAP_X033.elf secondary-outputs
|
||||
|
||||
# Tool invocations
|
||||
DAP_X033.elf: $(OBJS) $(USER_OBJS)
|
||||
@ @ riscv-none-elf-gcc -march=rv32imacxw -mabi=ilp32 -msmall-data-limit=8 -msave-restore -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-common -flto -Wunused -Wuninitialized -g -T "C:\Users\ASUS\Desktop\ylj\_git\DAPLink_X033\Code\DAP_X033\Ld\Link.ld" -nostartfiles -Xlinker --gc-sections -Wl,-Map,"DAP_X033.map" --specs=nano.specs --specs=nosys.specs -o "DAP_X033.elf" $(OBJS) $(USER_OBJS) $(LIBS)
|
||||
@ @
|
||||
DAP_X033.hex: DAP_X033.elf
|
||||
@ riscv-none-elf-objcopy -O ihex "DAP_X033.elf" "DAP_X033.hex"
|
||||
@ @
|
||||
DAP_X033.lst: DAP_X033.elf
|
||||
@ riscv-none-elf-objdump --all-headers --demangle --disassemble -M xw "DAP_X033.elf" > "DAP_X033.lst"
|
||||
@ @
|
||||
DAP_X033.siz: DAP_X033.elf
|
||||
@ riscv-none-elf-size --format=berkeley "DAP_X033.elf"
|
||||
@ @
|
||||
# Other Targets
|
||||
clean:
|
||||
-$(RM) $(ASM_UPPER_DEPS)$(OBJS)$(SECONDARY_FLASH)$(SECONDARY_LIST)$(SECONDARY_SIZE)$(ASM_DEPS)$(S_DEPS)$(S_UPPER_DEPS)$(C_DEPS) DAP_X033.elf
|
||||
-@
|
||||
secondary-outputs: $(SECONDARY_FLASH) $(SECONDARY_LIST) $(SECONDARY_SIZE)
|
||||
|
||||
.PHONY: all clean dependents
|
||||
|
||||
-include ../makefile.targets
|
||||
@@ -0,0 +1,9 @@
|
||||
################################################################################
|
||||
# MRS Version: 1.9.1
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
USER_OBJS :=
|
||||
|
||||
LIBS :=
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
################################################################################
|
||||
# MRS Version: 1.9.1
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
ELF_SRCS :=
|
||||
OBJ_SRCS :=
|
||||
S_SRCS :=
|
||||
ASM_UPPER_SRCS :=
|
||||
ASM_SRCS :=
|
||||
C_SRCS :=
|
||||
S_UPPER_SRCS :=
|
||||
O_SRCS :=
|
||||
ASM_UPPER_DEPS :=
|
||||
OBJS :=
|
||||
SECONDARY_FLASH :=
|
||||
SECONDARY_LIST :=
|
||||
SECONDARY_SIZE :=
|
||||
ASM_DEPS :=
|
||||
S_DEPS :=
|
||||
S_UPPER_DEPS :=
|
||||
C_DEPS :=
|
||||
|
||||
# Every subdirectory with source files must be described here
|
||||
SUBDIRS := \
|
||||
Core \
|
||||
DAP/CherryUSB/class/cdc \
|
||||
DAP/CherryUSB/class/hid \
|
||||
DAP/CherryUSB/core \
|
||||
DAP/CherryUSB/port/ch32 \
|
||||
DAP/DAP_Core \
|
||||
DAP \
|
||||
Peripheral/src \
|
||||
Startup \
|
||||
User \
|
||||
|
||||
Reference in New Issue
Block a user