⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile~

📁 This a simple bootloader for AT91SAM7{S,X}{64,128,256} processors. It permits you to download new c
💻
字号:
# Makefile for the Flash Memory Test App# Copyright (c) Adam Pierce <adam@doctort.org># 15-Apr-2007TARGET   = FlashTestLINKMAP  = ram-ln.cmdLIBDIR   = -L/usr/local/arm7/lib/gcc/arm-elf/4.1.1 -L/usr/local/arm7/arm-elf/lib# Our tools.CC       = arm-elf-gccLD       = arm-elf-ld
AS       = arm-elf-as
CP       = arm-elf-objcopy
# Commandline options for each tool.
CFLAGS   = -fno-common -O0AFLAGS   = -ahls -mapcs-32
LDFLAGS  = -v -Map $(TARGET).map -T$(LINKMAP) $(LIBDIR)
CPFLAGS  = --output-target=ihex
# C source files.CSOURCES   = syscalls.c $(TARGET).cCOBJS      = $(CSOURCES:.c=.o)# Libraries.LIBS       = -lc -lgcc# Our target.all: $(TARGET).hexclean:	rm -f *.o *.hex *.elf *.map *.lst core *~# Convert ELF binary to Intel HEX file.$(TARGET).hex: $(TARGET).elf	$(CP) $(CPFLAGS) $(TARGET).elf $(TARGET).hex# Link - this produces an ELF binary.$(TARGET).elf: crt.o $(COBJS)	$(LD) $(LDFLAGS) -o $(TARGET).elf crt.o $(COBJS) $(LIBS)# Compile all C code..c.o:	$(CC) $(CFLAGS) -c $<# Compile the C runtime environment.crt.o: ram-crt.s	$(AS) $(AFLAGS) -o crt.o ram-crt.s > crt.lst

⌨️ 快捷键说明

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