| #################################################################
|
| # Makefile generated by Xilinx Platform Studio
|
| # Project:C:\E\temp\rc\3\V5.0.2\FreeRTOS\Demo\PPC405_Xilinx_Virtex4_GCC\system.xmp
|
| #
|
| # WARNING : This file will be re-generated every time a command
|
| # to run a make target is invoked. So, any changes made to this
|
| # file manually, will be lost when make is invoked next.
|
| #################################################################
|
|
|
| XILINX_EDK_DIR = /cygdrive/c/devtools/Xilinx/10.1/EDK
|
| NON_CYG_XILINX_EDK_DIR = C:/devtools/Xilinx/10.1/EDK
|
|
|
| SYSTEM = system
|
|
|
| MHSFILE = system.mhs
|
|
|
| MSSFILE = system.mss
|
|
|
| FPGA_ARCH = virtex4
|
|
|
| DEVICE = xc4vfx12ff668-10
|
|
|
| LANGUAGE = vhdl
|
|
|
| SEARCHPATHOPT =
|
|
|
| SUBMODULE_OPT =
|
|
|
| PLATGEN_OPTIONS = -p $(DEVICE) -lang $(LANGUAGE) $(SEARCHPATHOPT) $(SUBMODULE_OPT)
|
|
|
| LIBGEN_OPTIONS = -mhs $(MHSFILE) -p $(DEVICE) $(SEARCHPATHOPT)
|
|
|
| VPGEN_OPTIONS = -p $(DEVICE) $(SEARCHPATHOPT)
|
|
|
| MANAGE_FASTRT_OPTIONS = -reduce_fanout no
|
|
|
| OBSERVE_PAR_OPTIONS = -error yes
|
|
|
| RTOSDEMO_OUTPUT_DIR = RTOSDemo
|
| RTOSDEMO_OUTPUT = $(RTOSDEMO_OUTPUT_DIR)/executable.elf
|
|
|
| MICROBLAZE_BOOTLOOP = $(XILINX_EDK_DIR)/sw/lib/microblaze/mb_bootloop.elf
|
| PPC405_BOOTLOOP = $(XILINX_EDK_DIR)/sw/lib/ppc405/ppc_bootloop.elf
|
| PPC440_BOOTLOOP = $(XILINX_EDK_DIR)/sw/lib/ppc440/ppc440_bootloop.elf
|
| BOOTLOOP_DIR = bootloops
|
|
|
| PPC405_0_BOOTLOOP = $(BOOTLOOP_DIR)/ppc405_0.elf
|
|
|
| BRAMINIT_ELF_FILES =
|
| BRAMINIT_ELF_FILE_ARGS =
|
|
|
| ALL_USER_ELF_FILES = $(RTOSDEMO_OUTPUT)
|
|
|
| SIM_CMD = vsim
|
|
|
| BEHAVIORAL_SIM_SCRIPT = simulation/behavioral/$(SYSTEM)_setup.do
|
|
|
| STRUCTURAL_SIM_SCRIPT = simulation/structural/$(SYSTEM)_setup.do
|
|
|
| TIMING_SIM_SCRIPT = simulation/timing/$(SYSTEM)_setup.do
|
|
|
| DEFAULT_SIM_SCRIPT = $(BEHAVIORAL_SIM_SCRIPT)
|
|
|
| MIX_LANG_SIM_OPT = -mixed yes
|
|
|
| SIMGEN_OPTIONS = -p $(DEVICE) -lang $(LANGUAGE) $(SEARCHPATHOPT) $(BRAMINIT_ELF_FILE_ARGS) $(MIX_LANG_SIM_OPT) -s mti -X C:/E/temp/rc/3/V5.0.2/FreeRTOS/Demo/PPC405_Xilinx_Virtex4_GCC/ -E C:/E/temp/rc/3/V5.0.2/FreeRTOS/Demo/PPC405_Xilinx_Virtex4_GCC/
|
|
|
|
|
| LIBRARIES = \
|
| ppc405_0/lib/libxil.a
|
| VPEXEC = virtualplatform/vpexec.exe
|
|
|
| LIBSCLEAN_TARGETS = ppc405_0_libsclean
|
|
|
| PROGRAMCLEAN_TARGETS = RTOSDemo_programclean
|
|
|
| CORE_STATE_DEVELOPMENT_FILES =
|
|
|
| WRAPPER_NGC_FILES = implementation/ppc405_0_wrapper.ngc \ |
| implementation/jtagppc_0_wrapper.ngc \ |
| implementation/plb_wrapper.ngc \ |
| implementation/rs232_uart_wrapper.ngc \ |
| implementation/leds_4bit_wrapper.ngc \ |
| implementation/leds_positions_wrapper.ngc \ |
| implementation/sysace_compactflash_wrapper.ngc \ |
| implementation/sram_wrapper.ngc \ |
| implementation/sram_util_bus_split_0_wrapper.ngc \ |
| implementation/clock_generator_0_wrapper.ngc \ |
| implementation/proc_sys_reset_0_wrapper.ngc \ |
| implementation/xps_intc_0_wrapper.ngc
|
|
|
| POSTSYN_NETLIST = implementation/$(SYSTEM).ngc
|
|
|
| SYSTEM_BIT = implementation/$(SYSTEM).bit
|
|
|
| DOWNLOAD_BIT = implementation/download.bit
|
|
|
| SYSTEM_ACE = implementation/$(SYSTEM).ace
|
|
|
| UCF_FILE = data/system.ucf
|
|
|
| BMM_FILE = implementation/$(SYSTEM).bmm
|
|
|
| BITGEN_UT_FILE = etc/bitgen.ut
|
|
|
| XFLOW_OPT_FILE = etc/fast_runtime.opt
|
| XFLOW_DEPENDENCY = __xps/xpsxflow.opt $(XFLOW_OPT_FILE)
|
|
|
| XPLORER_DEPENDENCY = __xps/xplorer.opt
|
| XPLORER_OPTIONS = -p $(DEVICE) -uc $(SYSTEM).ucf -bm $(SYSTEM).bmm -max_runs 7
|
|
|
| FPGA_IMP_DEPENDENCY = $(BMM_FILE) $(POSTSYN_NETLIST) $(UCF_FILE) $(BITGEN_UT_FILE) $(XFLOW_DEPENDENCY)
|
|
|
| #################################################################
|
| # SOFTWARE APPLICATION RTOSDEMO
|
| #################################################################
|
|
|
| RTOSDEMO_SOURCES = RTOSDemo/../../Common/Minimal/BlockQ.c RTOSDemo/../../Common/Minimal/blocktim.c RTOSDemo/../../Common/Minimal/comtest.c RTOSDemo/../../Common/Minimal/countsem.c RTOSDemo/../../Common/Minimal/death.c RTOSDemo/../../Common/Minimal/dynamic.c RTOSDemo/../../Common/Minimal/flash.c RTOSDemo/../../Common/Minimal/GenQTest.c RTOSDemo/../../Common/Minimal/integer.c RTOSDemo/../../Common/Minimal/QPeek.c RTOSDemo/../../Common/Minimal/recmutex.c RTOSDemo/../../Common/Minimal/semtest.c RTOSDemo/../../../Source/tasks.c RTOSDemo/../../../Source/list.c RTOSDemo/../../../Source/queue.c RTOSDemo/../../../Source/portable/GCC/PPC405_Xilinx/port.c RTOSDemo/main.c RTOSDemo/serial/serial.c RTOSDemo/partest/partest.c RTOSDemo/../../../Source/portable/GCC/PPC405_Xilinx/portasm.S RTOSDemo/../../../Source/portable/MemMang/heap_2.c RTOSDemo/flop/flop.c RTOSDemo/flop/flop-reg-test.c
|
|
|
| RTOSDEMO_HEADERS = RTOSDemo/FreeRTOSConfig.h
|
|
|
| RTOSDEMO_CC = powerpc-eabi-gcc
|
| RTOSDEMO_CC_SIZE = powerpc-eabi-size
|
| RTOSDEMO_CC_OPT = -O0
|
| RTOSDEMO_CFLAGS = -I./RTOSDemo/flop -I../../Source/portable/GCC/PPC405_Xilinx -I./ppc405_0/include/ -IRTOSDemo/ -I. -I./RTOSDemo/ -I../Common/include/ -I../../Source/include/ -I./ppc405_0/include/ -I./ppc405_0/include -D GCC_PPC405 -mregnames
|
| RTOSDEMO_CC_SEARCH = # -B
|
| RTOSDEMO_LIBPATH = -L./ppc405_0/lib/ # -L
|
| RTOSDEMO_INCLUDES = -I./ppc405_0/include/ -IRTOSDemo/ # -I
|
| RTOSDEMO_LFLAGS = # -l
|
| RTOSDEMO_LINKER_SCRIPT = RTOSDemo/RTOSDemo_linker_script.ld
|
| RTOSDEMO_LINKER_SCRIPT_FLAG = -Wl,-T -Wl,$(RTOSDEMO_LINKER_SCRIPT)
|
| RTOSDEMO_CC_DEBUG_FLAG = -g
|
| RTOSDEMO_CC_PROFILE_FLAG = # -pg
|
| RTOSDEMO_CC_GLOBPTR_FLAG= # -msdata=eabi
|
| RTOSDEMO_CC_INFERRED_FLAGS=
|
| RTOSDEMO_CC_START_ADDR_FLAG= # # -Wl,-defsym -Wl,_START_ADDR=
|
| RTOSDEMO_CC_STACK_SIZE_FLAG= # # -Wl,-defsym -Wl,_STACK_SIZE=
|
| RTOSDEMO_CC_HEAP_SIZE_FLAG= # # -Wl,-defsym -Wl,_HEAP_SIZE=
|
| RTOSDEMO_OTHER_CC_FLAGS= $(RTOSDEMO_CC_GLOBPTR_FLAG) \
|
| $(RTOSDEMO_CC_START_ADDR_FLAG) $(RTOSDEMO_CC_STACK_SIZE_FLAG) $(RTOSDEMO_CC_HEAP_SIZE_FLAG) \
|
| $(RTOSDEMO_CC_INFERRED_FLAGS) \
|
| $(RTOSDEMO_LINKER_SCRIPT_FLAG) $(RTOSDEMO_CC_DEBUG_FLAG) $(RTOSDEMO_CC_PROFILE_FLAG)
|