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

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

?? makefile

?? MatLab圖像傳感器網絡仿真平臺WiSNAP
??
字號:
#--------------------------------------------------------------------------------------------------------
#                                                                                                       
#         **********                                                                                    
#        ************                                                                                   
#       ***        ***                                                                                  
#       ***   +++   ***                                                                                 
#       ***   + +   ***                                                                                
#       ***   +                               CHIPCON CC2420 APPLICATION EXAMPLES
#       ***   + +   ***                              Make file for AVR-GCC
#       ***   +++   ***                                                                                 
#       ***        ***                                                                                 
#        ************                                                                                  
#         **********                                                                                   
#                                                                                                      
#--------------------------------------------------------------------------------------------------------
# Based on the WinAVR sample makefile written by Eric B. Weddington, J鰎g Wunsch, et al.
#
# 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".
#
# Target platform:
#     The default target is the Chipcon CC2420DB. To compile for STK500 + STK501 + CC2400DK, add 
#     "TARGET_PLATFORM=-DSTK501" after "make". Other target platforms can be defined in the same 
#     manner (the target platform definition is used to select between header files in include.h).
#--------------------------------------------------------------------------------------------------------


# MCU name
MCU = atmega128


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


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


# 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


# List C source files here. (C dependencies are automatically generated.)
SRC = $(TARGET).c
SRC += ../../lib/hal/atmega128/hal_wait.c
SRC += ../../lib/hal/hal_rf_set_channel.c
SRC += ../../lib/hal/hal_rf_wait_for_crystal_oscillator.c
SRC += ../../lib/basic_rf/basic_rf_init.c 
SRC += ../../lib/basic_rf/basic_rf_send_packet.c 
SRC += ../../lib/basic_rf/basic_rf_receive.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 = 


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


# 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 = -g -O$(OPT) \
-funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums \
-Wall \
-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),-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


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


TARGET_PLATFORM  = -DCC2420DB

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


# 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

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产在线国偷精品免费看| 成人av免费在线| 国产福利精品一区二区| 在线一区二区三区四区五区| 久久久精品免费免费| 午夜日韩在线电影| 成人av动漫在线| 精品国产sm最大网站免费看 | 日本乱码高清不卡字幕| 日韩欧美中文字幕制服| 一区二区三区在线免费观看| 国产麻豆一精品一av一免费| 欧美成人一级视频| 三级在线观看一区二区| 91豆麻精品91久久久久久| 久久先锋影音av| 麻豆国产精品视频| 欧美老年两性高潮| 亚洲一区二区欧美| 91美女蜜桃在线| 中文成人av在线| 国产麻豆视频一区| 久久久久久久久一| 美女脱光内衣内裤视频久久影院| 欧美日韩视频在线第一区| 一区二区三区中文字幕在线观看| 91亚洲国产成人精品一区二三| 久久久精品欧美丰满| 国产精品一区二区视频| 国产亚洲欧美日韩在线一区| 黄一区二区三区| 久久综合久久综合九色| 毛片av一区二区| 欧美岛国在线观看| 久久99日本精品| 精品国内片67194| 精品一区二区三区免费观看| 精品日韩一区二区| 狠狠色丁香婷婷综合| 久久久精品欧美丰满| 风间由美一区二区三区在线观看| 国产精品乱人伦中文| 成人av网址在线观看| 国产精品国产三级国产普通话三级 | 久久精品视频免费观看| 激情文学综合插| 中文字幕的久久| 色婷婷国产精品综合在线观看| 亚洲精品伦理在线| 欧美日韩黄色一区二区| 日本欧美一区二区三区| 久久美女高清视频| 成人教育av在线| 一区二区三区在线观看国产| 欧美精选一区二区| 激情综合色播激情啊| 日本一区二区综合亚洲| 91久久久免费一区二区| 日日骚欧美日韩| 久久综合视频网| 99久久精品免费| 日韩电影免费在线观看网站| 国产精品自拍在线| 久久久精品影视| 99久久精品情趣| 亚洲成人av资源| 久久午夜免费电影| 色94色欧美sute亚洲线路二| 三级久久三级久久| 国产女同互慰高潮91漫画| 欧美性色aⅴ视频一区日韩精品| 日精品一区二区| 中文字幕视频一区| 日韩欧美在线影院| 波多野结衣精品在线| 日韩国产精品久久久| 欧美国产成人精品| 欧美一区二区三区爱爱| 国产aⅴ综合色| 天天综合天天做天天综合| 国产日韩欧美高清| 日韩色在线观看| 97se狠狠狠综合亚洲狠狠| 久久99久久久欧美国产| 一区二区三区在线观看动漫| 国产视频亚洲色图| 在线播放/欧美激情| av成人免费在线观看| 国内精品自线一区二区三区视频| 尤物av一区二区| 中文字幕第一区二区| 亚洲精品一区在线观看| 欧美狂野另类xxxxoooo| 色一情一伦一子一伦一区| 国产麻豆成人精品| 青娱乐精品在线视频| 一区二区三区国产精华| 国产精品国产自产拍高清av王其 | 91成人看片片| av在线一区二区三区| 久久99精品国产91久久来源| 五月综合激情网| 亚洲一区二区三区中文字幕| 亚洲欧美国产高清| 亚洲国产精品99久久久久久久久| 欧美成人vps| 91精品国产综合久久香蕉的特点| 色综合久久综合网欧美综合网| 成人aaaa免费全部观看| 国产盗摄视频一区二区三区| 黄色资源网久久资源365| 日本vs亚洲vs韩国一区三区| 日韩高清一区在线| 日韩高清在线一区| 日韩精品乱码免费| 免费观看在线综合| 久久99热这里只有精品| 国模一区二区三区白浆| 激情图片小说一区| 丰满少妇在线播放bd日韩电影| 国产精品一区在线| 国产超碰在线一区| 99这里只有精品| 在线亚洲欧美专区二区| 色偷偷一区二区三区| 欧美私人免费视频| 在线不卡免费av| 欧美刺激午夜性久久久久久久| 日韩欧美你懂的| 日本一区二区三区久久久久久久久不| 国产婷婷色一区二区三区| 国产三级三级三级精品8ⅰ区| 国产精品视频九色porn| 亚洲人成在线观看一区二区| 亚洲一本大道在线| 美女任你摸久久| 国产乱子伦视频一区二区三区 | 色综合色综合色综合| 欧美视频精品在线观看| 日韩欧美国产电影| 国产亚洲精品超碰| 亚洲卡通动漫在线| 三级不卡在线观看| 国产乱一区二区| 日本久久一区二区三区| 91麻豆精品国产91久久久| 欧美精品一区二区精品网| 欧美国产在线观看| 亚洲va国产va欧美va观看| 久久99国产精品麻豆| 色综合久久久久综合体桃花网| 欧美日韩久久久久久| 久久这里都是精品| 亚洲精品伦理在线| 激情综合色综合久久| 色哟哟国产精品免费观看| 日韩午夜中文字幕| 亚洲色图欧洲色图| 九色综合国产一区二区三区| 91在线国产观看| 日韩精品中文字幕一区二区三区 | 精品免费日韩av| 国产精品电影院| 美国十次综合导航| 色94色欧美sute亚洲线路二| 欧美精品一区二区三区在线播放 | 亚洲国产精品v| 午夜精品123| 色综合咪咪久久| 国产午夜三级一区二区三| 三级在线观看一区二区| 91网站在线播放| 欧美大度的电影原声| 亚洲一区二区在线免费看| 国产麻豆一精品一av一免费| 3atv在线一区二区三区| 亚洲欧美区自拍先锋| 国产风韵犹存在线视精品| 欧美成人官网二区| 日本aⅴ免费视频一区二区三区 | 精品系列免费在线观看| 一本大道久久a久久综合婷婷| 久久久久久久久久久电影| 蜜臀久久99精品久久久久久9| 精品视频在线免费| 亚洲视频1区2区| 9人人澡人人爽人人精品| 久久青草欧美一区二区三区| 久久超碰97人人做人人爱| 69堂精品视频| 亚洲国产精品嫩草影院| 91免费看片在线观看| 中文字幕制服丝袜一区二区三区 | 九九国产精品视频| 日韩欧美久久一区| 美女视频一区在线观看| 日韩精品在线看片z| 日韩精品免费视频人成| 日韩一区二区三区电影在线观看 | 69堂国产成人免费视频|