亚洲欧美第一页_禁久久精品乱码_粉嫩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".
#
TRUE	= 1
FALSE	= 0

# MCU name
#MCU      = atmega8
#MCU      = atmega16
MCU      = atmega128
#MCU      = at90s8515

# default hardware values in case they are not defined in the source

CPUCLK	= 8000000L
BAUDRATE= 19200L
TICKRATE= 1000

#TARGET = BasicTest1
#TARGET = BasicTest2
#TARGET = BasicTest3
#TARGET = BasicTest4

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

SRC = $(TARGET).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 = ../avrx/serialio.S

GCCLIB = ../avrx/avrx.a

# 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
DEBUG = dwarf-2

# 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 = -D$(TARGET) -DCPUCLK=$(CPUCLK) -DTICKRATE=$(TICKRATE) -DBAUDRATE=$(BAUDRATE)

# Place -I options here
CINCS = -I../avrx


# 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 += -funsigned-bitfields -fpack-struct -fshort-enums -fnew-ra
CFLAGS += -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 = com4    # programmer connected to serial device
#AVRDUDE_BAUD = 38400
AVRDUDE_PORT = com1    # programmer connected to serial device
AVRDUDE_BAUD = 115200

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) -b $(AVRDUDE_BAUD)
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 -fr
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.
Samples:
	make all TARGET=BasicTest1
	make all TARGET=BasicTest2
	make all TARGET=BasicTest3
	make all TARGET=BasicTest4

#all: begin gccversion sizebefore build sizeafter finished end
all: sizebefore build sizeafter

build: elf hex lss sym
#build: coff hex lss sym

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) $(GCCLIB) --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).a90
	$(REMOVE) $(TARGET).sym
	$(REMOVE) $(TARGET).lnk
	$(REMOVE) $(TARGET).lss
	$(REMOVE) $(OBJ)
	$(REMOVE) *.o *.lst *.map *.lss *.sym *.cof *.eep
	$(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一区二区三区免费野_久草精品视频
2023国产一二三区日本精品2022| 黄色资源网久久资源365| 国产mv日韩mv欧美| 国产欧美一区二区精品性色超碰 | 99久久精品国产网站| 中文字幕av一区二区三区高| 成人高清av在线| 亚洲欧美日韩一区| 欧美三级电影网站| 久久99久久久久久久久久久| 久久久久久久综合色一本| 成人免费视频播放| 亚洲一二三四久久| 欧美成人性战久久| 成人激情综合网站| 亚洲一区二区视频在线| 日韩精品中文字幕一区二区三区| 国产99一区视频免费| 亚洲另类春色国产| 91精品国产欧美日韩| 国产精品亚洲视频| 一区二区三区免费看视频| 欧美女孩性生活视频| 国产一区二区美女诱惑| 综合av第一页| 在线综合亚洲欧美在线视频| 国产福利91精品| 亚洲福利视频导航| 久久久不卡影院| 欧美亚一区二区| 黑人巨大精品欧美一区| 自拍偷在线精品自拍偷无码专区| 日韩欧美中文字幕制服| eeuss鲁片一区二区三区在线看| 天堂资源在线中文精品| 国产精品妹子av| 91精品国产综合久久小美女| jizzjizzjizz欧美| 麻豆精品视频在线观看免费| 亚洲欧洲在线观看av| 日韩亚洲欧美成人一区| 色综合天天综合网国产成人综合天 | av成人动漫在线观看| 青青青爽久久午夜综合久久午夜| 中文字幕亚洲视频| 欧美成人bangbros| 欧美亚洲愉拍一区二区| 国产91精品在线观看| 亚洲成人免费视| 亚洲欧美综合网| 久久久亚洲国产美女国产盗摄| 在线不卡免费欧美| 91精品1区2区| 91在线观看污| 粉嫩aⅴ一区二区三区四区 | 国内精品伊人久久久久av影院 | 亚洲chinese男男1069| 国产日韩精品一区二区浪潮av| 欧美精品xxxxbbbb| 色综合久久中文字幕综合网| 国产精品18久久久| 久久福利资源站| 免费xxxx性欧美18vr| 亚洲成人一二三| 亚洲黄色小说网站| 亚洲欧洲三级电影| 中文字幕一区av| 中文字幕在线不卡一区二区三区| 国产亚洲午夜高清国产拍精品| 亚洲精品一区二区精华| 欧美成人女星排行榜| 欧美一级二级三级乱码| 91精品国产综合久久国产大片| 欧美在线你懂得| 欧美午夜寂寞影院| 欧美日韩国产片| 欧美日本一区二区在线观看| 欧美精品色一区二区三区| 欧美日韩一区不卡| 欧美妇女性影城| 日韩久久免费av| 久久久美女毛片| 欧美激情在线一区二区| 国产精品无遮挡| 亚洲视频一区二区免费在线观看| 亚洲女性喷水在线观看一区| 亚洲精品中文字幕乱码三区| 伊人一区二区三区| 亚洲成人www| 青青草成人在线观看| 黄色日韩网站视频| 成人性视频网站| 色欧美片视频在线观看在线视频| 91久久线看在观草草青青| 欧美裸体一区二区三区| 欧美一区二区免费视频| 亚洲精品一区二区精华| 日韩毛片精品高清免费| 亚洲狠狠爱一区二区三区| 日韩二区三区四区| 国产精品一区一区三区| 91在线观看美女| 69av一区二区三区| 久久先锋影音av鲁色资源| 中文字幕一区二区三区四区| 亚洲一区二区三区激情| 麻豆国产91在线播放| 国产99久久久精品| 在线观看精品一区| 久久一区二区视频| 亚洲精品一二三| 美女脱光内衣内裤视频久久影院| 国产盗摄女厕一区二区三区| 99r精品视频| 日韩一级高清毛片| 国产精品久久久久久久久图文区| 亚洲日本免费电影| 美国av一区二区| 色综合亚洲欧洲| 日韩一区二区三区电影| 亚洲欧美在线观看| 蜜桃精品在线观看| 色婷婷久久久久swag精品| 日韩精品专区在线影院观看| 亚洲欧洲精品成人久久奇米网 | 久草精品在线观看| 91在线看国产| 久久精品日韩一区二区三区| 亚洲电影视频在线| 国产乱理伦片在线观看夜一区| 欧美在线播放高清精品| 久久久久成人黄色影片| 日韩av中文字幕一区二区| 色天使色偷偷av一区二区| 久久综合五月天婷婷伊人| 亚洲国产日产av| 成年人网站91| 亚洲精品一区二区三区影院| 五月天视频一区| 一本到一区二区三区| 国产日韩综合av| 日韩一区精品视频| 在线观看亚洲精品视频| 中文字幕+乱码+中文字幕一区| 日本视频一区二区三区| 在线亚洲欧美专区二区| 中文字幕一区二区三区精华液| 国产精品一区二区三区99| 欧美一卡在线观看| 五月婷婷激情综合| 欧美视频中文字幕| 亚洲女同ⅹxx女同tv| 成人一区二区三区视频| 久久久综合精品| 极品美女销魂一区二区三区免费| 538prom精品视频线放| 亚洲综合无码一区二区| 91亚洲大成网污www| 国产精品麻豆久久久| 岛国精品一区二区| 久久九九全国免费| 国产精品影视在线观看| 日韩免费成人网| 蜜桃av一区二区| 日韩欧美国产wwwww| 久久国产综合精品| 亚洲精品一区二区在线观看| 国产在线一区二区| 久久精品视频一区| 成人动漫一区二区| 国产精品久久久久久亚洲毛片| av中文字幕在线不卡| 中文字幕一区二区三区精华液| 99久久精品国产网站| 亚洲区小说区图片区qvod| 99久久精品免费看| 亚洲乱码国产乱码精品精98午夜| 色婷婷国产精品综合在线观看| 亚洲乱码国产乱码精品精的特点 | 国产成人在线视频播放| 国产欧美中文在线| 一本久道久久综合中文字幕| 亚洲夂夂婷婷色拍ww47| 678五月天丁香亚洲综合网| 久久99精品久久久久婷婷| 欧美精品一区二区三区蜜桃| 狠狠色综合播放一区二区| 国产欧美一区二区三区在线老狼| av中文字幕不卡| 亚洲中国最大av网站| 91精品国产综合久久久久久久 | 欧美美女喷水视频| 美女性感视频久久| 国产欧美日韩在线| 一本高清dvd不卡在线观看| 午夜精品久久久久久不卡8050| 精品成人私密视频| 99久久er热在这里只有精品15 | 久久久久88色偷偷免费| 成人av网址在线|