亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? makefile

?? ARM LPC2138中斷原程序
??
字號:
# Hey Emacs, this is a -*- makefile -*-## WinARM template makefile # by Martin Thomas, Kaiserslautern, Germany # <eversmith@heizung-thomas.de>## based on the WinAVR makefile written by Eric B. Weddington, J鰎g Wunsch, et al.# Released to the Public Domain# Please read the make user manual!### On command line:## make all = Make software.## make clean = Clean out built project files.## make program = Download the hex file to the device, using lpc21isp## (TODO: make filename.s = Just compile filename.c into the assembler code only)## To rebuild project do "make clean" then "make all".## Changelog:# - 17. Feb. 2005  - added thumb-interwork support (mth)# - 28. Apr. 2005  - added C++ support (mth)# - 29. Arp. 2005  - changed handling for lst-Filename (mth)#FLASH_TOOL = ULINK# MCU name and submodelMCU = arm7tdmi-sSUBMDL = LPC2138THUMB    = -mthumbTHUMB_IW = -mthumb-interwork## Create ROM-Image (final)RUN_MODE=ROM_RUN## Create RAM-Image (debugging)#RUN_MODE=RAM_RUN# Output format. (can be srec, ihex, binary)FORMAT = ihex# Target file name (without extension).TARGET = main# List C source files here. (C dependencies are automatically generated.)# use file-extension c for "c-only"-filesSRC = $(TARGET).c SRC += uart.c sysTime.c#SRC += rprintf.c#SRC += src/efs.c src/plibc.c src/disc.c src/partition.c #SRC += src/time.c src/fs.c src/fat.c src/file.c src/dir.c src/ls.c#SRC += src/mkfs.c src/debug.c src/ioman.c src/ui.c src/extract.c #SRC += src/interfaces/if_lpc21xx.c src/interfaces/sd.c# List C source files here which must be compiled in ARM-Mode.# use file-extension c for "c-only"-filesSRCARM = uartISR.c armVIC.c# List C++ source files here.# use file-extension cpp for C++-filesCPPSRC = # List C++ source files here which must be compiled in ARM-Mode.# use file-extension cpp for C++-files#CPPSRCARM = $(TARGET).cppCPPSRCARM = # List Assembler source files here.# Make them always end in a capital .S.  Files ending in a lowercase .s# will not be considered source files but generated files (assembler# output from the compiler), and will be deleted upon "make clean"!# Even though the DOS/Win* filesystem matches both .s and .S the same,# it will preserve the spelling of the filenames, and gcc itself does# care about how the name is spelled on its command-line.ASRC = # List Assembler source files here which must be assembled in ARM-Mode..ASRCARM = crt0.S # Optimization level, can be [0, 1, 2, 3, s]. # 0 = turn off optimization. s = optimize for size.# (Note: 3 is not always the best optimization level. See avr-libc FAQ.)OPT = s#OPT = 0# Debugging format.# Native formats for AVR-GCC's -g are stabs [default], or dwarf-2.# AVR (extended) COFF requires stabs, plus an avr-objcopy run.#DEBUG = stabsDEBUG = dwarf-2# List any extra directories to look for include files here.#     Each directory must be seperated by a space.#EXTRAINCDIRS = ./includeEXTRAINCDIRS = ./inc ./conf# Compiler flag to set the C Standard level.# c89   - "ANSI" C# gnu89 - c89 plus GCC extensions# c99   - ISO C99 standard (not yet fully implemented)# gnu99 - c99 plus GCC extensionsCSTANDARD = -std=gnu99# Place -D or -U options for C hereCDEFS =  -D$(RUN_MODE)# Place -I options hereCINCS =# Place -D or -U options for ASM hereADEFS =  -D$(RUN_MODE)# Compiler flags.#  -g*:          generate debugging information#  -O*:          optimization level#  -f...:        tuning, see GCC manual and avr-libc documentation#  -Wall...:     warning level#  -Wa,...:      tell GCC to pass this to the assembler.#    -adhlns...: create assembler listing## Flags for C and C++ (arm-elf-gcc/arm-elf-g++)CFLAGS = -g$(DEBUG)CFLAGS += $(CDEFS) $(CINCS)CFLAGS += -O$(OPT)CFLAGS += -Wall -Wcast-align -Wcast-qual -Wimplicit CFLAGS += -Wpointer-arith -WswitchCFLAGS += -Wredundant-decls -Wreturn-type -Wshadow -WunusedCFLAGS += -Wa,-adhlns=$(subst $(suffix $<),.lst,$<) CFLAGS += $(patsubst %,-I%,$(EXTRAINCDIRS))# flags only for CCONLYFLAGS  = -Wstrict-prototypes -Wmissing-declarationsCONLYFLAGS += -Wmissing-prototypes -Wnested-externs CONLYFLAGS += $(CSTANDARD)# flags only for C++ (arm-elf-g++)# CPPFLAGS = -fno-rtti -fno-exceptionsCPPFLAGS = # Assembler flags.#  -Wa,...:   tell GCC to pass this to the assembler.#  -ahlms:    create listing#  -gstabs:   have the assembler create line number information; note that#             for use in COFF files, additional information about filenames#             and function names needs to be present in the assembler source#             files -- see avr-libc docs [FIXME: not yet described there]##ASFLAGS = -Wa,-adhlns=$(<:.S=.lst),-gstabs ASFLAGS = $(ADEFS) -Wa,-adhlns=$(<:.S=.lst),-g$(DEBUG)#Additional libraries.#Support for newlibc-lpc (file: libnewlibc-lpc.a)NEWLIBLPC = -lnewlib-lpcMATH_LIB = -lmCPLUSPLUS_LIB = -lstdc++# Linker flags.#  -Wl,...:     tell GCC to pass this to linker.#    -Map:      create map file#    --cref:    add cross reference to  map fileLDFLAGS = -nostartfiles -Wl,-Map=$(TARGET).map,--crefLDFLAGS += -lcLDFLAGS += $(NEWLIBLPC) $(MATH_LIB)LDFLAGS += -lc -lgcc LDFLAGS += $(CPLUSPLUS_LIB)# Set Linker-Script Depending On Selected Memoryifeq ($(RUN_MODE),RAM_RUN)LDFLAGS +=-T$(SUBMDL)-RAM.ldelse LDFLAGS +=-T$(SUBMDL)-ROM.ldendif# ---------------------------------------------------------------------------# Flash-Programming support using lpc21isp by Martin Maurer # Settings and variables:#LPC21ISP = lpc21ispLPC21ISP = lpc21ispLPC21ISP_PORT = com1LPC21ISP_BAUD = 38400LPC21ISP_XTAL = 12000LPC21ISP_FLASHFILE = $(TARGET).hex# verbose output:#LPC21ISP_DEBUG = -debug# enter bootloader via RS232 DTR/RTS (only if hardware supports this# feature - see Philips AppNote):LPC21ISP_CONTROL = -control# ---------------------------------------------------------------------------# Define directories, if needed.## DIRARM = c:/WinARM/## DIRARMBIN = $(DIRAVR)/bin/## DIRAVRUTILS = $(DIRAVR)/utils/bin/# Define programs and commands.SHELL = shCC = arm-elf-gccCPP = arm-elf-g++OBJCOPY = arm-elf-objcopyOBJDUMP = arm-elf-objdumpSIZE = arm-elf-sizeNM = arm-elf-nmREMOVE = rm -fCOPY = cp# Define Messages# EnglishMSG_ERRORS_NONE = Errors: noneMSG_BEGIN = -------- begin --------MSG_END = --------  end  --------MSG_SIZE_BEFORE = Size before: MSG_SIZE_AFTER = Size after:MSG_FLASH = Creating load file for Flash:MSG_EXTENDED_LISTING = Creating Extended Listing:MSG_SYMBOL_TABLE = Creating Symbol Table:MSG_LINKING = Linking:MSG_COMPILING = Compiling C:MSG_COMPILING_ARM = "Compiling C (ARM-only):"MSG_COMPILINGCPP = Compiling C++:MSG_COMPILINGCPP_ARM = "Compiling C++ (ARM-only):"MSG_ASSEMBLING = Assembling:MSG_ASSEMBLING_ARM = "Assembling (ARM-only):"MSG_CLEANING = Cleaning project:MSG_LPC21_RESETREMINDER = You may have to bring the target in bootloader-mode now.# Define all object files.COBJ      = $(SRC:.c=.o) AOBJ      = $(ASRC:.S=.o)COBJARM   = $(SRCARM:.c=.o)AOBJARM   = $(ASRCARM:.S=.o)CPPOBJ    = $(CPPSRC:.cpp=.o) CPPOBJARM = $(CPPSRCARM:.cpp=.o)# Define all listing files.LST = $(ASRC:.S=.lst) $(ASRCARM:.S=.lst) $(SRC:.c=.lst) $(SRCARM:.c=.lst)LST += $(CPPSRC:.cpp=.lst) $(CPPSRCARM:.cpp=.lst)# Compiler flags to generate dependency files.### GENDEPFLAGS = -Wp,-M,-MP,-MT,$(*F).o,-MF,.dep/$(@F).dGENDEPFLAGS = -MD -MP -MF .dep/$(@F).d# Combine all necessary flags and optional flags.# Add target processor to flags.ALL_CFLAGS = -mcpu=$(MCU) $(THUMB_IW) -I. $(CFLAGS) $(GENDEPFLAGS)ALL_ASFLAGS = -mcpu=$(MCU) $(THUMB_IW) -I. -x assembler-with-cpp $(ASFLAGS)# Default target.all: begin gccversion sizebefore build sizeafter finished endbuild: elf hex lss symelf: $(TARGET).elfhex: $(TARGET).hexlss: $(TARGET).lss sym: $(TARGET).sym# Eye candy.begin:	@echo	@echo $(MSG_BEGIN)finished:	@echo $(MSG_ERRORS_NONE)end:	@echo $(MSG_END)	@echo# Display size of file.HEXSIZE = $(SIZE) --target=$(FORMAT) $(TARGET).hexELFSIZE = $(SIZE) -A $(TARGET).elfsizebefore:	@if [ -f $(TARGET).elf ]; then echo; echo $(MSG_SIZE_BEFORE); $(ELFSIZE); echo; fisizeafter:	@if [ -f $(TARGET).elf ]; then echo; echo $(MSG_SIZE_AFTER); $(ELFSIZE); echo; fi# Display compiler version information.gccversion : 	@$(CC) --versionifeq ($(FLASH_TOOL),ULINK)# Program the device with Keil's ULINK (needs configured uVision-Workspace). program: $(TARGET).hex	@echo	@echo "Programming with ULINK"	C:\Keil\uv3\Uv3.exe -f ulinkflash.Uv2 -oulinkflash.txtelse# Program the device.  program: $(TARGET).hex	@echo	@echo $(MSG_LPC21_RESETREMINDER)	$(LPC21ISP) $(LPC21ISP_CONTROL) $(LPC21ISP_DEBUG) $(LPC21ISP_FLASHFILE) $(LPC21ISP_PORT) $(LPC21ISP_BAUD) $(LPC21ISP_XTAL)endif# Create final output files (.hex, .eep) from ELF output file.# TODO: handling the .eeprom-section should be redundant%.hex: %.elf	@echo	@echo $(MSG_FLASH) $@	$(OBJCOPY) -O $(FORMAT) $< $@# Create extended listing file from ELF output file.# testing: option -C%.lss: %.elf	@echo	@echo $(MSG_EXTENDED_LISTING) $@	$(OBJDUMP) -h -S -C $< > $@# Create a symbol table from ELF output file.%.sym: %.elf	@echo	@echo $(MSG_SYMBOL_TABLE) $@	$(NM) -n $< > $@# Link: create ELF output file from object files..SECONDARY : $(TARGET).elf.PRECIOUS : $(AOBJARM) $(AOBJ) $(COBJARM) $(COBJ) $(CPPOBJ) $(CPPOBJARM)%.elf:  $(AOBJARM) $(AOBJ) $(COBJARM) $(COBJ) $(CPPOBJ) $(CPPOBJARM)	@echo	@echo $(MSG_LINKING) $@	$(CC) $(THUMB) $(ALL_CFLAGS) $(AOBJARM) $(AOBJ) $(COBJARM) $(COBJ) $(CPPOBJ) $(CPPOBJARM) --output $@ $(LDFLAGS)#	$(CPP) $(THUMB) $(ALL_CFLAGS) $(AOBJARM) $(AOBJ) $(COBJARM) $(COBJ) $(CPPOBJ) $(CPPOBJARM) --output $@ $(LDFLAGS)# Compile: create object files from C source files. ARM/Thumb$(COBJ) : %.o : %.c	@echo	@echo $(MSG_COMPILING) $<	$(CC) -c $(THUMB) $(ALL_CFLAGS) $(CONLYFLAGS) $< -o $@ # Compile: create object files from C source files. ARM-only$(COBJARM) : %.o : %.c	@echo	@echo $(MSG_COMPILING_ARM) $<	$(CC) -c $(ALL_CFLAGS) $(CONLYFLAGS) $< -o $@ # Compile: create object files from C++ source files. ARM/Thumb$(CPPOBJ) : %.o : %.cpp	@echo	@echo $(MSG_COMPILINGCPP) $<	$(CPP) -c $(THUMB) $(ALL_CFLAGS) $(CPPFLAGS) $< -o $@ # Compile: create object files from C++ source files. ARM-only$(CPPOBJARM) : %.o : %.cpp	@echo	@echo $(MSG_COMPILINGCPP_ARM) $<	$(CPP) -c $(ALL_CFLAGS) $(CPPFLAGS) $< -o $@ # Compile: create assembler files from C source files. ARM/Thumb## does not work - TODO - hints welcome##$(COBJ) : %.s : %.c##	$(CC) $(THUMB) -S $(ALL_CFLAGS) $< -o $@# Assemble: create object files from assembler source files. ARM/Thumb$(AOBJ) : %.o : %.S	@echo	@echo $(MSG_ASSEMBLING) $<	$(CC) -c $(THUMB) $(ALL_ASFLAGS) $< -o $@# Assemble: create object files from assembler source files. ARM-only$(AOBJARM) : %.o : %.S	@echo	@echo $(MSG_ASSEMBLING_ARM) $<	$(CC) -c $(ALL_ASFLAGS) $< -o $@# Target: clean project.clean: begin clean_list finished endclean_list :	@echo	@echo $(MSG_CLEANING)	$(REMOVE) $(TARGET).hex	$(REMOVE) $(TARGET).obj	$(REMOVE) $(TARGET).elf	$(REMOVE) $(TARGET).map	$(REMOVE) $(TARGET).obj	$(REMOVE) $(TARGET).a90	$(REMOVE) $(TARGET).sym	$(REMOVE) $(TARGET).lnk	$(REMOVE) $(TARGET).lss	$(REMOVE) $(COBJ)	$(REMOVE) $(CPPOBJ)	$(REMOVE) $(AOBJ)	$(REMOVE) $(COBJARM)	$(REMOVE) $(CPPOBJARM)	$(REMOVE) $(AOBJARM)	$(REMOVE) $(LST)	$(REMOVE) $(SRC:.c=.s)	$(REMOVE) $(SRC:.c=.d)	$(REMOVE) $(SRCARM:.c=.s)	$(REMOVE) $(SRCARM:.c=.d)	$(REMOVE) $(CPPSRC:.cpp=.s) 	$(REMOVE) $(CPPSRC:.cpp=.d)	$(REMOVE) $(CPPSRCARM:.cpp=.s) 	$(REMOVE) $(CPPSRCARM:.cpp=.d)	$(REMOVE) .dep/*# Include the dependency files.-include $(shell mkdir .dep 2>/dev/null) $(wildcard .dep/*)# Listing of phony targets..PHONY : all begin finish end sizebefore sizeafter gccversion \build elf hex lss sym clean clean_list program

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
视频一区二区三区中文字幕| 亚洲精品在线一区二区| 成人午夜私人影院| 日韩电影在线一区二区| 亚洲欧洲国产日本综合| 中文字幕一区二区三区四区| 欧美久久久久久久久久| 不卡的av电影在线观看| 欧美视频第二页| 91精品福利在线一区二区三区| 丁香婷婷综合五月| 成人一区二区三区视频在线观看| 欧美吞精做爰啪啪高潮| 欧美一区二区在线看| 日韩一区二区三区免费看 | 717成人午夜免费福利电影| 精品综合免费视频观看| 亚洲免费观看高清完整版在线观看熊 | 欧美无砖专区一中文字| 欧美aaaaaa午夜精品| 欧美一区二区在线观看| 精品美女在线播放| 亚洲第一主播视频| 这里是久久伊人| 日韩avvvv在线播放| 4438x成人网最大色成网站| 天使萌一区二区三区免费观看| 欧美色网站导航| 日韩国产欧美视频| 不卡影院免费观看| 精品国产凹凸成av人导航| 久久超碰97中文字幕| 久久综合成人精品亚洲另类欧美| 国产精品白丝jk白祙喷水网站| 国产欧美日韩综合| 色婷婷久久久久swag精品| 亚洲在线观看免费| 欧美r级在线观看| 国产丝袜在线精品| 美女一区二区三区在线观看| 欧美性大战久久久| 免费欧美在线视频| 精品国产91洋老外米糕| 另类综合日韩欧美亚洲| 亚洲视频在线一区二区| 国产一二三精品| 成人高清视频免费观看| 国产欧美日韩另类一区| 久久久久久久久久久黄色| 亚洲免费观看高清| 成人综合激情网| 91官网在线观看| 亚洲另类一区二区| 91麻豆精品国产| 国产一区二区中文字幕| 国产精品福利在线播放| 欧美日韩国产不卡| 国产成a人亚洲精品| 亚洲久草在线视频| 日韩一本二本av| 成人av免费观看| 午夜精品成人在线视频| 精品国产三级a在线观看| 91麻豆高清视频| 久久99国内精品| 性欧美疯狂xxxxbbbb| 中文字幕在线观看不卡| 欧美亚洲禁片免费| 国产精品动漫网站| 久久国产日韩欧美精品| 色婷婷一区二区| 午夜国产精品影院在线观看| 欧美人伦禁忌dvd放荡欲情| 亚洲成av人片观看| 欧美变态tickle挠乳网站| www.日韩大片| 日本一区二区免费在线观看视频| 亚洲一区二区三区免费视频| 99久久免费精品高清特色大片| 欧美日本不卡视频| 777久久久精品| 99精品视频中文字幕| 国产精品家庭影院| 在线播放欧美女士性生活| 欧美在线免费播放| 色综合中文字幕国产 | 久草热8精品视频在线观看| 中文字幕一区二区三区蜜月| www成人在线观看| 欧美日韩激情一区二区三区| 欧美性xxxxxx少妇| 欧美人xxxx| 欧美一区二区三区色| 在线综合+亚洲+欧美中文字幕| 欧美色电影在线| 91麻豆精品国产91久久久久久 | 中文在线一区二区| 日本一区二区三区dvd视频在线| 日本一区二区成人| 17c精品麻豆一区二区免费| 国产精品午夜在线| 亚洲人成亚洲人成在线观看图片| 亚洲美女淫视频| 日本中文字幕一区二区视频| 美女视频黄 久久| 成+人+亚洲+综合天堂| 欧美撒尿777hd撒尿| www成人在线观看| 亚洲电影一区二区| 国产麻豆精品一区二区| 色哦色哦哦色天天综合| 欧美一卡二卡三卡| 亚洲欧洲综合另类在线| 久久精品久久99精品久久| 91在线视频官网| 日韩亚洲欧美高清| 亚洲一区二区高清| 成人午夜短视频| 欧美电影免费观看完整版| 国产精品久久久一本精品| 69堂成人精品免费视频| 国产日韩一级二级三级| 蜜桃久久精品一区二区| 欧美日韩视频一区二区| 自拍偷自拍亚洲精品播放| 精彩视频一区二区| 日韩精品最新网址| 天堂va蜜桃一区二区三区漫画版| 91免费观看在线| 亚洲欧美在线视频| 色综合视频一区二区三区高清| 久久久精品黄色| 国产成人在线网站| 久久网这里都是精品| 免费视频一区二区| 欧美一区二区三区四区五区| 亚洲成人动漫在线观看| 精品视频在线看| 五月激情综合婷婷| 精品少妇一区二区三区视频免付费 | 国产精品丝袜一区| 成人午夜短视频| 中文字幕一区在线观看| 欧美欧美午夜aⅴ在线观看| 国产精品不卡一区| 欧美色图一区二区三区| 视频一区视频二区中文| 日韩欧美一级在线播放| 国产精品综合一区二区| 亚洲视频中文字幕| 欧美精品久久99| 国产91露脸合集magnet| 亚洲免费av在线| 久久精品一区二区三区不卡| 久久久亚洲精品石原莉奈| 精品亚洲国产成人av制服丝袜| 一区二区三区中文字幕精品精品| 欧美一区二区在线看| 日韩高清不卡一区| 成人aa视频在线观看| 亚洲国产精品99久久久久久久久| 国内精品伊人久久久久影院对白| 精品国产伦理网| 精品一区二区在线观看| 亚洲成av人片在线| 久久亚洲一级片| 蜜桃精品视频在线观看| 国产精品久久久久久久久免费桃花 | 亚洲精品一区二区三区精华液| 91麻豆福利精品推荐| 韩国女主播成人在线| 日韩在线观看一区二区| 亚洲精品成a人| 亚洲免费观看高清在线观看| 久久精品综合网| 久久精品夜夜夜夜久久| 日韩美一区二区三区| 日韩一区二区三区观看| 欧美丰满美乳xxx高潮www| 91成人在线精品| 在线免费观看日本一区| 欧美在线色视频| 欧美午夜精品一区二区三区| 91成人免费在线视频| 色哟哟日韩精品| 91.xcao| 久久久91精品国产一区二区精品 | 99视频一区二区三区| av在线这里只有精品| 91在线观看地址| 欧美私人免费视频| 日韩欧美国产三级| 久久久国际精品| 一区二区三区四区亚洲| 日本中文字幕一区二区视频 | 亚洲激情自拍视频| 蜜桃视频在线观看一区| 国产成人一区二区精品非洲| 91麻豆产精品久久久久久| 欧美一区二区三区小说|