X-Git-Url: http://git.smho.de/gw/?p=owSlave2.git;a=blobdiff_plain;f=DS18B20_VOC_DS2438_SHT%2FMakefile;fp=DS18B20_VOC_DS2438_SHT%2FMakefile;h=a74fade63e4c0c4db4d69cf28f567d4640156c5c;hp=5b3f725ac152a9bfc2360b55f658e77ea045b8f3;hb=04b32ce80b8efbf29133a6a08ee8967c57576e68;hpb=5398c69061a72e7a6ad3423c4e17516ee6d09de6 diff --git a/DS18B20_VOC_DS2438_SHT/Makefile b/DS18B20_VOC_DS2438_SHT/Makefile index 5b3f725..a74fade 100644 --- a/DS18B20_VOC_DS2438_SHT/Makefile +++ b/DS18B20_VOC_DS2438_SHT/Makefile @@ -7,8 +7,8 @@ MCU = attiny84 FORMAT = ihex -TARGET = DS18B20_VOC_DS2438_SHT -SRC = ../common/calibr.c DS18B20_DS2438.c ../common/I2C/SHT2x.c ../common/I2C/MAX1164x.c ../common/I2C/USI_TWI_Master.c +TARGET =DS18B20_VOC_DS2438_SHT +SRC = ../common/calibr.c ../common/I2C/SHT2x.c ../common/I2C/MAX1164x.c ../common/I2C/USI_TWI_Master.c DS18B20_DS2438.c ASRC = ../common/OWDS18B20_DS2438.S # Name of this Makefile (used for "make depend"). @@ -58,10 +58,10 @@ LDFLAGS = -Wl,--start-group -Wl,-lm -Wl,--end-group -Wl,--gc-sections -mmcu=$(M # Programming support using avrdude. Settings and variables. -AVRDUDE_PROGRAMMER = stk500 -AVRDUDE_PORT = /dev/term/a +#AVRDUDE_PROGRAMMER = stk500 +#AVRDUDE_PORT = /dev/term/a -AVRDUDE_WRITE_FLASH = -U flash:w:$(TARGET).hex +#AVRDUDE_WRITE_FLASH = -U flash:w:$(TARGET).hex #AVRDUDE_WRITE_EEPROM = -U eeprom:w:$(TARGET).eep @@ -79,8 +79,8 @@ AVRDUDE_WRITE_FLASH = -U flash:w:$(TARGET).hex # to submit bug reports. #AVRDUDE_VERBOSE = -v -v -AVRDUDE_BASIC = -p $(MCU) -P $(AVRDUDE_PORT) -c $(AVRDUDE_PROGRAMMER) -AVRDUDE_FLAGS = $(AVRDUDE_BASIC) $(AVRDUDE_NO_VERIFY) $(AVRDUDE_VERBOSE) $(AVRDUDE_ERASE_COUNTER) +#AVRDUDE_BASIC = -p $(MCU) -P $(AVRDUDE_PORT) -c $(AVRDUDE_PROGRAMMER) +#AVRDUDE_FLAGS = $(AVRDUDE_BASIC) $(AVRDUDE_NO_VERIFY) $(AVRDUDE_VERBOSE) $(AVRDUDE_ERASE_COUNTER) CC = avr-gcc @@ -88,7 +88,7 @@ OBJCOPY = avr-objcopy OBJDUMP = avr-objdump SIZE = avr-size NM = avr-nm -AVRDUDE = avrdude +#AVRDUDE = avrdude REMOVE = rm -f MV = mv -f @@ -111,7 +111,7 @@ build: elf hex eep elf: $(TARGET).elf hex: $(TARGET).hex -eep: $(TARGET).eep +#eep: $(TARGET).eep lss: $(TARGET).lss sym: $(TARGET).sym @@ -142,7 +142,8 @@ extcoff: $(TARGET).elf .SUFFIXES: .elf .hex .eep .lss .sym .elf.hex: - $(OBJCOPY) -O $(FORMAT) -R .eeprom $< $@ + $(OBJCOPY) -O $(FORMAT) $< $@ +# $(OBJCOPY) -O $(FORMAT) -R .eeprom $< $@ .elf.eep: -$(OBJCOPY) -j .eeprom --set-section-flags=.eeprom="alloc,load" \