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

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

?? makefile

?? 一個紅外分析儀的固件程序。使用的AVRUSB硬件(ATMEGA8)。
??
字號:
#這是一個簡單makefile,僅用于初學者使用#修改于WINAVR20050214所生成的makefile#簡單實驗只需更改 [單片機類型][目標文件名][C源文件名][系統(tǒng)時鐘頻率]即可#修改好參數(shù)后另存到單片機程序所在目錄,然后執(zhí)行[make all]命令#生成 燒錄FLASH的*.hex,燒錄EEPROM的*.eep,調(diào)試用的*.elf 文件##           www.OurAVR.com# MCU name # 單片機類型 參考格式是:atmega8 / at90s2313 / attiny15MCU = atmega8# Processor frequency.# 系統(tǒng)時鐘頻率(Hz),用于生成延時 _delay_us() _delay_ms() 見delay.h #     This will define a symbol, F_CPU, in all source code files equal to the #     processor frequency. You can then use this symbol in your source code to #     calculate timings. Do NOT tack on a 'UL' at the end, this will be done#     automatically to create a 32-bit value in your source code.F_CPU = 12000000# Target file name (without extension).# 目標文件名(即生成的.hex/.eep/.elf的文件名)TARGET = main# List C source files here. (C dependencies are automatically generated.)# C源文件名(不帶路徑)# 多個文件名間用空格隔開 例如 SRC = file1.c file2.c file3.c# 不需要加上 h頭文件SRC = $(TARGET).c usbdrv/usbdrv.c usbdrv/oddebug.c#**************后面內(nèi)容基本不需要修改,除非你是老手*****************************## Output format. (can be srec, ihex, binary)# 輸出燒錄文件格式FORMAT = ihex# Optimization level, can be [0, 1, 2, 3, s]. # 優(yōu)化級別#     0 = turn off optimization. s = optimize for size.#     (Note: 3 is not always the best optimization level. See avr-libc FAQ.)OPT = s# Debugging format.# 輸出調(diào)試格式#     Native formats for AVR-GCC's -g are dwarf-2 [default] or stabs.#     AVR Studio 4.10 requires dwarf-2.#     AVR [Extended] COFF format requires stabs, plus an avr-objcopy run.DEBUG = dwarf-2# List Assembler source files here.# 匯編源文件名(不帶路徑,但擴展名 .sS 需大寫,否則將會被make clean 所誤刪)#     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 =  usbdrv/usbdrvasm.S# Hey Emacs, this is a -*- makefile -*-#----------------------------------------------------------------------------# WinAVR Makefile Template written by Eric B. Weddington, J鰎g Wunsch, et al.## Released to the Public Domain## Additional material for this makefile was written by:# Peter Fleury# Tim Henigan# Colin O'Flynn# Reiner Patommel# Markus Pfaff# Sander Pool# Frederik Rouleau##----------------------------------------------------------------------------# On command line:## make all = Make software.## make clean = Clean out built project files.## make coff = Convert ELF to AVR COFF.## make extcoff = Convert ELF to AVR Extended COFF.## make program = Download the hex file to the device, using avrdude.#                Please customize the avrdude settings below first!## make debug = Start either simulavr or avarice as specified for debugging, #              with avr-gdb or avr-insight as the front end for debugging.## make filename.s = Just compile filename.c into the assembler code only.## make filename.i = Create a preprocessed source file for use in submitting#                   bug reports to the GCC project.## To rebuild project do "make clean" then "make all".#----------------------------------------------------------------------------# List any extra directories to look for include files here.#     Each directory must be seperated by a space.#     Use forward slashes for directory separators.#     For a directory that has spaces, enclose it in quotes.EXTRAINCDIRS = usbdrv# 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 hereCDEFS = -DF_CPU=$(F_CPU)UL# Place -I options hereCINCS =#---------------- Compiler Options ----------------#  -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 listingCFLAGS = -g$(DEBUG)CFLAGS += $(CDEFS) $(CINCS)CFLAGS += -O$(OPT)CFLAGS += -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enumsCFLAGS += -Wall -Wstrict-prototypesCFLAGS += -Wa,-adhlns=$(<:.c=.lst)CFLAGS += $(patsubst %,-I%,$(EXTRAINCDIRS))CFLAGS += $(CSTANDARD)#---------------- Assembler Options ----------------#  -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 #---------------- Library Options ----------------# Minimalistic printf versionPRINTF_LIB_MIN = -Wl,-u,vfprintf -lprintf_min# Floating point printf version (requires MATH_LIB = -lm below)PRINTF_LIB_FLOAT = -Wl,-u,vfprintf -lprintf_flt# If this is left blank, then it will use the Standard printf version.PRINTF_LIB = #PRINTF_LIB = $(PRINTF_LIB_MIN)#PRINTF_LIB = $(PRINTF_LIB_FLOAT)# Minimalistic scanf versionSCANF_LIB_MIN = -Wl,-u,vfscanf -lscanf_min# Floating point + %[ scanf version (requires MATH_LIB = -lm below)SCANF_LIB_FLOAT = -Wl,-u,vfscanf -lscanf_flt# If this is left blank, then it will use the Standard scanf version.SCANF_LIB = #SCANF_LIB = $(SCANF_LIB_MIN)#SCANF_LIB = $(SCANF_LIB_FLOAT)MATH_LIB = -lm#---------------- External Memory Options ----------------# 64 KB of external RAM, starting after internal RAM (ATmega128!),# used for variables (.data/.bss) and heap (malloc()).#EXTMEMOPTS = -Wl,-Tdata=0x801100,--defsym=__heap_end=0x80ffff# 64 KB of external RAM, starting after internal RAM (ATmega128!),# only used for heap (malloc()).#EXTMEMOPTS = -Wl,--defsym=__heap_start=0x801100,--defsym=__heap_end=0x80ffffEXTMEMOPTS =#---------------- Linker Options ----------------#  -Wl,...:     tell GCC to pass this to linker.#    -Map:      create map file#    --cref:    add cross reference to  map fileLDFLAGS = -Wl,-Map=$(TARGET).map,--crefLDFLAGS += $(EXTMEMOPTS)LDFLAGS += $(PRINTF_LIB) $(SCANF_LIB) $(MATH_LIB)#---------------- Programming Options (avrdude) ----------------# Programming hardware: alf avr910 avrisp bascom bsd # dt006 pavr picoweb pony-stk200 sp12 stk200 stk500## Type: avrdude -c ?# to get a full listing.#AVRDUDE_PROGRAMMER = stk500# com1 = serial port. Use lpt1 to connect to parallel port.AVRDUDE_PORT = com1    # programmer connected to serial deviceAVRDUDE_WRITE_FLASH = -U flash:w:$(TARGET).hex#AVRDUDE_WRITE_EEPROM = -U eeprom:w:$(TARGET).eep# Uncomment the following if you want avrdude's erase cycle counter.# Note that this counter needs to be initialized first using -Yn,# see avrdude manual.#AVRDUDE_ERASE_COUNTER = -y# Uncomment the following if you do /not/ wish a verification to be# performed after programming the device.#AVRDUDE_NO_VERIFY = -V# Increase verbosity level.  Please use this when submitting bug# reports about avrdude. See <http://savannah.nongnu.org/projects/avrdude> # to submit bug reports.#AVRDUDE_VERBOSE = -v -vAVRDUDE_FLAGS = -p $(MCU) -P $(AVRDUDE_PORT) -c $(AVRDUDE_PROGRAMMER)AVRDUDE_FLAGS += $(AVRDUDE_NO_VERIFY)AVRDUDE_FLAGS += $(AVRDUDE_VERBOSE)AVRDUDE_FLAGS += $(AVRDUDE_ERASE_COUNTER)#---------------- Debugging Options ----------------# For simulavr only - target MCU frequency.DEBUG_MFREQ = $(F_CPU)# Set the DEBUG_UI to either gdb or insight.# DEBUG_UI = gdbDEBUG_UI = insight# Set the debugging back-end to either avarice, simulavr.DEBUG_BACKEND = avarice#DEBUG_BACKEND = simulavr# GDB Init Filename.GDBINIT_FILE = __avr_gdbinit# When using avarice settings for the JTAGJTAG_DEV = /dev/com1# Debugging port used to communicate between GDB / avarice / simulavr.DEBUG_PORT = 4242# Debugging host used to communicate between GDB / avarice / simulavr, normally#     just set to localhost unless doing some sort of crazy debugging when #     avarice is running on a different computer.DEBUG_HOST = localhost#============================================================================# Define programs and commands.SHELL = shCC = avr-gccOBJCOPY = avr-objcopyOBJDUMP = avr-objdumpSIZE = avr-sizeNM = avr-nmAVRDUDE = avrdudeREMOVE = rm -fCOPY = cpWINSHELL = cmd# Define Messages# EnglishMSG_ERRORS_NONE = Errors: noneMSG_BEGIN = -------- begin --------MSG_END = --------  end  --------MSG_SIZE_BEFORE = Size before: MSG_SIZE_AFTER = Size after:MSG_COFF = Converting to AVR COFF:MSG_EXTENDED_COFF = Converting to AVR Extended COFF:MSG_FLASH = Creating load file for Flash:MSG_EEPROM = Creating load file for EEPROM:MSG_EXTENDED_LISTING = Creating Extended Listing:MSG_SYMBOL_TABLE = Creating Symbol Table:MSG_LINKING = Linking:MSG_COMPILING = Compiling:MSG_ASSEMBLING = Assembling:MSG_CLEANING = Cleaning project:# Define all object files.OBJ = $(SRC:.c=.o) $(ASRC:.S=.o) # Define all listing files.LST = $(SRC:.c=.lst) $(ASRC:.S=.lst) # Compiler flags to generate dependency files.GENDEPFLAGS = -MD -MP -MF .dep/$(@F).d# Combine all necessary flags and optional flags.# Add target processor to flags.ALL_CFLAGS = -mmcu=$(MCU) -I. $(CFLAGS) $(GENDEPFLAGS)ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS)# Default target.all: begin gccversion sizebefore build sizeafter endbuild: elf hex eep lss symelf: $(TARGET).elfhex: $(TARGET).hexeep: $(TARGET).eeplss: $(TARGET).lss sym: $(TARGET).sym# Eye candy.# AVR Studio 3.x does not check make's exit code but relies on# the following magic strings to be generated by the compile job.begin:	@echo	@echo $(MSG_BEGIN)end:	@echo $(MSG_END)	@echo# Display size of file.HEXSIZE = $(SIZE) --target=$(FORMAT) $(TARGET).hexELFSIZE = $(SIZE) -A $(TARGET).elfAVRMEM = avr-mem.sh $(TARGET).elf $(MCU)sizebefore:	@if test -f $(TARGET).elf; then echo; echo $(MSG_SIZE_BEFORE); $(ELFSIZE); \	$(AVRMEM) 2>/dev/null; echo; fisizeafter:	@if test -f $(TARGET).elf; then echo; echo $(MSG_SIZE_AFTER); $(ELFSIZE); \	$(AVRMEM) 2>/dev/null; echo; fi# Display compiler version information.gccversion : 	@$(CC) --version# Program the device.  program: $(TARGET).hex $(TARGET).eep	$(AVRDUDE) $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH) $(AVRDUDE_WRITE_EEPROM)# Generate avr-gdb config/init file which does the following:#     define the reset signal, load the target file, connect to target, and set #     a breakpoint at main().gdb-config: 	@$(REMOVE) $(GDBINIT_FILE)	@echo define reset >> $(GDBINIT_FILE)	@echo SIGNAL SIGHUP >> $(GDBINIT_FILE)	@echo end >> $(GDBINIT_FILE)	@echo file $(TARGET).elf >> $(GDBINIT_FILE)	@echo target remote $(DEBUG_HOST):$(DEBUG_PORT)  >> $(GDBINIT_FILE)ifeq ($(DEBUG_BACKEND),simulavr)	@echo load  >> $(GDBINIT_FILE)endif		@echo break main >> $(GDBINIT_FILE)	debug: gdb-config $(TARGET).elfifeq ($(DEBUG_BACKEND), avarice)	@echo Starting AVaRICE - Press enter when "waiting to connect" message displays.	@$(WINSHELL) /c start avarice --jtag $(JTAG_DEV) --erase --program --file \	$(TARGET).elf $(DEBUG_HOST):$(DEBUG_PORT)	@$(WINSHELL) /c pause	else	@$(WINSHELL) /c start simulavr --gdbserver --device $(MCU) --clock-freq \	$(DEBUG_MFREQ) --port $(DEBUG_PORT)endif	@$(WINSHELL) /c start avr-$(DEBUG_UI) --command=$(GDBINIT_FILE)# Convert ELF to COFF for use in debugging / simulating in AVR Studio or VMLAB.COFFCONVERT=$(OBJCOPY) --debugging \--change-section-address .data-0x800000 \--change-section-address .bss-0x800000 \--change-section-address .noinit-0x800000 \--change-section-address .eeprom-0x810000 coff: $(TARGET).elf	@echo	@echo $(MSG_COFF) $(TARGET).cof	$(COFFCONVERT) -O coff-avr $< $(TARGET).cofextcoff: $(TARGET).elf	@echo	@echo $(MSG_EXTENDED_COFF) $(TARGET).cof	$(COFFCONVERT) -O coff-ext-avr $< $(TARGET).cof# Create final output files (.hex, .eep) from ELF output file.%.hex: %.elf	@echo	@echo $(MSG_FLASH) $@	$(OBJCOPY) -O $(FORMAT) -R .eeprom $< $@%.eep: %.elf	@echo	@echo $(MSG_EEPROM) $@	-$(OBJCOPY) -j .eeprom --set-section-flags=.eeprom="alloc,load" \	--change-section-lma .eeprom=0 -O $(FORMAT) $< $@# Create extended listing file from ELF output file.%.lss: %.elf	@echo	@echo $(MSG_EXTENDED_LISTING) $@	$(OBJDUMP) -h -S $< > $@# 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 : $(OBJ)%.elf: $(OBJ)	@echo	@echo $(MSG_LINKING) $@	$(CC) $(ALL_CFLAGS) $^ --output $@ $(LDFLAGS)# Compile: create object files from C source files.%.o : %.c	@echo	@echo $(MSG_COMPILING) $<	$(CC) -c $(ALL_CFLAGS) $< -o $@ # Compile: create assembler files from C source files.%.s : %.c	$(CC) -S $(ALL_CFLAGS) $< -o $@# Assemble: create object files from assembler source files.%.o : %.S	@echo	@echo $(MSG_ASSEMBLING) $<	$(CC) -c $(ALL_ASFLAGS) $< -o $@# Create preprocessed source for use in sending a bug report.%.i : %.c	$(CC) -E -mmcu=$(MCU) -I. $(CFLAGS) $< -o $@ # Target: clean project.clean: begin clean_list endclean_list :	@echo	@echo $(MSG_CLEANING)	$(REMOVE) $(TARGET).hex	$(REMOVE) $(TARGET).eep	$(REMOVE) $(TARGET).cof	$(REMOVE) $(TARGET).elf	$(REMOVE) $(TARGET).map	$(REMOVE) $(TARGET).sym	$(REMOVE) $(TARGET).lss	$(REMOVE) $(OBJ)	$(REMOVE) $(LST)	$(REMOVE) $(SRC:.c=.s)	$(REMOVE) $(SRC:.c=.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 eep lss sym coff extcoff \clean clean_list program debug gdb-config

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产成人午夜高潮毛片| 国产精品无遮挡| 天天色综合天天| 欧美精品九九99久久| 亚洲午夜在线视频| 制服丝袜亚洲色图| 久久国产欧美日韩精品| 久久先锋影音av鲁色资源网| 国产精品正在播放| 亚洲欧洲美洲综合色网| 欧美网站大全在线观看| 日韩av一二三| 26uuu精品一区二区| 懂色av噜噜一区二区三区av| 国产精品高潮久久久久无| 在线观看视频91| 日韩av一二三| 日本一区二区在线不卡| 91同城在线观看| 日韩一区二区三区在线观看| 国产精品影音先锋| 国产精品情趣视频| 色综合天天狠狠| 亚洲gay无套男同| 日韩欧美在线影院| 国产一区二区精品久久| 国产精品美女久久久久aⅴ国产馆| 丁香五精品蜜臀久久久久99网站| 中文字幕一区二区三区四区| 色爱区综合激月婷婷| 午夜影院在线观看欧美| 日韩精品一区二区三区在线| 国产久卡久卡久卡久卡视频精品| 国产精品国产自产拍高清av王其 | 国产酒店精品激情| 国产精品国产三级国产aⅴ入口| 日本精品视频一区二区| 性久久久久久久久| 久久精品亚洲精品国产欧美 | 日本在线不卡一区| 久久综合成人精品亚洲另类欧美| 成人国产精品免费观看视频| 亚洲综合免费观看高清完整版在线| 欧美美女喷水视频| 国产精品夜夜爽| 亚洲国产精品一区二区尤物区| 日韩欧美一二三四区| 国产aⅴ综合色| 亚洲国产精品综合小说图片区| 日韩欧美卡一卡二| 成人一区二区视频| 亚洲国产日韩一级| 国产喷白浆一区二区三区| 欧美亚洲国产bt| 国产麻豆精品在线| 亚洲第一激情av| 久久亚洲欧美国产精品乐播| 91精品福利在线| 狠狠v欧美v日韩v亚洲ⅴ| 一区二区三区欧美亚洲| 久久午夜色播影院免费高清| 欧美男男青年gay1069videost| 高清shemale亚洲人妖| 日韩精品久久久久久| 国产午夜精品一区二区| 91福利视频在线| 成人国产精品免费观看| 久久精品国产亚洲一区二区三区| 亚洲人一二三区| 国产亚洲一区字幕| 日韩一区二区视频在线观看| 日本高清不卡视频| 福利91精品一区二区三区| 日韩国产精品久久| 亚洲综合色婷婷| 国产精品高潮久久久久无| 国产日韩综合av| 精品久久久久av影院| 欧美一区二区三区免费观看视频 | 美女高潮久久久| 亚洲一区二区不卡免费| 国产精品高清亚洲| 久久久精品欧美丰满| 欧美一区二区视频在线观看| 欧美性受xxxx| 在线日韩国产精品| 色综合咪咪久久| 色香色香欲天天天影视综合网| 国产91精品一区二区麻豆网站| 久久激情综合网| 日本v片在线高清不卡在线观看| 亚洲一区二区av在线| 久久综合狠狠综合久久综合88| 欧美岛国在线观看| 欧美一区二区三区日韩| 日韩写真欧美这视频| 欧美一区二区三区思思人| 5566中文字幕一区二区电影| 欧美久久免费观看| 欧美日韩亚洲综合一区| 欧美日韩在线播放| 911精品国产一区二区在线| 欧美自拍偷拍午夜视频| 91福利精品第一导航| 欧日韩精品视频| 欧美在线视频日韩| 欧美久久久影院| 日韩一区二区精品| 精品乱码亚洲一区二区不卡| 久久婷婷久久一区二区三区| 欧美国产精品久久| 亚洲嫩草精品久久| 综合精品久久久| 国产精品你懂的| 自拍偷拍欧美激情| 亚洲午夜久久久| 毛片一区二区三区| 久久不见久久见免费视频7| 韩国av一区二区三区在线观看| 国产成人日日夜夜| 日本丶国产丶欧美色综合| 色婷婷狠狠综合| 日韩精品专区在线影院观看| 久久九九全国免费| 亚洲免费三区一区二区| 日精品一区二区| 国产成+人+日韩+欧美+亚洲| 91麻豆.com| 6080国产精品一区二区| 精品国产乱码久久久久久夜甘婷婷 | 成a人片国产精品| 99re6这里只有精品视频在线观看| 99视频在线精品| 欧美三级视频在线| 国产精品麻豆视频| 香蕉成人啪国产精品视频综合网| 精品午夜久久福利影院| 成人ar影院免费观看视频| 欧美性猛交xxxx黑人交| 26uuu色噜噜精品一区二区| 亚洲欧美成aⅴ人在线观看| 日本一不卡视频| 成人黄页毛片网站| 欧美一区二区日韩| 亚洲日本在线观看| 蜜桃视频在线观看一区二区| 色哟哟在线观看一区二区三区| 精品av久久707| 亚洲va天堂va国产va久| 北条麻妃一区二区三区| 日韩一区二区视频| 亚洲男帅同性gay1069| 蜜桃一区二区三区四区| 色综合久久天天| 国产欧美精品国产国产专区| 偷拍与自拍一区| 97久久精品人人做人人爽| 精品久久久久久亚洲综合网 | 久久综合色播五月| 亚洲精品视频免费观看| 视频一区二区欧美| 欧美在线观看一二区| 中日韩av电影| 国产在线播精品第三| 欧美精品日日鲁夜夜添| 亚洲麻豆国产自偷在线| 国产精品66部| 精品国产三级a在线观看| 丝瓜av网站精品一区二区| 色婷婷精品大在线视频| 日本一区二区三区dvd视频在线| 日本美女视频一区二区| 欧美日韩综合色| 亚洲一区二区三区四区在线| 91美女视频网站| 中文字幕一区二区三区精华液| 国产成人免费xxxxxxxx| 4438x成人网最大色成网站| 一区二区三区91| 欧美色欧美亚洲另类二区| 自拍偷自拍亚洲精品播放| 成人99免费视频| 亚洲视频你懂的| a级精品国产片在线观看| 日本一区二区三区在线观看| 成人性色生活片| 日本一区二区视频在线观看| 成人小视频免费在线观看| 国产肉丝袜一区二区| 九九九精品视频| 日本一区二区成人在线| 国产成人精品免费在线| 国产日韩欧美精品在线| 国产精品亚洲专一区二区三区| 久久综合成人精品亚洲另类欧美| 国产精品综合二区| 欧美极品美女视频| 91首页免费视频| 亚洲成人av免费| 日韩一区二区三区电影在线观看|