Subversion Repositories HomeAutomation

Rev

Rev 187 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 187 Rev 245
Line 68... Line 68...
68
		$(LIBDIR)mcu/serial.c\
68
		$(LIBDIR)mcu/serial.c\
69
		$(LIBDIR)mcu/uart.c\
69
		$(LIBDIR)mcu/uart.c\
70
		$(LIBDIR)mcu/timebase.c\
70
		$(LIBDIR)mcu/timebase.c\
71
		$(LIBDIR)can/can.c\
71
		$(LIBDIR)can/can.c\
72
		$(LIBDIR)can/mcp2515/mcp2515.c\
72
		$(LIBDIR)can/mcp2515/mcp2515.c\
73
		$(LIBDIR)temperature/tc1047/tc1047.c\
73
		$(LIBDIR)sensor/tc1047/tc1047.c\
74
 
74
 
75
# List Assembler source files here.
75
# List Assembler source files here.
76
# Make them always end in a capital .S.  Files ending in a lowercase .s
76
# Make them always end in a capital .S.  Files ending in a lowercase .s
77
# will not be considered source files but generated files (assembler
77
# will not be considered source files but generated files (assembler
78
# output from the compiler), and will be deleted upon "make clean"!
78
# output from the compiler), and will be deleted upon "make clean"!
Line 94... Line 94...
94
#DEBUG = stabs
94
#DEBUG = stabs
95
DEBUG = dwarf-2
95
DEBUG = dwarf-2
96
 
96
 
97
# List any extra directories to look for include files here.
97
# List any extra directories to look for include files here.
98
#     Each directory must be seperated by a space.
98
#     Each directory must be seperated by a space.
99
EXTRAINCDIRS = $(LIBDIR)/can $(LIBDIR)/can/mcp2515 $(LIBDIR)/mcu $(LIBDIR)/lcd $(LIBDIR)/../funcdefs $(LIBDIR)/temperature/tc1047 
99
EXTRAINCDIRS = 	$(LIBDIR)/can\
-
 
100
				$(LIBDIR)/can/mcp2515\
-
 
101
				$(LIBDIR)/mcu\
-
 
102
				$(LIBDIR)/lcd\
-
 
103
				$(LIBDIR)/../funcdefs\
-
 
104
				$(LIBDIR)/sensor/tc1047 
100
 
105
 
101
# Compiler flag to set the C Standard level.
106
# Compiler flag to set the C Standard level.
102
# c89   - "ANSI" C
107
# c89   - "ANSI" C
103
# gnu89 - c89 plus GCC extensions
108
# gnu89 - c89 plus GCC extensions
104
# c99   - ISO C99 standard (not yet fully implemented)
109
# c99   - ISO C99 standard (not yet fully implemented)
Line 196... Line 201...
196
# to get a full listing.
201
# to get a full listing.
197
#
202
#
198
AVRDUDE_PROGRAMMER = avrispv2
203
AVRDUDE_PROGRAMMER = avrispv2
199
 
204
 
200
# com1 = serial port. Use lpt1 to connect to parallel port.
205
# com1 = serial port. Use lpt1 to connect to parallel port.
201
AVRDUDE_PORT = com1    # programmer connected to serial device
206
AVRDUDE_PORT = /dev/ttyUSB0    # programmer connected to serial device
202
AVRDUDE_BAUD = 115200
207
AVRDUDE_BAUD = 115200
203
 
208
 
204
AVRDUDE_WRITE_FLASH = -U flash:w:$(TARGET).hex
209
AVRDUDE_WRITE_FLASH = -U flash:w:$(TARGET).hex
205
#AVRDUDE_WRITE_EEPROM = -U eeprom:w:$(TARGET).eep
210
#AVRDUDE_WRITE_EEPROM = -U eeprom:w:$(TARGET).eep
206
 
211