非常优秀的RS485通讯类资料
源代码在线查看: 485.mak
CC = iccavr
CFLAGS = -IC:\icc\include\ -e -DATMEGA -DATMega16 -l -g -Mavr_enhanced
ASFLAGS = $(CFLAGS) -Wa-g
LFLAGS = -LC:\icc\lib\ -g -ucrtatmega.o -bfunc_lit:0x54.0x4000 -dram_end:0x45f -bdata:0x60.0x45f -dhwstk_size:16 -beeprom:1.512 -fihx_coff -S2
FILES = main.o
485: $(FILES)
$(CC) -o 485 $(LFLAGS) @485.lk -lcatmega
main.o: C:/icc/include/iom16v.h C:/icc/include/macros.h D:\avr\+++精华+++\485\485_master/delay.h D:\avr\+++精华+++\485\485_master/1602.h C:/icc/include/macros.h D:\avr\+++精华+++\485\485_master/delay.h D:\avr\+++精华+++\485\485_master/usart.h\
D:\avr\+++精华+++\485\485_master/crc8.h D:\avr\+++精华+++\485\485_master/key.h D:\avr\+++精华+++\485\485_master/delay.h
main.o: D:\avr\+++精华+++\485\485_master\main.c
$(CC) -c $(CFLAGS) D:\avr\+++精华+++\485\485_master\main.c