📄 makefile.win
字号:
CP = cpMV = mvRM = rmCC = ccTCS = C:/TriMediaTMCC = $(TCS)/bin/tmccTMLD = $(TCS)/bin/tmldTMSIZE = $(TCS)/bin/tmsizeL1ROM = l1rom.exeMMIO_BASE = 0xefe00000SDRAM_BASE = 0x0SDRAM_LIMIT = 0x800000TM_FREQ = 100000000ENDIAN = -elL1_CFLAGS = -v $(ENDIAN) -host nohostL1_LDFLAGS = -v $(ENDIAN) -btype boot \ -bdownload __clock_freq_init \ -bdownload __MMIO_base_init \ -bdownload __begin_stack_init \ -exec -start=__startL1_MIFLAGS = -v $(ENDIAN) \ -bdownload __clock_freq_init \ -bdownload __MMIO_base_init \ -bdownload __begin_stack_init \ -mi -exec -start=__start \ -tm_freq $(TM_FREQ) \ -mmio_base $(MMIO_BASE) \ -load=$(SDRAM_BASE),$(SDRAM_LIMIT)# --------------------------------------------------------------------default: flashwrite.out flashwrite.eeproml1start.o: l1start.trees @echo "" @echo making $@ $(RM) -f l1start.t $(CP) l1start.trees l1start.t $(TMCC) -x $(L1_CFLAGS) -c l1start.tl1jtag.o: l1jtag.c @echo "" @echo making $@ $(TMCC) $(L1_CFLAGS) -c l1jtag.cflashwrite.out: l1start.o l1jtag.o @echo "" @echo making $@ $(TMLD) $(L1_LDFLAGS) -o $@ l1start.o l1jtag.o $(TMSIZE) $@flashwrite.mi: l1start.o l1jtag.o @echo "" @echo "making l1 memory image flashwrite.mi" $(TMLD) -o flashwrite.mi $(L1_MIFLAGS) l1start.o l1jtag.o$(L1ROM): l1rom.c @echo "" @echo making $@ $(CC) -o $@ -DSDRAM_BASE=$(SDRAM_BASE) -DSDRAM_LIMIT=$(SDRAM_LIMIT) l1rom.cflashwrite.eeprom: flashwrite.mi $(L1ROM) @echo "" @echo "adding 47 bytes autoboot protocol header and swapping bytes" $(L1ROM) flashwrite.mi# --------------------------------------------------------------------clean: $(RM) -f $(L1ROM) *.obj *.o *.t *.i *.s *.eeprom *.out *.mi *.dump
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -