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

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

?? makefile

?? 給出一個簡單操作系統在AVR中應用實例
??
字號:
# Hey Emacs, this is a -*- makefile -*-
#
# WinAVR Sample makefile written by Eric B. Weddington, J鰎g Wunsch, et al.
# Released to the Public Domain
# Please read the make user manual!
#
# Additional material for this makefile was submitted by:
#  Tim Henigan
#  Peter Fleury
#  Reiner Patommel
#  Sander Pool
#  Frederik Rouleau
#  Markus Pfaff
#
# 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 = at90s8515

# 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.)
SRC = $(TARGET).c  C:/WinAVR/minOS_WinAVR/OS_Core.c C:/WinAVR/minOS_WinAVR/os_cpu.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 = 



# 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

# 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 = stabs

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


# 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 extensions
CSTANDARD = -std=gnu99

# Place -D or -U options here
CDEFS =

# Place -I options here
CINCS =


# 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
CFLAGS = -g$(DEBUG)
CFLAGS += $(CDEFS) $(CINCS)
CFLAGS += -O$(OPT)
CFLAGS += -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums
CFLAGS += -Wall -Wstrict-prototypes
CFLAGS += -Wa,-adhlns=$(<:.c=.lst)
CFLAGS += $(patsubst %,-I%,$(EXTRAINCDIRS))
CFLAGS += $(CSTANDARD)



# 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 



#Additional libraries.

# Minimalistic printf version
PRINTF_LIB_MIN = -Wl,-u,vfprintf -lprintf_min

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

PRINTF_LIB = 

# Minimalistic scanf version
SCANF_LIB_MIN = -Wl,-u,vfscanf -lscanf_min

# Floating point + %[ scanf version (requires MATH_LIB = -lm below)
SCANF_LIB_FLOAT = -Wl,-u,vfscanf -lscanf_flt

SCANF_LIB = 

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=0x80ffff

EXTMEMOPTS = 

# 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
LDFLAGS += $(EXTMEMOPTS)
LDFLAGS += $(PRINTF_LIB) $(SCANF_LIB) $(MATH_LIB)




# 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

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

AVRDUDE_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 -v

AVRDUDE_FLAGS = -p $(MCU) -P $(AVRDUDE_PORT) -c $(AVRDUDE_PROGRAMMER)
AVRDUDE_FLAGS += $(AVRDUDE_NO_VERIFY)
AVRDUDE_FLAGS += $(AVRDUDE_VERBOSE)
AVRDUDE_FLAGS += $(AVRDUDE_ERASE_COUNTER)



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

# 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
NM = avr-nm
AVRDUDE = avrdude
REMOVE = rm -f
COPY = cp




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


# Compiler flags to generate dependency files.
GENDEPFLAGS = -Wp,-M,-MP,-MT,$(*F).o,-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 finished end

build: elf hex eep lss sym coff

elf: $(TARGET).elf
hex: $(TARGET).hex
eep: $(TARGET).eep
lss: $(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)

finished:
	@echo $(MSG_ERRORS_NONE)

end:
	@echo $(MSG_END)
	@echo


# Display size of file.
HEXSIZE = $(SIZE) --target=$(FORMAT) $(TARGET).hex
ELFSIZE = $(SIZE) -A $(TARGET).elf
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



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




# 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



# 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) $(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) .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



?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色就色 综合激情| 欧美一区二区三区小说| 欧美经典一区二区| 蜜桃久久精品一区二区| 欧美另类高清zo欧美| 亚洲国产视频a| 91久久线看在观草草青青 | 久久亚洲综合色| 图片区日韩欧美亚洲| 欧美日韩免费不卡视频一区二区三区| 欧美男人的天堂一二区| 性做久久久久久久久| 精品污污网站免费看| 亚洲国产精品久久艾草纯爱 | 亚洲国产日韩a在线播放| 色综合久久九月婷婷色综合| 亚洲女人****多毛耸耸8| 97久久超碰精品国产| 亚洲三级久久久| 欧洲精品中文字幕| 亚洲成人黄色影院| 欧美精品 国产精品| 日本在线不卡一区| 91精品国产福利| 免费人成黄页网站在线一区二区| 91视频在线看| 亚洲精品一二三区| 欧美色窝79yyyycom| 亚洲国产精品麻豆| 欧美一区二区三区小说| 国产伦理精品不卡| 国产女人aaa级久久久级| jlzzjlzz欧美大全| 一个色在线综合| 欧美高清视频www夜色资源网| 日韩美女视频一区| 欧美午夜精品理论片a级按摩| 欧美极品另类videosde| 91免费视频网| 偷偷要91色婷婷| 欧美va亚洲va香蕉在线| 国产成人aaa| 亚洲精品成人精品456| 欧美人妖巨大在线| 国产精一区二区三区| 中文字幕一区二区三区精华液 | 国产一区二区在线观看免费 | 91久久精品一区二区| 日韩电影一二三区| 久久这里都是精品| 91在线码无精品| 三级不卡在线观看| 国产日韩欧美一区二区三区乱码 | 在线观看日韩电影| 美女一区二区视频| 国产色产综合产在线视频| 97se亚洲国产综合自在线| 午夜精品国产更新| 久久久三级国产网站| 色综合激情五月| 蜜桃视频免费观看一区| 1024成人网色www| 欧美一区二区黄色| 丁香五精品蜜臀久久久久99网站| 久久精品视频在线看| 91小视频在线免费看| 日韩福利视频网| 国产精品九色蝌蚪自拍| 欧美喷潮久久久xxxxx| 国产传媒久久文化传媒| 亚洲v中文字幕| 亚洲国产成人自拍| 欧美精品第一页| 97久久超碰国产精品电影| 免费人成网站在线观看欧美高清| 日韩欧美一级片| 91小视频免费观看| 久久国内精品视频| 亚洲资源中文字幕| 日本一区二区免费在线 | 美女久久久精品| 一区二区视频免费在线观看| 精品理论电影在线| 欧美日韩一区精品| 国产+成+人+亚洲欧洲自线| 五月天国产精品| 国产精品久久久久久久久免费樱桃| 99久久精品免费看国产| 久久99精品国产.久久久久| 一区二区三区欧美视频| 久久久久97国产精华液好用吗| 国产传媒一区在线| 蜜桃av一区二区在线观看| 成人欧美一区二区三区| 久久一区二区视频| 欧美一区二区人人喊爽| 欧美视频一区在线| 97精品电影院| 国产精品一二三区| 日韩成人伦理电影在线观看| 伊人色综合久久天天人手人婷| 欧美伦理影视网| 色婷婷国产精品综合在线观看| 亚洲国产精品自拍| 亚洲视频每日更新| 日本一区二区动态图| 精品乱人伦一区二区三区| 91.麻豆视频| 欧美在线一区二区三区| aaa亚洲精品一二三区| 国产成人一区二区精品非洲| 美腿丝袜一区二区三区| 午夜一区二区三区在线观看| 亚洲欧美二区三区| 国产精品国产成人国产三级| 久久久精品tv| 久久精品欧美一区二区三区不卡| 91丨国产丨九色丨pron| 成人aaaa免费全部观看| 国产精品系列在线播放| 狠狠久久亚洲欧美| 精品一区二区在线播放| 奇米色一区二区| 免费高清不卡av| 久久精品久久久精品美女| 亚洲高清中文字幕| 亚洲电影视频在线| 亚洲一区二区三区中文字幕| 一区二区三区欧美在线观看| 一区二区高清在线| 亚洲午夜久久久| 亚洲影院在线观看| 亚洲高清三级视频| 亚州成人在线电影| 日韩影院精彩在线| 喷白浆一区二区| 精品一区二区久久久| 国内精品在线播放| 国产精品亚洲视频| 国产成人激情av| 岛国av在线一区| 不卡影院免费观看| 色综合久久66| 欧美人与性动xxxx| 日韩一区二区在线免费观看| 欧美成人一区二区三区片免费 | 国产丝袜美腿一区二区三区| 久久久噜噜噜久久人人看| 国产午夜三级一区二区三| 国产精品久久久久久户外露出| 欧美精三区欧美精三区| 欧美精品电影在线播放| 日韩免费在线观看| 欧美精品一区二区久久久| 久久亚洲欧美国产精品乐播| 欧美国产精品劲爆| 18欧美乱大交hd1984| 亚洲成人激情av| 捆绑调教一区二区三区| 国产精品影音先锋| 99国内精品久久| 欧美色偷偷大香| 91精品国产黑色紧身裤美女| 久久久99免费| 亚洲乱码国产乱码精品精可以看| 中文字幕高清不卡| 亚洲伦在线观看| 日韩一区精品视频| 狠狠色丁香九九婷婷综合五月| 日本va欧美va精品| 国产精品1区2区3区在线观看| 日韩国产在线观看| 国产麻豆91精品| 色婷婷综合五月| 日韩你懂的在线观看| 国产精品久久久99| 亚洲成a人片在线不卡一二三区| 亚洲男人的天堂一区二区 | 亚洲黄色免费网站| 日日夜夜免费精品| 精品一区二区影视| 91视视频在线观看入口直接观看www | 久久久综合九色合综国产精品| 欧美一区二区高清| 中文字幕久久午夜不卡| 亚洲成年人影院| 国产91高潮流白浆在线麻豆| 91福利精品视频| 26uuu国产在线精品一区二区| 亚洲精品一区二区三区福利| 亚洲日本电影在线| 免费视频一区二区| 91丝袜美腿高跟国产极品老师 | 在线视频国产一区| 欧美mv和日韩mv的网站| 亚洲欧洲韩国日本视频| 蜜臀91精品一区二区三区| 91老师片黄在线观看| 精品国产网站在线观看| 亚洲男人的天堂一区二区|