generated_app.mk

来自「Nios II最小实验系统」· MK 代码 · 共 66 行

MK
66
字号
# generated_app.mk## Machine generated for a CPU named "cpu_nios2_small" as defined in:# D:\example\nios_small\CPU32_Nios2_Small.ptf## Generated: 2005-07-21 16:28:47.031# DO NOT MODIFY THIS FILE##   Changing this file will have subtle consequences#   which will almost certainly lead to a nonfunctioning#   system. If you do modify this file, be aware that your#   changes will be overwritten and lost when this file#   is generated again.## DO NOT MODIFY THIS FILE# assuming the Quartus project directory is the same as the PTF directoryQUARTUS_PROJECT_DIR = D:/example/nios_small# the simulation directory is a subdirectory of the PTF directorySIMDIR = $(QUARTUS_PROJECT_DIR)/CPU32_Nios2_Small_sim# macros defined by/for onchip_ramPAD_DAT_FILES = --pad=0all: dat delete_placeholder_warning hex symdat: $(SIMDIR)/onchip_ram.dat.PHONY: datdelete_placeholder_warning: do_delete_placeholder_warning.PHONY: delete_placeholder_warninghex: $(QUARTUS_PROJECT_DIR)/onchip_ram.hex.PHONY: hexsym: $(SIMDIR)/onchip_ram.sym.PHONY: sym$(SIMDIR)/onchip_ram.dat: $(ELF)	if [ ! -d $(SIMDIR) ]; then mkdir $(SIMDIR) ; fi	@echo Post-processing to create $(notdir $@)	elf2dat --infile=$(ELF) --outfile=$(SIMDIR)/onchip_ram.dat --base=0x00000000 --end=0xFFF $(PAD_DAT_FILES) --create-lanes=0 --width=32do_delete_placeholder_warning:	rm -f $(SIMDIR)/contents_file_warning.txt.PHONY: do_delete_placeholder_warning$(QUARTUS_PROJECT_DIR)/onchip_ram.hex: $(ELF)	@echo Post-processing to create $(notdir $@)	elf2hex $(ELF) 0x00000000 0xFFF --width=32 $(QUARTUS_PROJECT_DIR)/onchip_ram.hex --create-lanes=0$(SIMDIR)/onchip_ram.sym: $(ELF)	if [ ! -d $(SIMDIR) ]; then mkdir $(SIMDIR) ; fi	@echo Post-processing to create $(notdir $@)	nios2-elf-nm -n $(ELF) > $(SIMDIR)/onchip_ram.symgenerated_app_clean:	$(RM) $(SIMDIR)/onchip_ram.dat	$(RM) $(QUARTUS_PROJECT_DIR)/onchip_ram.hex	$(RM) $(SIMDIR)/onchip_ram.sym.PHONY: generated_app_clean

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?