Subversion Repositories HomeAutomation

Rev

Rev 665 | Rev 698 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 665 Rev 693
Line 38... Line 38...
38
 
38
 
39
 
39
 
40
# MCU name
40
# MCU name
41
#MCU = atmega32
41
#MCU = atmega32
42
#MCU = atmega8
42
#MCU = atmega8
43
MCU = atmega88
43
#MCU = atmega88
44
#MCU = atmega168
44
MCU = atmega168
45
 
45
 
46
 
46
 
47
# Output format. (can be srec, ihex, binary)
47
# Output format. (can be srec, ihex, binary)
48
FORMAT = ihex
48
FORMAT = ihex
49
 
49
 
Line 57... Line 57...
57
SRC =	$(TARGET).c\
57
SRC =	$(TARGET).c\
58
		$(LIBDIR)drivers/uart/serial.c\
58
		$(LIBDIR)drivers/uart/serial.c\
59
		$(LIBDIR)drivers/uart/uart.c\
59
		$(LIBDIR)drivers/uart/uart.c\
60
		$(LIBDIR)drivers/timer/timebase.c\
60
		$(LIBDIR)drivers/timer/timebase.c\
61
		$(LIBDIR)drivers/mcu/mcu.c\
61
		$(LIBDIR)drivers/mcu/mcu.c\
-
 
62
		$(LIBDIR)drivers/can/stdcan.c\
62
		$(LIBDIR)drivers/can/mcp2515/mcp2515.c
63
		$(LIBDIR)drivers/can/mcp2515/mcp2515.c\
63
		
64
		
64
# List Assembler source files here.
65
# List Assembler source files here.
65
# Make them always end in a capital .S.  Files ending in a lowercase .s
66
# Make them always end in a capital .S.  Files ending in a lowercase .s
66
# will not be considered source files but generated files (assembler
67
# will not be considered source files but generated files (assembler
67
# output from the compiler), and will be deleted upon "make clean"!
68
# output from the compiler), and will be deleted upon "make clean"!
Line 83... Line 84...
83
#DEBUG = stabs
84
#DEBUG = stabs
84
DEBUG = dwarf-2
85
DEBUG = dwarf-2
85
 
86
 
86
# List any extra directories to look for include files here.
87
# List any extra directories to look for include files here.
87
#     Each directory must be seperated by a space.
88
#     Each directory must be seperated by a space.
88
EXTRAINCDIRS = $(LIBDIR)drivers/uart $(LIBDIR)drivers/timer $(LIBDIR)drivers/mcu $(LIBDIR)drivers/can/mcp2515/ $(LIBDIR) 
89
EXTRAINCDIRS = $(LIBDIR)drivers/uart $(LIBDIR)drivers/timer $(LIBDIR)drivers/mcu $(LIBDIR)drivers/can/mcp2515/ $(LIBDIR)drivers/can/ $(LIBDIR) 
89
 
90
 
90
# Compiler flag to set the C Standard level.
91
# Compiler flag to set the C Standard level.
91
# c89   - "ANSI" C
92
# c89   - "ANSI" C
92
# gnu89 - c89 plus GCC extensions
93
# gnu89 - c89 plus GCC extensions
93
# c99   - ISO C99 standard (not yet fully implemented)
94
# c99   - ISO C99 standard (not yet fully implemented)