Subversion Repositories HomeAutomation

Rev

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

Rev 325 Rev 355
Line 42... Line 42...
42
MCU = atmega8
42
MCU = atmega8
43
#MCU = atmega16
43
#MCU = atmega16
44
 
44
 
45
 
45
 
46
# Main Oscillator Frequency
46
# Main Oscillator Frequency
47
F_OSC = 8000000
47
F_CPU = 8000000
48
##F_OSC = 1000000
48
##F_OSC = 1000000
49
##F_OSC = 1843200
49
##F_OSC = 1843200
50
##F_OSC = 2000000
50
##F_OSC = 2000000
51
##F_OSC = 3686400
51
##F_OSC = 3686400
52
##F_OSC = 4000000
52
##F_OSC = 4000000
Line 125... Line 125...
125
CFLAGS += -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums
125
CFLAGS += -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums
126
CFLAGS += -Wall -Wstrict-prototypes
126
CFLAGS += -Wall -Wstrict-prototypes
127
CFLAGS += -Wa,-adhlns=$(<:.c=.lst)
127
CFLAGS += -Wa,-adhlns=$(<:.c=.lst)
128
CFLAGS += $(patsubst %,-I%,$(EXTRAINCDIRS))
128
CFLAGS += $(patsubst %,-I%,$(EXTRAINCDIRS))
129
CFLAGS += $(CSTANDARD)
129
CFLAGS += $(CSTANDARD)
130
CFLAGS += -DF_OSC=$(F_OSC)
130
CFLAGS += -DF_CPU=$(F_CPU)
131
 
131
 
132
 
132
 
133
 
133
 
134
# Assembler flags.
134
# Assembler flags.
135
#  -Wa,...:   tell GCC to pass this to the assembler.
135
#  -Wa,...:   tell GCC to pass this to the assembler.