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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? makefile

?? AVR單片機(jī)控制nokia3510i nokia6100液晶顯示屏的庫(kù)文件及例程
??
字號(hào):
# WinAVR Sample 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 coff = Convert ELF to AVR COFF (for use with AVR Studio 3.x or VMLAB).
#
# make extcoff = Convert ELF to AVR Extended COFF (for use with AVR Studio
#                4.07 or greater).
#
# make program = Download the hex file to the device, using avrdude.  Please
#                customize the avrdude settings below first!
#
# make filename.s = Just compile filename.c into the assembler code only
#
# To rebuild project do "make clean" then "make all".
#


# MCU name
MCU = atmega32

# Output format. (can be srec, ihex, binary)
FORMAT = ihex

# Target file name (without extension).
TARGET = test

# Optimization level, can be [0, 1, 2, 3, s]. 0 turns off optimization.
# (Note: 3 is not always the best optimization level. See avr-libc FAQ.)
OPT = s -mcall-prologues
#OPT += -mshort-calls

# List C source files here. (C dependencies are automatically generated.)
SRC = main.c
SRC += ../lib/glcd.c



# 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 = ../lfsr/lfsr.S


# List any extra directories to look for include files here.
#     Each directory must be seperated by a space.
EXTRAINCDIRS =


# Optional compiler flags.
#  -g:        generate debugging information (for GDB, or for COFF conversion)
#  -O*:       optimization level
#  -f...:     tuning, see gcc manual and avr-libc documentation
#  -Wall...:  warning level
#  -Wa,...:   tell GCC to pass this to the assembler.
#    -ahlms:  create assembler listing
CFLAGS = -O$(OPT) \
-funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums \
-Wall -Wstrict-prototypes \
-Wa,-adhlns=$(<:.c=.lst) \
$(patsubst %,-I%,$(EXTRAINCDIRS))


# Set a "language standard" compiler flag.
#   Unremark just one line below to set the language standard to use.
#   gnu99 = C99 + GNU extensions. See GCC manual for more information.
#CFLAGS += -std=c89
#CFLAGS += -std=gnu89
#CFLAGS += -std=c99
CFLAGS += -std=gnu99



# Optional 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)
# ASFLAGS += -gstabs



# Optional linker flags.
#  -Wl,...:   tell GCC to pass this to linker.
#  -Map:      create map file
#  --cref:    add cross reference to  map file
LDFLAGS = -Wl,-Map=$(TARGET).map,--cref



# Additional libraries

# Minimalistic printf version
#LDFLAGS += -Wl,-u,vfprintf -lprintf_min

# Floating point printf version (requires -lm below)
#LDFLAGS += -Wl,-u,vfprintf -lprintf_flt

# -lm = math library
#LDFLAGS += -lm


#LDFLAGS += --verbose


# Programming support using avrdude. Settings and variables.

# 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


AVRDUDE_PORT = com1	   # programmer connected to serial device
#AVRDUDE_PORT = lpt1	# programmer connected to parallel port

AVRDUDE_WRITE_FLASH = -U flash:w:$(TARGET).hex
#AVRDUDE_WRITE_EEPROM = -U eeprom:w:$(TARGET).eep

AVRDUDE_FLAGS = -p $(MCU) -P $(AVRDUDE_PORT) -c $(AVRDUDE_PROGRAMMER)

# 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 += -y

# Uncomment the following if you do /not/ wish a verification to be
# performed after programming the device.
#AVRDUDE_FLAGS += -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_FLAGS += -v -v




# ---------------------------------------------------------------------------

# Define directories, if needed.
DIRAVR = c:/winavr
DIRAVRBIN = $(DIRAVR)/bin
DIRAVRUTILS = $(DIRAVR)/utils/bin
DIRINC = .
DIRLIB = $(DIRAVR)/avr/lib


# Define programs and commands.
SHELL = sh

CC = avr-gcc

OBJCOPY = avr-objcopy
OBJDUMP = avr-objdump
SIZE = avr-size


# Programming support using avrdude.
AVRDUDE = avrdude


REMOVE = rm -f
COPY = cp

HEXSIZE = $(SIZE) --target=$(FORMAT) $(TARGET).hex
ELFSIZE = $(SIZE) -A $(TARGET).elf



# Define Messages
# English
MSG_ERRORS_NONE = Errors: none
MSG_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 = $(ASRC:.S=.lst) $(SRC:.c=.lst)

# Combine all necessary flags and optional flags.
# Add target processor to flags.
ALL_CFLAGS = -mmcu=$(MCU) -I. $(CFLAGS)
ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS)



# Default target.
all: begin gccversion sizebefore $(TARGET).elf $(TARGET).hex $(TARGET).eep \
	$(TARGET).lss $(TARGET).sym sizeafter finished end


# 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)

finished:
	@echo $(MSG_ERRORS_NONE)

end:
	@echo $(MSG_END)
	@echo


# Display size of file.
sizebefore:
	@if [ -f $(TARGET).elf ]; then echo; echo $(MSG_SIZE_BEFORE); $(ELFSIZE); echo; fi

sizeafter:
	@if [ -f $(TARGET).elf ]; then echo; echo $(MSG_SIZE_AFTER); $(ELFSIZE); echo; fi



# Display compiler version information.
gccversion : 
	@$(CC) --version




# 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).cof


extcoff: $(TARGET).elf
	@echo
	@echo $(MSG_EXTENDED_COFF) $(TARGET).cof
	$(COFFCONVERT) -O coff-ext-avr $< $(TARGET).cof




# Program the device.  
program: $(TARGET).hex $(TARGET).eep
	$(AVRDUDE) $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH) $(AVRDUDE_WRITE_EEPROM)




# 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) $@
	avr-nm -n $< > $@



# Link: create ELF output file from object files.
.SECONDARY : $(TARGET).elf
.PRECIOUS : $(OBJ)
%.elf: $(OBJ)
	@echo
	@echo $(MSG_LINKING) $@
	$(CC) $(ALL_CFLAGS) $(OBJ) --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 $@






# Target: clean project.
clean: begin clean_list finished end

clean_list :
	@echo
	@echo $(MSG_CLEANING)
	$(REMOVE) $(TARGET).hex
	$(REMOVE) $(TARGET).eep
	$(REMOVE) $(TARGET).obj
	$(REMOVE) $(TARGET).cof
	$(REMOVE) $(TARGET).elf
	$(REMOVE) $(TARGET).map
	$(REMOVE) $(TARGET).obj
	$(REMOVE) $(TARGET).a90
	$(REMOVE) $(TARGET).sym
	$(REMOVE) $(TARGET).lnk
	$(REMOVE) $(TARGET).lss
	$(REMOVE) $(OBJ)
	$(REMOVE) $(LST)
	$(REMOVE) $(SRC:.c=.s)
	$(REMOVE) $(SRC:.c=.d)
	$(REMOVE) *.bak


# Automatically generate C source code dependencies. 
# (Code originally taken from the GNU make user manual and modified 
# (See README.txt Credits).)
#
# Note that this will work with sh (bash) and sed that is shipped with WinAVR
# (see the SHELL variable defined above).
# This may not work with other shells or other seds.
#
%.d: %.c
	set -e; $(CC) -MM $(ALL_CFLAGS) $< \
	| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > $@; \
	[ -s $@ ] || rm -f $@


# Remove the '-' if you want to see the dependency files generated.
-include $(SRC:.c=.d)



# Listing of phony targets.
.PHONY : all begin finish end sizebefore sizeafter gccversion coff extcoff \
	clean clean_list program

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲人成精品久久久久| 国产一区二区三区久久久| 国产精品乱子久久久久| 久久综合999| 2023国产一二三区日本精品2022| 日韩三级视频在线观看| 欧美一区二区三区在线视频| 91精品欧美久久久久久动漫| 5858s免费视频成人| 91麻豆精品国产91久久久久久久久 | 欧美日本在线播放| 欧美人牲a欧美精品| 在线播放中文一区| 日韩欧美国产不卡| 久久精品日韩一区二区三区| 国产欧美日韩激情| 亚洲少妇30p| 亚洲午夜久久久久中文字幕久| 亚洲一区二区免费视频| 五月天久久比比资源色| 免费成人在线影院| 国产精品一区二区在线观看不卡| 国产成人精品免费视频网站| 99视频热这里只有精品免费| 色狠狠桃花综合| 6080日韩午夜伦伦午夜伦| 欧美mv和日韩mv国产网站| 久久精品这里都是精品| 亚洲婷婷综合久久一本伊一区| 一区二区欧美视频| 美女尤物国产一区| 懂色av一区二区三区蜜臀| 91女神在线视频| 9191国产精品| 欧美激情综合网| 一区二区在线观看免费视频播放| 午夜成人免费视频| 国产成人精品午夜视频免费| 国产精品色哟哟网站| 亚洲精品视频在线观看网站| 午夜不卡av免费| 国产一区不卡在线| 日本精品裸体写真集在线观看| 这里是久久伊人| 国产清纯白嫩初高生在线观看91 | 亚洲人成在线观看一区二区| 婷婷丁香激情综合| 国产传媒一区在线| 欧美三级中文字幕在线观看| 欧美精品一区二区三区在线| 亚洲人成7777| 精品一二三四在线| 日本丰满少妇一区二区三区| 欧美成人国产一区二区| 亚洲免费在线视频一区 二区| 麻豆一区二区三区| 色天天综合色天天久久| 日韩欧美激情一区| 亚洲精品中文字幕乱码三区| 国内精品自线一区二区三区视频| 色噜噜狠狠一区二区三区果冻| 欧美tk—视频vk| 亚洲国产视频在线| 成人国产一区二区三区精品| 日韩三级伦理片妻子的秘密按摩| 亚洲日本va午夜在线影院| 免费在线看一区| 在线看不卡av| 国产精品全国免费观看高清| 麻豆91精品91久久久的内涵| 在线一区二区三区四区五区| 日本一区二区三区久久久久久久久不| 亚洲福利视频三区| 97精品国产露脸对白| 久久久久久久久久美女| 日本成人在线不卡视频| 在线观看国产日韩| 中文字幕一区二区三区色视频 | 日韩欧美久久久| 亚洲一区二区三区四区五区黄| 国产91高潮流白浆在线麻豆| 日韩欧美国产三级| 日韩精品每日更新| 欧美性大战久久久久久久 | 久久99国产乱子伦精品免费| 欧美日韩一区二区不卡| 亚洲乱码中文字幕| 成人免费视频视频| 国产欧美综合在线观看第十页 | 欧美体内she精视频| 成人免费在线播放视频| 成人动漫一区二区在线| 欧美激情一区在线| 国产精品正在播放| 久久婷婷国产综合精品青草| 久久66热re国产| 日韩一区二区三免费高清| 同产精品九九九| 欧美精品1区2区| 日本不卡一二三| 欧美一二三区在线| 老汉av免费一区二区三区| 日韩一区二区视频在线观看| 五月综合激情婷婷六月色窝| 精品视频一区三区九区| 亚洲午夜精品一区二区三区他趣| 欧美综合久久久| 亚洲一区二区在线观看视频| 欧美日韩一级片在线观看| 亚洲一区二区三区在线播放| 欧美天堂亚洲电影院在线播放| 亚洲小少妇裸体bbw| 欧美剧情电影在线观看完整版免费励志电影 | 国产三级精品视频| 风间由美一区二区三区在线观看| 久久久蜜臀国产一区二区| 国产精品一区二区三区四区| 国产午夜亚洲精品不卡| 高清成人免费视频| 亚洲色图另类专区| 欧洲色大大久久| 日韩电影在线一区二区三区| 日韩欧美一级精品久久| 国产高清一区日本| 专区另类欧美日韩| 欧美日韩免费一区二区三区视频| 日韩电影在线观看电影| 久久中文娱乐网| 99精品久久久久久| 亚洲成人av电影| 欧美成人a在线| 99精品视频中文字幕| 亚洲一区国产视频| 日韩一区二区中文字幕| 床上的激情91.| 亚洲一区二区视频| 欧美xxxxxxxx| 播五月开心婷婷综合| 亚洲国产成人精品视频| 日韩欧美成人激情| www.色精品| 日韩电影在线免费看| 国产精品素人一区二区| 欧美这里有精品| 极品少妇xxxx精品少妇| 亚洲手机成人高清视频| 91麻豆精品国产91久久久久久久久| 国产露脸91国语对白| 洋洋成人永久网站入口| 精品对白一区国产伦| 色综合久久久久综合| 久久国产麻豆精品| 一区二区在线观看不卡| 日韩免费在线观看| 色综合久久99| 精品一区二区三区日韩| 亚洲精品欧美激情| 久久久五月婷婷| 欧美三级日本三级少妇99| 国产91精品精华液一区二区三区| 亚洲综合色视频| 国产色产综合色产在线视频| 在线播放日韩导航| aaa欧美日韩| 精品无人码麻豆乱码1区2区| 亚洲综合丝袜美腿| 国产精品色哟哟网站| 日韩亚洲欧美成人一区| 日本高清免费不卡视频| 国产精品亚洲成人| 蜜臀av一区二区三区| 一区二区三区蜜桃| 国产精品视频一二| 欧美成人a视频| 欧美精品久久久久久久久老牛影院| av在线播放成人| 国产麻豆精品theporn| 日日摸夜夜添夜夜添国产精品 | 亚洲国产高清在线观看视频| 69精品人人人人| 欧美优质美女网站| 99久久精品99国产精品| 国产成人在线视频网站| 乱中年女人伦av一区二区| 亚洲国产精品一区二区久久| 中文字幕中文在线不卡住| 久久久精品蜜桃| 精品久久久久久无| 日韩欧美中文字幕制服| 欧美美女网站色| 欧美日韩国产a| 欧美系列亚洲系列| 欧美亚一区二区| 色老汉一区二区三区| 99精品欧美一区| 91亚洲精品乱码久久久久久蜜桃 | 欧美肥妇毛茸茸| 欧美色图天堂网| 欧美制服丝袜第一页| 在线观看欧美黄色|