Initial version.

This commit is contained in:
Gatsby Van
2023-12-20 00:11:03 +08:00
commit 416bd53733
1043 changed files with 293547 additions and 0 deletions
+74
View File
@@ -0,0 +1,74 @@
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
-include ../makefile.init
CC = /tools/Xilinx/SDK/2019.1/gnu/microblaze/lin/bin/mb-gcc
RM := rm -rf
# All of the sources participating in the build are defined here
-include sources.mk
-include src/util/subdir.mk
-include src/time_ctrl/subdir.mk
-include src/phy_ctrl/subdir.mk
-include src/inter_comm/subdir.mk
-include src/dev_profile/subdir.mk
-include src/circ_queue/subdir.mk
-include src/c2c_bridge/subdir.mk
-include src/axi_dma/subdir.mk
-include src/adi_noos/drivers/rf-transceiver/ad9361_reg/subdir.mk
-include src/adi_noos/drivers/platform/subdir.mk
-include src/adi_noos/drivers/frequency/ad9516/subdir.mk
-include src/adi_noos/drivers/axi_core/spi_engine/subdir.mk
-include src/adi_noos/drivers/axi_core/axi_dmac/subdir.mk
-include src/adi_noos/drivers/api/subdir.mk
-include src/subdir.mk
-include subdir.mk
-include objects.mk
ifneq ($(MAKECMDGOALS),clean)
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
ELFSIZE += \
datalink814_sp.elf.size \
# All Target
all: datalink814_sp.elf secondary-outputs
# Tool invocations
datalink814_sp.elf: $(OBJS) ../src/lscript.ld $(USER_OBJS)
@echo 'Building target: $@'
@echo 'Invoking: MicroBlaze gcc linker'
$(CC) -Wl,-T -Wl,../src/lscript.ld -L../bsp/microblaze_ps/lib -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare -mno-xl-soft-div -mcpu=v11.0 -mno-xl-soft-mul -Wl,--no-relax -Wl,--gc-sections -o "datalink814_sp.elf" $(OBJS) $(USER_OBJS) $(LIBS)
@echo 'Finished building target: $@'
@echo ' '
datalink814_sp.elf.size: datalink814_sp.elf
@echo 'Invoking: MicroBlaze Print Size'
mb-size datalink814_sp.elf |tee "datalink814_sp.elf.size"
@echo 'Finished building: $@'
@echo ' '
# Other Targets
clean:
-$(RM) $(EXECUTABLES)$(OBJS)$(S_UPPER_DEPS)$(C_DEPS)$(ELFSIZE) datalink814_sp.elf
-@echo ' '
secondary-outputs: $(ELFSIZE)
.PHONY: all clean dependents
.SECONDARY:
-include ../makefile.targets
+8
View File
@@ -0,0 +1,8 @@
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
USER_OBJS :=
LIBS := -Wl,--start-group,-lxil,-lgcc,-lc,--end-group
+34
View File
@@ -0,0 +1,34 @@
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
LD_SRCS :=
OBJ_SRCS :=
S_SRCS :=
C_SRCS :=
S_UPPER_SRCS :=
O_SRCS :=
EXECUTABLES :=
OBJS :=
S_UPPER_DEPS :=
C_DEPS :=
ELFSIZE :=
# Every subdirectory with source files must be described here
SUBDIRS := \
src/adi_noos/drivers/api \
src/adi_noos/drivers/axi_core/axi_dmac \
src/adi_noos/drivers/axi_core/spi_engine \
src/adi_noos/drivers/frequency/ad9516 \
src/adi_noos/drivers/platform \
src/adi_noos/drivers/rf-transceiver/ad9361_reg \
src/axi_dma \
src/c2c_bridge \
src/circ_queue \
src \
src/dev_profile \
src/inter_comm \
src/phy_ctrl \
src/time_ctrl \
src/util \
@@ -0,0 +1,30 @@
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
../src/adi_noos/drivers/api/gpio.c \
../src/adi_noos/drivers/api/irq.c \
../src/adi_noos/drivers/api/spi.c
OBJS += \
./src/adi_noos/drivers/api/gpio.o \
./src/adi_noos/drivers/api/irq.o \
./src/adi_noos/drivers/api/spi.o
C_DEPS += \
./src/adi_noos/drivers/api/gpio.d \
./src/adi_noos/drivers/api/irq.d \
./src/adi_noos/drivers/api/spi.d
# Each subdirectory must supply rules for building sources it contributes
src/adi_noos/drivers/api/%.o: ../src/adi_noos/drivers/api/%.c
@echo 'Building file: $<'
@echo 'Invoking: MicroBlaze gcc compiler'
$(CC) -Wall -Os -g3 -c -fmessage-length=0 -MT"$@" -I../bsp/microblaze_ps/include -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare -mno-xl-soft-div -mcpu=v11.0 -mno-xl-soft-mul -Wl,--no-relax -ffunction-sections -fdata-sections -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
@echo 'Finished building: $<'
@echo ' '
@@ -0,0 +1,24 @@
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
../src/adi_noos/drivers/axi_core/axi_dmac/axi_dmac.c
OBJS += \
./src/adi_noos/drivers/axi_core/axi_dmac/axi_dmac.o
C_DEPS += \
./src/adi_noos/drivers/axi_core/axi_dmac/axi_dmac.d
# Each subdirectory must supply rules for building sources it contributes
src/adi_noos/drivers/axi_core/axi_dmac/%.o: ../src/adi_noos/drivers/axi_core/axi_dmac/%.c
@echo 'Building file: $<'
@echo 'Invoking: MicroBlaze gcc compiler'
$(CC) -Wall -Os -g3 -c -fmessage-length=0 -MT"$@" -I../bsp/microblaze_ps/include -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare -mno-xl-soft-div -mcpu=v11.0 -mno-xl-soft-mul -Wl,--no-relax -ffunction-sections -fdata-sections -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
@echo 'Finished building: $<'
@echo ' '
@@ -0,0 +1,24 @@
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
../src/adi_noos/drivers/axi_core/spi_engine/spi_engine.c
OBJS += \
./src/adi_noos/drivers/axi_core/spi_engine/spi_engine.o
C_DEPS += \
./src/adi_noos/drivers/axi_core/spi_engine/spi_engine.d
# Each subdirectory must supply rules for building sources it contributes
src/adi_noos/drivers/axi_core/spi_engine/%.o: ../src/adi_noos/drivers/axi_core/spi_engine/%.c
@echo 'Building file: $<'
@echo 'Invoking: MicroBlaze gcc compiler'
$(CC) -Wall -Os -g3 -c -fmessage-length=0 -MT"$@" -I../bsp/microblaze_ps/include -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare -mno-xl-soft-div -mcpu=v11.0 -mno-xl-soft-mul -Wl,--no-relax -ffunction-sections -fdata-sections -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
@echo 'Finished building: $<'
@echo ' '
@@ -0,0 +1,24 @@
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
../src/adi_noos/drivers/frequency/ad9516/ad9516.c
OBJS += \
./src/adi_noos/drivers/frequency/ad9516/ad9516.o
C_DEPS += \
./src/adi_noos/drivers/frequency/ad9516/ad9516.d
# Each subdirectory must supply rules for building sources it contributes
src/adi_noos/drivers/frequency/ad9516/%.o: ../src/adi_noos/drivers/frequency/ad9516/%.c
@echo 'Building file: $<'
@echo 'Invoking: MicroBlaze gcc compiler'
$(CC) -Wall -Os -g3 -c -fmessage-length=0 -MT"$@" -I../bsp/microblaze_ps/include -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare -mno-xl-soft-div -mcpu=v11.0 -mno-xl-soft-mul -Wl,--no-relax -ffunction-sections -fdata-sections -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
@echo 'Finished building: $<'
@echo ' '
@@ -0,0 +1,39 @@
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
../src/adi_noos/drivers/platform/axi_io.c \
../src/adi_noos/drivers/platform/delay.c \
../src/adi_noos/drivers/platform/xilinx_gpio.c \
../src/adi_noos/drivers/platform/xilinx_irq.c \
../src/adi_noos/drivers/platform/xilinx_spi.c \
../src/adi_noos/drivers/platform/xilinx_spi_pl.c
OBJS += \
./src/adi_noos/drivers/platform/axi_io.o \
./src/adi_noos/drivers/platform/delay.o \
./src/adi_noos/drivers/platform/xilinx_gpio.o \
./src/adi_noos/drivers/platform/xilinx_irq.o \
./src/adi_noos/drivers/platform/xilinx_spi.o \
./src/adi_noos/drivers/platform/xilinx_spi_pl.o
C_DEPS += \
./src/adi_noos/drivers/platform/axi_io.d \
./src/adi_noos/drivers/platform/delay.d \
./src/adi_noos/drivers/platform/xilinx_gpio.d \
./src/adi_noos/drivers/platform/xilinx_irq.d \
./src/adi_noos/drivers/platform/xilinx_spi.d \
./src/adi_noos/drivers/platform/xilinx_spi_pl.d
# Each subdirectory must supply rules for building sources it contributes
src/adi_noos/drivers/platform/%.o: ../src/adi_noos/drivers/platform/%.c
@echo 'Building file: $<'
@echo 'Invoking: MicroBlaze gcc compiler'
$(CC) -Wall -Os -g3 -c -fmessage-length=0 -MT"$@" -I../bsp/microblaze_ps/include -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare -mno-xl-soft-div -mcpu=v11.0 -mno-xl-soft-mul -Wl,--no-relax -ffunction-sections -fdata-sections -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
@echo 'Finished building: $<'
@echo ' '
@@ -0,0 +1,24 @@
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
../src/adi_noos/drivers/rf-transceiver/ad9361_reg/ad9361_reg.c
OBJS += \
./src/adi_noos/drivers/rf-transceiver/ad9361_reg/ad9361_reg.o
C_DEPS += \
./src/adi_noos/drivers/rf-transceiver/ad9361_reg/ad9361_reg.d
# Each subdirectory must supply rules for building sources it contributes
src/adi_noos/drivers/rf-transceiver/ad9361_reg/%.o: ../src/adi_noos/drivers/rf-transceiver/ad9361_reg/%.c
@echo 'Building file: $<'
@echo 'Invoking: MicroBlaze gcc compiler'
$(CC) -Wall -Os -g3 -c -fmessage-length=0 -MT"$@" -I../bsp/microblaze_ps/include -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare -mno-xl-soft-div -mcpu=v11.0 -mno-xl-soft-mul -Wl,--no-relax -ffunction-sections -fdata-sections -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
@echo 'Finished building: $<'
@echo ' '
@@ -0,0 +1,22 @@
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
../src/axi_dma/axi_dma.c
OBJS += \
./src/axi_dma/axi_dma.o
C_DEPS += \
./src/axi_dma/axi_dma.d
# Each subdirectory must supply rules for building sources it contributes
src/axi_dma/%.o: ../src/axi_dma/%.c
@echo 'Building file: $<'
@echo 'Invoking: MicroBlaze gcc compiler'
$(CC) -Wall -Os -g3 -c -fmessage-length=0 -MT"$@" -I../bsp/microblaze_ps/include -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare -mno-xl-soft-div -mcpu=v11.0 -mno-xl-soft-mul -Wl,--no-relax -ffunction-sections -fdata-sections -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
@echo 'Finished building: $<'
@echo ' '
@@ -0,0 +1,24 @@
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
../src/c2c_bridge/c2c_bridge.c
OBJS += \
./src/c2c_bridge/c2c_bridge.o
C_DEPS += \
./src/c2c_bridge/c2c_bridge.d
# Each subdirectory must supply rules for building sources it contributes
src/c2c_bridge/%.o: ../src/c2c_bridge/%.c
@echo 'Building file: $<'
@echo 'Invoking: MicroBlaze gcc compiler'
$(CC) -Wall -Os -g3 -c -fmessage-length=0 -MT"$@" -I../bsp/microblaze_ps/include -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare -mno-xl-soft-div -mcpu=v11.0 -mno-xl-soft-mul -Wl,--no-relax -ffunction-sections -fdata-sections -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
@echo 'Finished building: $<'
@echo ' '
@@ -0,0 +1,24 @@
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
../src/circ_queue/circ_queue.c
OBJS += \
./src/circ_queue/circ_queue.o
C_DEPS += \
./src/circ_queue/circ_queue.d
# Each subdirectory must supply rules for building sources it contributes
src/circ_queue/%.o: ../src/circ_queue/%.c
@echo 'Building file: $<'
@echo 'Invoking: MicroBlaze gcc compiler'
$(CC) -Wall -Os -g3 -c -fmessage-length=0 -MT"$@" -I../bsp/microblaze_ps/include -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare -mno-xl-soft-div -mcpu=v11.0 -mno-xl-soft-mul -Wl,--no-relax -ffunction-sections -fdata-sections -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
@echo 'Finished building: $<'
@echo ' '
@@ -0,0 +1,27 @@
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
../src/dev_profile/ad9361_reg_profile.c \
../src/dev_profile/ad9516_profile.c
OBJS += \
./src/dev_profile/ad9361_reg_profile.o \
./src/dev_profile/ad9516_profile.o
C_DEPS += \
./src/dev_profile/ad9361_reg_profile.d \
./src/dev_profile/ad9516_profile.d
# Each subdirectory must supply rules for building sources it contributes
src/dev_profile/%.o: ../src/dev_profile/%.c
@echo 'Building file: $<'
@echo 'Invoking: MicroBlaze gcc compiler'
$(CC) -Wall -Os -g3 -c -fmessage-length=0 -MT"$@" -I../bsp/microblaze_ps/include -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare -mno-xl-soft-div -mcpu=v11.0 -mno-xl-soft-mul -Wl,--no-relax -ffunction-sections -fdata-sections -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
@echo 'Finished building: $<'
@echo ' '
@@ -0,0 +1,24 @@
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
../src/inter_comm/inter_comm.c
OBJS += \
./src/inter_comm/inter_comm.o
C_DEPS += \
./src/inter_comm/inter_comm.d
# Each subdirectory must supply rules for building sources it contributes
src/inter_comm/%.o: ../src/inter_comm/%.c
@echo 'Building file: $<'
@echo 'Invoking: MicroBlaze gcc compiler'
$(CC) -Wall -Os -g3 -c -fmessage-length=0 -MT"$@" -I../bsp/microblaze_ps/include -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare -mno-xl-soft-div -mcpu=v11.0 -mno-xl-soft-mul -Wl,--no-relax -ffunction-sections -fdata-sections -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
@echo 'Finished building: $<'
@echo ' '
@@ -0,0 +1,27 @@
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
../src/phy_ctrl/antenna.c \
../src/phy_ctrl/phy_ctrl.c
OBJS += \
./src/phy_ctrl/antenna.o \
./src/phy_ctrl/phy_ctrl.o
C_DEPS += \
./src/phy_ctrl/antenna.d \
./src/phy_ctrl/phy_ctrl.d
# Each subdirectory must supply rules for building sources it contributes
src/phy_ctrl/%.o: ../src/phy_ctrl/%.c
@echo 'Building file: $<'
@echo 'Invoking: MicroBlaze gcc compiler'
$(CC) -Wall -Os -g3 -c -fmessage-length=0 -MT"$@" -I../bsp/microblaze_ps/include -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare -mno-xl-soft-div -mcpu=v11.0 -mno-xl-soft-mul -Wl,--no-relax -ffunction-sections -fdata-sections -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
@echo 'Finished building: $<'
@echo ' '
+30
View File
@@ -0,0 +1,30 @@
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
# Add inputs and outputs from these tool invocations to the build variables
LD_SRCS += \
../src/lscript.ld
C_SRCS += \
../src/common.c \
../src/main.c
OBJS += \
./src/common.o \
./src/main.o
C_DEPS += \
./src/common.d \
./src/main.d
# Each subdirectory must supply rules for building sources it contributes
src/%.o: ../src/%.c
@echo 'Building file: $<'
@echo 'Invoking: MicroBlaze gcc compiler'
$(CC) -Wall -Os -g3 -c -fmessage-length=0 -MT"$@" -I../bsp/microblaze_ps/include -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare -mno-xl-soft-div -mcpu=v11.0 -mno-xl-soft-mul -Wl,--no-relax -ffunction-sections -fdata-sections -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
@echo 'Finished building: $<'
@echo ' '
@@ -0,0 +1,24 @@
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
../src/time_ctrl/time_ctrl.c
OBJS += \
./src/time_ctrl/time_ctrl.o
C_DEPS += \
./src/time_ctrl/time_ctrl.d
# Each subdirectory must supply rules for building sources it contributes
src/time_ctrl/%.o: ../src/time_ctrl/%.c
@echo 'Building file: $<'
@echo 'Invoking: MicroBlaze gcc compiler'
$(CC) -Wall -Os -g3 -c -fmessage-length=0 -MT"$@" -I../bsp/microblaze_ps/include -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare -mno-xl-soft-div -mcpu=v11.0 -mno-xl-soft-mul -Wl,--no-relax -ffunction-sections -fdata-sections -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
@echo 'Finished building: $<'
@echo ' '
+27
View File
@@ -0,0 +1,27 @@
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
../src/util/crc.c \
../src/util/util.c
OBJS += \
./src/util/crc.o \
./src/util/util.o
C_DEPS += \
./src/util/crc.d \
./src/util/util.d
# Each subdirectory must supply rules for building sources it contributes
src/util/%.o: ../src/util/%.c
@echo 'Building file: $<'
@echo 'Invoking: MicroBlaze gcc compiler'
$(CC) -Wall -Os -g3 -c -fmessage-length=0 -MT"$@" -I../bsp/microblaze_ps/include -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare -mno-xl-soft-div -mcpu=v11.0 -mno-xl-soft-mul -Wl,--no-relax -ffunction-sections -fdata-sections -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
@echo 'Finished building: $<'
@echo ' '