forked from Xilinx/PYNQ
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
748 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
text data bss dec hex filename | ||
20700 376 2340 23416 5b78 grove_ledbar.elf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
################################################################################ | ||
# 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 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 += \ | ||
grove_ledbar.elf.size \ | ||
|
||
|
||
# All Target | ||
all: grove_ledbar.elf secondary-outputs | ||
|
||
# Tool invocations | ||
grove_ledbar.elf: $(OBJS) ../src/lscript.ld $(USER_OBJS) | ||
@echo 'Building target: $@' | ||
@echo 'Invoking: MicroBlaze gcc linker' | ||
mb-gcc -Wl,-T -Wl,../src/lscript.ld -L../../bsp/iop1_mb/lib -mlittle-endian -mcpu=v9.5 -mxl-soft-mul -Wl,--no-relax -o "grove_ledbar.elf" $(OBJS) $(USER_OBJS) $(LIBS) | ||
@echo 'Finished building target: $@' | ||
@echo ' ' | ||
|
||
grove_ledbar.elf.size: grove_ledbar.elf | ||
@echo 'Invoking: MicroBlaze Print Size' | ||
mb-size grove_ledbar.elf |tee "grove_ledbar.elf.size" | ||
@echo 'Finished building: $@' | ||
@echo ' ' | ||
|
||
grove_ledbar.bin: grove_ledbar.elf | ||
@echo 'Invoking: MicroBlaze Bin Gen' | ||
mb-objcopy -O binary grove_ledbar.elf grove_ledbar.bin | ||
@echo 'Finished building: $@' | ||
@echo ' ' | ||
|
||
|
||
|
||
# Other Targets | ||
clean: | ||
-$(RM) $(EXECUTABLES)$(OBJS)$(S_UPPER_DEPS)$(C_DEPS)$(ELFSIZE) grove_ledbar.elf grove_ledbar.bin | ||
-@echo ' ' | ||
|
||
secondary-outputs: $(ELFSIZE) grove_ledbar.bin | ||
|
||
.PHONY: all clean dependents | ||
.SECONDARY: | ||
|
||
-include ../makefile.targets |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
################################################################################ | ||
# Automatically-generated file. Do not edit! | ||
################################################################################ | ||
|
||
USER_OBJS := | ||
|
||
LIBS := -Wl,--start-group,-lxil,-lgcc,-lc,--end-group | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
################################################################################ | ||
# 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 \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
src/grove_ledbar.o src/grove_ledbar.d: ../src/grove_ledbar.c \ | ||
../../bsp/iop1_mb/include/pmod.h ../../bsp/iop1_mb/include/xparameters.h \ | ||
../../bsp/iop1_mb/include/xspi.h ../../bsp/iop1_mb/include/xil_types.h \ | ||
../../bsp/iop1_mb/include/xil_assert.h \ | ||
../../bsp/iop1_mb/include/xstatus.h ../../bsp/iop1_mb/include/xspi_l.h \ | ||
../../bsp/iop1_mb/include/xil_io.h \ | ||
../../bsp/iop1_mb/include/mb_interface.h \ | ||
../../bsp/iop1_mb/include/xil_exception.h \ | ||
../../bsp/iop1_mb/include/xil_printf.h \ | ||
../../bsp/iop1_mb/include/xtmrctr.h \ | ||
../../bsp/iop1_mb/include/xtmrctr_l.h ../../bsp/iop1_mb/include/xiic.h \ | ||
../../bsp/iop1_mb/include/xiic_l.h ../../bsp/iop1_mb/include/xgpio_l.h \ | ||
../../bsp/iop1_mb/include/xgpio.h ../../bsp/iop1_mb/include/xgpio_l.h | ||
|
||
../../bsp/iop1_mb/include/pmod.h: | ||
|
||
../../bsp/iop1_mb/include/xparameters.h: | ||
|
||
../../bsp/iop1_mb/include/xspi.h: | ||
|
||
../../bsp/iop1_mb/include/xil_types.h: | ||
|
||
../../bsp/iop1_mb/include/xil_assert.h: | ||
|
||
../../bsp/iop1_mb/include/xstatus.h: | ||
|
||
../../bsp/iop1_mb/include/xspi_l.h: | ||
|
||
../../bsp/iop1_mb/include/xil_io.h: | ||
|
||
../../bsp/iop1_mb/include/mb_interface.h: | ||
|
||
../../bsp/iop1_mb/include/xil_exception.h: | ||
|
||
../../bsp/iop1_mb/include/xil_printf.h: | ||
|
||
../../bsp/iop1_mb/include/xtmrctr.h: | ||
|
||
../../bsp/iop1_mb/include/xtmrctr_l.h: | ||
|
||
../../bsp/iop1_mb/include/xiic.h: | ||
|
||
../../bsp/iop1_mb/include/xiic_l.h: | ||
|
||
../../bsp/iop1_mb/include/xgpio_l.h: | ||
|
||
../../bsp/iop1_mb/include/xgpio.h: | ||
|
||
../../bsp/iop1_mb/include/xgpio_l.h: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
################################################################################ | ||
# 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/grove_ledbar.c | ||
|
||
OBJS += \ | ||
./src/grove_ledbar.o | ||
|
||
C_DEPS += \ | ||
./src/grove_ledbar.d | ||
|
||
|
||
# Each subdirectory must supply rules for building sources it contributes | ||
src/%.o: ../src/%.c | ||
@echo 'Building file: $<' | ||
@echo 'Invoking: MicroBlaze gcc compiler' | ||
mb-gcc -Wall -O0 -g3 -c -fmessage-length=0 -MT"$@" -I../../bsp/iop1_mb/include -mlittle-endian -mcpu=v9.5 -mxl-soft-mul -Wl,--no-relax -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o "$@" "$<" | ||
@echo 'Finished building: $<' | ||
@echo ' ' | ||
|
||
|
Oops, something went wrong.