📄 generated_app.mk
字号:
# generated_app.mk## Machine generated for a CPU named "cpu_0" as defined in:# H:\Q51\alltest_c20\software\ALL_TEST_syslib\..\..\Nios.ptf## Generated: 2008-09-27 15:08:15.921# 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 = H:/Q51/alltest_c20# the simulation directory is a subdirectory of the PTF directorySIMDIR = $(QUARTUS_PROJECT_DIR)/Nios_sim# macros defined by/for cfi_flash_0CFI_FLASH_0_FLASHTARGET_ALT_SIM_PREFIX = $(CFI_FLASH_0_FLASHTARGET_TMP1:0=)CFI_FLASH_0_FLASHTARGET_TMP1 = $(ALT_SIM_OPTIMIZE:1=RUN_ON_HDL_SIMULATOR_ONLY_)BOOT_COPIER = boot_loader_cfi.srecCPU_CLASS = altera_nios2CPU_RESET_ADDRESS = 0x0all: delete_placeholder_warning flashfiles simdelete_placeholder_warning: do_delete_placeholder_warning.PHONY: delete_placeholder_warningflashfiles: $(CFI_FLASH_0_FLASHTARGET_ALT_SIM_PREFIX)cfi_flash_0.flash.PHONY: flashfilessim: $(SIMDIR)/dummy_file.PHONY: simfactory: cfi_flash_0_factory_configuration.PHONY: factoryprogramflash: cfi_flash_0_programflash.PHONY: programflashprogramflashnoelfdependency: cfi_flash_0_programflashnoelf.PHONY: programflashnoelfdependencyuser: cfi_flash_0_user_configuration.PHONY: userverifysysid: dummy_verifysysid_file.PHONY: verifysysiddo_delete_placeholder_warning: rm -f $(SIMDIR)/contents_file_warning.txt.PHONY: do_delete_placeholder_warning$(CFI_FLASH_0_FLASHTARGET_ALT_SIM_PREFIX)cfi_flash_0.flash: $(ELF) @echo Post-processing to create $(notdir $@) elf2flash --input=$(ELF) --flash=U5 --boot=$(shell $(QUARTUS_ROOTDIR)/sopc_builder/bin/find_sopc_component_dir $(CPU_CLASS) $(QUARTUS_PROJECT_DIR))/$(BOOT_COPIER) --outfile=$(CFI_FLASH_0_FLASHTARGET_ALT_SIM_PREFIX)cfi_flash_0.flash --sim_optimize=$(ALT_SIM_OPTIMIZE) --base=0x0 --end=0x7FFFFF --reset=$(CPU_RESET_ADDRESS)$(SIMDIR)/dummy_file: $(ELF) if [ ! -d $(SIMDIR) ]; then mkdir $(SIMDIR) ; fi @echo Hardware simulation is not enabled for the target SOPC Builder system. Skipping creation of hardware simulation model contents and simulation symbol files. \(Note: This does not affect the instruction set simulator.\) touch $(SIMDIR)/dummy_filecfi_flash_0_factory_configuration: sof2flash --flash=U5 --offset=0xE00000 --output=factory.flash $(SOF) nios2-flash-programmer --input=factory.flash --sof=$(shell $(QUARTUS_ROOTDIR)/sopc_builder/bin/find_sopc_component_dir altera_nios_dev_board_cyclone_2c35 $(QUARTUS_PROJECT_DIR))/system/altera_nios_dev_board_cyclone_2c35.sof --device=1 $(JTAG_CABLE) --base=0x01000000.PHONY: cfi_flash_0_factory_configurationcfi_flash_0_programflash: $(CFI_FLASH_0_FLASHTARGET_ALT_SIM_PREFIX)cfi_flash_0.flash nios2-flash-programmer --input=$(CFI_FLASH_0_FLASHTARGET_ALT_SIM_PREFIX)cfi_flash_0.flash --sof=$(shell $(QUARTUS_ROOTDIR)/sopc_builder/bin/find_sopc_component_dir altera_nios_dev_board_cyclone_2c35 $(QUARTUS_PROJECT_DIR))/system/altera_nios_dev_board_cyclone_2c35.sof --device=1 $(JTAG_CABLE) --base=0x01000000.PHONY: cfi_flash_0_programflashcfi_flash_0_programflashnoelf: nios2-flash-programmer --input=$(CFI_FLASH_0_FLASHTARGET_ALT_SIM_PREFIX)cfi_flash_0.flash --sof=$(shell $(QUARTUS_ROOTDIR)/sopc_builder/bin/find_sopc_component_dir altera_nios_dev_board_cyclone_2c35 $(QUARTUS_PROJECT_DIR))/system/altera_nios_dev_board_cyclone_2c35.sof --device=1 $(JTAG_CABLE) --base=0x01000000.PHONY: cfi_flash_0_programflashnoelfcfi_flash_0_user_configuration: sof2flash --flash=U5 --offset=0xC00000 --output=user.flash $(SOF) nios2-flash-programmer --input=user.flash --sof=$(shell $(QUARTUS_ROOTDIR)/sopc_builder/bin/find_sopc_component_dir altera_nios_dev_board_cyclone_2c35 $(QUARTUS_PROJECT_DIR))/system/altera_nios_dev_board_cyclone_2c35.sof --device=1 $(JTAG_CABLE) --base=0x01000000.PHONY: cfi_flash_0_user_configurationdummy_verifysysid_file: nios2-download $(JTAG_CABLE) --sidp=0x008001D0 --id=3851961855 --timestamp=1222136094.PHONY: dummy_verifysysid_filegenerated_app_clean: $(RM) $(CFI_FLASH_0_FLASHTARGET_ALT_SIM_PREFIX)cfi_flash_0.flash $(RM) $(SIMDIR)/dummy_file.PHONY: generated_app_clean
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -