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
+2
View File
@@ -0,0 +1,2 @@
*startfile:
crti%O%s crtbegin%O%s
+82
View File
@@ -0,0 +1,82 @@
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
-include ../makefile.init
CC = /tools/Xilinx/SDK/2019.1/gnu/aarch32/lin/gcc-arm-none-eabi/bin/arm-none-eabi-gcc
XILIN_A9_PRE := /tools/Xilinx/SDK/2019.1/bin/a9-linaro-pre-build-step
RM := rm -rf
# All of the sources participating in the build are defined here
-include sources.mk
-include src/util/subdir.mk
-include src/systembus/subdir.mk
-include src/networking/phy_layer/subdir.mk
-include src/networking/link_layer/geometry/subdir.mk
-include src/networking/link_layer/subdir.mk
-include src/drivers/rf-transceiver/ad9361_reg/subdir.mk
-include src/drivers/rf-transceiver/ad9361/subdir.mk
-include src/drivers/platform/subdir.mk
-include src/drivers/frequency/hmc7044/subdir.mk
-include src/drivers/axi_core/spi_engine/subdir.mk
-include src/drivers/axi_core/axi_dmac/subdir.mk
-include src/drivers/api/subdir.mk
-include src/drivers/adc/ad9694/subdir.mk
-include src/dev_profile/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 += \
df_datalink.elf.size \
# All Target
all: pre-build main-build
# Main-build Target
main-build: df_datalink.elf secondary-outputs
# Tool invocations
df_datalink.elf: $(OBJS) ../src/lscript.ld $(USER_OBJS)
@echo 'Building target: $@'
@echo 'Invoking: ARM v7 gcc linker'
$(CC) -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -Wl,-build-id=none -specs=Xilinx.spec -Wl,-T -Wl,../src/lscript.ld -L../bsp/ps7_cortexa9_0/lib -o "df_datalink.elf" $(OBJS) $(USER_OBJS) $(LIBS)
@echo 'Finished building target: $@'
@echo ' '
df_datalink.elf.size: df_datalink.elf
@echo 'Invoking: ARM v7 Print Size'
arm-none-eabi-size df_datalink.elf |tee "df_datalink.elf.size"
@echo 'Finished building: $@'
@echo ' '
# Other Targets
clean:
-$(RM) $(EXECUTABLES)$(OBJS)$(S_UPPER_DEPS)$(C_DEPS)$(ELFSIZE) df_datalink.elf
-@echo ' '
pre-build:
-$(XILIN_A9_PRE)
-@echo ' '
secondary-outputs: $(ELFSIZE)
.PHONY: all clean dependents
.SECONDARY: main-build pre-build
-include ../makefile.targets
+8
View File
@@ -0,0 +1,8 @@
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
USER_OBJS :=
LIBS := -lm -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/dev_profile \
src/drivers/adc/ad9694 \
src/drivers/api \
src/drivers/axi_core/axi_dmac \
src/drivers/axi_core/spi_engine \
src/drivers/frequency/hmc7044 \
src/drivers/platform \
src/drivers/rf-transceiver/ad9361 \
src/drivers/rf-transceiver/ad9361_reg \
src \
src/networking/link_layer \
src/networking/link_layer/geometry \
src/networking/phy_layer \
src/systembus \
src/util \
@@ -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/dev_profile/ad9361_profile.c \
../src/dev_profile/ad9361_reg_profile.c \
../src/dev_profile/global_timer_profile.c \
../src/dev_profile/hmc7044_profile.c \
../src/dev_profile/intc_profile.c \
../src/dev_profile/timer_profile.c
OBJS += \
./src/dev_profile/ad9361_profile.o \
./src/dev_profile/ad9361_reg_profile.o \
./src/dev_profile/global_timer_profile.o \
./src/dev_profile/hmc7044_profile.o \
./src/dev_profile/intc_profile.o \
./src/dev_profile/timer_profile.o
C_DEPS += \
./src/dev_profile/ad9361_profile.d \
./src/dev_profile/ad9361_reg_profile.d \
./src/dev_profile/global_timer_profile.d \
./src/dev_profile/hmc7044_profile.d \
./src/dev_profile/intc_profile.d \
./src/dev_profile/timer_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: ARM v7 gcc compiler'
$(CC) -Wall -O0 -g3 -I../bsp/ps7_cortexa9_0/include -I../src/include -c -fmessage-length=0 -MT"$@" -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -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/drivers/adc/ad9694/ad9694.c
OBJS += \
./src/drivers/adc/ad9694/ad9694.o
C_DEPS += \
./src/drivers/adc/ad9694/ad9694.d
# Each subdirectory must supply rules for building sources it contributes
src/drivers/adc/ad9694/%.o: ../src/drivers/adc/ad9694/%.c
@echo 'Building file: $<'
@echo 'Invoking: ARM v7 gcc compiler'
$(CC) -Wall -O0 -g3 -I../bsp/ps7_cortexa9_0/include -I../src/include -c -fmessage-length=0 -MT"$@" -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -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/drivers/api/gpio.c \
../src/drivers/api/i2c.c \
../src/drivers/api/irq.c \
../src/drivers/api/spi.c \
../src/drivers/api/timer.c \
../src/drivers/api/trng.c
OBJS += \
./src/drivers/api/gpio.o \
./src/drivers/api/i2c.o \
./src/drivers/api/irq.o \
./src/drivers/api/spi.o \
./src/drivers/api/timer.o \
./src/drivers/api/trng.o
C_DEPS += \
./src/drivers/api/gpio.d \
./src/drivers/api/i2c.d \
./src/drivers/api/irq.d \
./src/drivers/api/spi.d \
./src/drivers/api/timer.d \
./src/drivers/api/trng.d
# Each subdirectory must supply rules for building sources it contributes
src/drivers/api/%.o: ../src/drivers/api/%.c
@echo 'Building file: $<'
@echo 'Invoking: ARM v7 gcc compiler'
$(CC) -Wall -O0 -g3 -I../bsp/ps7_cortexa9_0/include -I../src/include -c -fmessage-length=0 -MT"$@" -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -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/drivers/axi_core/axi_dmac/axi_dmac.c
OBJS += \
./src/drivers/axi_core/axi_dmac/axi_dmac.o
C_DEPS += \
./src/drivers/axi_core/axi_dmac/axi_dmac.d
# Each subdirectory must supply rules for building sources it contributes
src/drivers/axi_core/axi_dmac/%.o: ../src/drivers/axi_core/axi_dmac/%.c
@echo 'Building file: $<'
@echo 'Invoking: ARM v7 gcc compiler'
$(CC) -Wall -O0 -g3 -I../bsp/ps7_cortexa9_0/include -I../src/include -c -fmessage-length=0 -MT"$@" -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -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/drivers/axi_core/spi_engine/spi_engine.c
OBJS += \
./src/drivers/axi_core/spi_engine/spi_engine.o
C_DEPS += \
./src/drivers/axi_core/spi_engine/spi_engine.d
# Each subdirectory must supply rules for building sources it contributes
src/drivers/axi_core/spi_engine/%.o: ../src/drivers/axi_core/spi_engine/%.c
@echo 'Building file: $<'
@echo 'Invoking: ARM v7 gcc compiler'
$(CC) -Wall -O0 -g3 -I../bsp/ps7_cortexa9_0/include -I../src/include -c -fmessage-length=0 -MT"$@" -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -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/drivers/frequency/hmc7044/hmc7044.c
OBJS += \
./src/drivers/frequency/hmc7044/hmc7044.o
C_DEPS += \
./src/drivers/frequency/hmc7044/hmc7044.d
# Each subdirectory must supply rules for building sources it contributes
src/drivers/frequency/hmc7044/%.o: ../src/drivers/frequency/hmc7044/%.c
@echo 'Building file: $<'
@echo 'Invoking: ARM v7 gcc compiler'
$(CC) -Wall -O0 -g3 -I../bsp/ps7_cortexa9_0/include -I../src/include -c -fmessage-length=0 -MT"$@" -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
@echo 'Finished building: $<'
@echo ' '
@@ -0,0 +1,48 @@
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
../src/drivers/platform/xilinx_axi_io.c \
../src/drivers/platform/xilinx_delay.c \
../src/drivers/platform/xilinx_gpio.c \
../src/drivers/platform/xilinx_gpio_irq.c \
../src/drivers/platform/xilinx_i2c.c \
../src/drivers/platform/xilinx_irq.c \
../src/drivers/platform/xilinx_spi.c \
../src/drivers/platform/xilinx_spi_pl.c \
../src/drivers/platform/xilinx_timer.c
OBJS += \
./src/drivers/platform/xilinx_axi_io.o \
./src/drivers/platform/xilinx_delay.o \
./src/drivers/platform/xilinx_gpio.o \
./src/drivers/platform/xilinx_gpio_irq.o \
./src/drivers/platform/xilinx_i2c.o \
./src/drivers/platform/xilinx_irq.o \
./src/drivers/platform/xilinx_spi.o \
./src/drivers/platform/xilinx_spi_pl.o \
./src/drivers/platform/xilinx_timer.o
C_DEPS += \
./src/drivers/platform/xilinx_axi_io.d \
./src/drivers/platform/xilinx_delay.d \
./src/drivers/platform/xilinx_gpio.d \
./src/drivers/platform/xilinx_gpio_irq.d \
./src/drivers/platform/xilinx_i2c.d \
./src/drivers/platform/xilinx_irq.d \
./src/drivers/platform/xilinx_spi.d \
./src/drivers/platform/xilinx_spi_pl.d \
./src/drivers/platform/xilinx_timer.d
# Each subdirectory must supply rules for building sources it contributes
src/drivers/platform/%.o: ../src/drivers/platform/%.c
@echo 'Building file: $<'
@echo 'Invoking: ARM v7 gcc compiler'
$(CC) -Wall -O0 -g3 -I../bsp/ps7_cortexa9_0/include -I../src/include -c -fmessage-length=0 -MT"$@" -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
@echo 'Finished building: $<'
@echo ' '
@@ -0,0 +1,33 @@
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
../src/drivers/rf-transceiver/ad9361/ad9361.c \
../src/drivers/rf-transceiver/ad9361/ad9361_api.c \
../src/drivers/rf-transceiver/ad9361/ad9361_conv.c \
../src/drivers/rf-transceiver/ad9361/ad9361_util.c
OBJS += \
./src/drivers/rf-transceiver/ad9361/ad9361.o \
./src/drivers/rf-transceiver/ad9361/ad9361_api.o \
./src/drivers/rf-transceiver/ad9361/ad9361_conv.o \
./src/drivers/rf-transceiver/ad9361/ad9361_util.o
C_DEPS += \
./src/drivers/rf-transceiver/ad9361/ad9361.d \
./src/drivers/rf-transceiver/ad9361/ad9361_api.d \
./src/drivers/rf-transceiver/ad9361/ad9361_conv.d \
./src/drivers/rf-transceiver/ad9361/ad9361_util.d
# Each subdirectory must supply rules for building sources it contributes
src/drivers/rf-transceiver/ad9361/%.o: ../src/drivers/rf-transceiver/ad9361/%.c
@echo 'Building file: $<'
@echo 'Invoking: ARM v7 gcc compiler'
$(CC) -Wall -O0 -g3 -I../bsp/ps7_cortexa9_0/include -I../src/include -c -fmessage-length=0 -MT"$@" -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -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/drivers/rf-transceiver/ad9361_reg/ad9361_reg.c
OBJS += \
./src/drivers/rf-transceiver/ad9361_reg/ad9361_reg.o
C_DEPS += \
./src/drivers/rf-transceiver/ad9361_reg/ad9361_reg.d
# Each subdirectory must supply rules for building sources it contributes
src/drivers/rf-transceiver/ad9361_reg/%.o: ../src/drivers/rf-transceiver/ad9361_reg/%.c
@echo 'Building file: $<'
@echo 'Invoking: ARM v7 gcc compiler'
$(CC) -Wall -O0 -g3 -I../bsp/ps7_cortexa9_0/include -I../src/include -c -fmessage-length=0 -MT"$@" -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
@echo 'Finished building: $<'
@echo ' '
@@ -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/networking/link_layer/geometry/coord.c \
../src/networking/link_layer/geometry/eulerangles.c \
../src/networking/link_layer/geometry/quaternion.c
OBJS += \
./src/networking/link_layer/geometry/coord.o \
./src/networking/link_layer/geometry/eulerangles.o \
./src/networking/link_layer/geometry/quaternion.o
C_DEPS += \
./src/networking/link_layer/geometry/coord.d \
./src/networking/link_layer/geometry/eulerangles.d \
./src/networking/link_layer/geometry/quaternion.d
# Each subdirectory must supply rules for building sources it contributes
src/networking/link_layer/geometry/%.o: ../src/networking/link_layer/geometry/%.c
@echo 'Building file: $<'
@echo 'Invoking: ARM v7 gcc compiler'
$(CC) -Wall -O0 -g3 -I../bsp/ps7_cortexa9_0/include -I../src/include -c -fmessage-length=0 -MT"$@" -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
@echo 'Finished building: $<'
@echo ' '
@@ -0,0 +1,42 @@
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
../src/networking/link_layer/framing.c \
../src/networking/link_layer/link_layer.c \
../src/networking/link_layer/node_list.c \
../src/networking/link_layer/routine_table.c \
../src/networking/link_layer/scan.c \
../src/networking/link_layer/service.c \
../src/networking/link_layer/time_sync.c
OBJS += \
./src/networking/link_layer/framing.o \
./src/networking/link_layer/link_layer.o \
./src/networking/link_layer/node_list.o \
./src/networking/link_layer/routine_table.o \
./src/networking/link_layer/scan.o \
./src/networking/link_layer/service.o \
./src/networking/link_layer/time_sync.o
C_DEPS += \
./src/networking/link_layer/framing.d \
./src/networking/link_layer/link_layer.d \
./src/networking/link_layer/node_list.d \
./src/networking/link_layer/routine_table.d \
./src/networking/link_layer/scan.d \
./src/networking/link_layer/service.d \
./src/networking/link_layer/time_sync.d
# Each subdirectory must supply rules for building sources it contributes
src/networking/link_layer/%.o: ../src/networking/link_layer/%.c
@echo 'Building file: $<'
@echo 'Invoking: ARM v7 gcc compiler'
$(CC) -Wall -O0 -g3 -I../bsp/ps7_cortexa9_0/include -I../src/include -c -fmessage-length=0 -MT"$@" -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -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/networking/phy_layer/phy_antenna.c \
../src/networking/phy_layer/phy_layer.c
OBJS += \
./src/networking/phy_layer/phy_antenna.o \
./src/networking/phy_layer/phy_layer.o
C_DEPS += \
./src/networking/phy_layer/phy_antenna.d \
./src/networking/phy_layer/phy_layer.d
# Each subdirectory must supply rules for building sources it contributes
src/networking/phy_layer/%.o: ../src/networking/phy_layer/%.c
@echo 'Building file: $<'
@echo 'Invoking: ARM v7 gcc compiler'
$(CC) -Wall -O0 -g3 -I../bsp/ps7_cortexa9_0/include -I../src/include -c -fmessage-length=0 -MT"$@" -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -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/main.c \
../src/system_monitor.c
OBJS += \
./src/main.o \
./src/system_monitor.o
C_DEPS += \
./src/main.d \
./src/system_monitor.d
# Each subdirectory must supply rules for building sources it contributes
src/%.o: ../src/%.c
@echo 'Building file: $<'
@echo 'Invoking: ARM v7 gcc compiler'
$(CC) -Wall -O0 -g3 -I../bsp/ps7_cortexa9_0/include -I../src/include -c -fmessage-length=0 -MT"$@" -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -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/systembus/systembus.c \
../src/systembus/systembus_uart.c
OBJS += \
./src/systembus/systembus.o \
./src/systembus/systembus_uart.o
C_DEPS += \
./src/systembus/systembus.d \
./src/systembus/systembus_uart.d
# Each subdirectory must supply rules for building sources it contributes
src/systembus/%.o: ../src/systembus/%.c
@echo 'Building file: $<'
@echo 'Invoking: ARM v7 gcc compiler'
$(CC) -Wall -O0 -g3 -I../bsp/ps7_cortexa9_0/include -I../src/include -c -fmessage-length=0 -MT"$@" -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
@echo 'Finished building: $<'
@echo ' '
+36
View File
@@ -0,0 +1,36 @@
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
../src/util/circ_queue.c \
../src/util/common.c \
../src/util/crc.c \
../src/util/list.c \
../src/util/util.c
OBJS += \
./src/util/circ_queue.o \
./src/util/common.o \
./src/util/crc.o \
./src/util/list.o \
./src/util/util.o
C_DEPS += \
./src/util/circ_queue.d \
./src/util/common.d \
./src/util/crc.d \
./src/util/list.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: ARM v7 gcc compiler'
$(CC) -Wall -O0 -g3 -I../bsp/ps7_cortexa9_0/include -I../src/include -c -fmessage-length=0 -MT"$@" -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
@echo 'Finished building: $<'
@echo ' '