add ground emulator code.

This commit is contained in:
Gatsby Van
2024-01-22 19:09:45 +08:00
parent a116e2e27e
commit 68678b39f6
367 changed files with 115148 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
*startfile:
crti%O%s crtbegin%O%s
+80
View File
@@ -0,0 +1,80 @@
################################################################################
# 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/time_ctrl/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/hardware/mykonos/subdir.mk
-include src/hardware/subdir.mk
-include src/drivers/platform/subdir.mk
-include src/drivers/api/subdir.mk
-include src/dev_profile/subdir.mk
-include src/config/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_ge.elf.size \
# All Target
all: pre-build main-build
# Main-build Target
main-build: df_datalink_ge.elf secondary-outputs
# Tool invocations
df_datalink_ge.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_ge.elf" $(OBJS) $(USER_OBJS) $(LIBS)
@echo 'Finished building target: $@'
@echo ' '
df_datalink_ge.elf.size: df_datalink_ge.elf
@echo 'Invoking: ARM v7 Print Size'
arm-none-eabi-size df_datalink_ge.elf |tee "df_datalink_ge.elf.size"
@echo 'Finished building: $@'
@echo ' '
# Other Targets
clean:
-$(RM) $(EXECUTABLES)$(OBJS)$(S_UPPER_DEPS)$(C_DEPS)$(ELFSIZE) df_datalink_ge.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
+32
View File
@@ -0,0 +1,32 @@
################################################################################
# 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/config \
src/dev_profile \
src/drivers/api \
src/drivers/platform \
src/hardware \
src/hardware/mykonos \
src \
src/networking/link_layer \
src/networking/link_layer/geometry \
src/networking/phy_layer \
src/systembus \
src/time_ctrl \
src/util \
+24
View File
@@ -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/config/platform.c
OBJS += \
./src/config/platform.o
C_DEPS += \
./src/config/platform.d
# Each subdirectory must supply rules for building sources it contributes
src/config/%.o: ../src/config/%.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/dev_profile/global_timer_profile.c \
../src/dev_profile/intc_profile.c \
../src/dev_profile/timer_profile.c
OBJS += \
./src/dev_profile/global_timer_profile.o \
./src/dev_profile/intc_profile.o \
./src/dev_profile/timer_profile.o
C_DEPS += \
./src/dev_profile/global_timer_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,30 @@
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
../src/drivers/api/irq.c \
../src/drivers/api/timer.c \
../src/drivers/api/trng.c
OBJS += \
./src/drivers/api/irq.o \
./src/drivers/api/timer.o \
./src/drivers/api/trng.o
C_DEPS += \
./src/drivers/api/irq.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,30 @@
################################################################################
# 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_irq.c \
../src/drivers/platform/xilinx_timer.c
OBJS += \
./src/drivers/platform/xilinx_axi_io.o \
./src/drivers/platform/xilinx_irq.o \
./src/drivers/platform/xilinx_timer.o
C_DEPS += \
./src/drivers/platform/xilinx_axi_io.d \
./src/drivers/platform/xilinx_irq.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,39 @@
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
../src/hardware/mykonos/Mykonos_M3.c \
../src/hardware/mykonos/ad9528.c \
../src/hardware/mykonos/mykonos.c \
../src/hardware/mykonos/mykonosMmap.c \
../src/hardware/mykonos/mykonos_gpio.c \
../src/hardware/mykonos/mykonos_user.c
OBJS += \
./src/hardware/mykonos/Mykonos_M3.o \
./src/hardware/mykonos/ad9528.o \
./src/hardware/mykonos/mykonos.o \
./src/hardware/mykonos/mykonosMmap.o \
./src/hardware/mykonos/mykonos_gpio.o \
./src/hardware/mykonos/mykonos_user.o
C_DEPS += \
./src/hardware/mykonos/Mykonos_M3.d \
./src/hardware/mykonos/ad9528.d \
./src/hardware/mykonos/mykonos.d \
./src/hardware/mykonos/mykonosMmap.d \
./src/hardware/mykonos/mykonos_gpio.d \
./src/hardware/mykonos/mykonos_user.d
# Each subdirectory must supply rules for building sources it contributes
src/hardware/mykonos/%.o: ../src/hardware/mykonos/%.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,36 @@
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
../src/hardware/common.c \
../src/hardware/headless.c \
../src/hardware/myk_ad9528init.c \
../src/hardware/myk_init.c \
../src/hardware/platform_drivers.c
OBJS += \
./src/hardware/common.o \
./src/hardware/headless.o \
./src/hardware/myk_ad9528init.o \
./src/hardware/myk_init.o \
./src/hardware/platform_drivers.o
C_DEPS += \
./src/hardware/common.d \
./src/hardware/headless.d \
./src/hardware/myk_ad9528init.d \
./src/hardware/myk_init.d \
./src/hardware/platform_drivers.d
# Each subdirectory must supply rules for building sources it contributes
src/hardware/%.o: ../src/hardware/%.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,45 @@
################################################################################
# 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/schdevent.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/schdevent.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/schdevent.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 ' '
@@ -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 ' '
@@ -0,0 +1,23 @@
################################################################################
# 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: 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 ' '
+39
View File
@@ -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/util/circ_queue.c \
../src/util/clist.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/clist.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/clist.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 ' '