Revision 742
branches/autonomous_recharging/code/projects/template/Makefile | ||
---|---|---|
8 | 8 |
endif |
9 | 9 |
|
10 | 10 |
# Target file name (without extension). |
11 |
TARGET = template
|
|
11 |
TARGET = main
|
|
12 | 12 |
|
13 | 13 |
# Uncomment this to use the wireless library |
14 | 14 |
# USE_WIRELESS = 1 |
15 | 15 |
|
16 | 16 |
# com1 = serial port. Use lpt1 to connect to parallel port. |
17 |
AVRDUDE_PORT = com4
|
|
17 |
AVRDUDE_PORT = com3
|
|
18 | 18 |
# |
19 | 19 |
# |
20 | 20 |
################################### |
... | ... | |
65 | 65 |
#-DFFPP |
66 | 66 |
|
67 | 67 |
# MCU name |
68 |
MCU = atmega128
|
|
68 |
MCU = atmega164p
|
|
69 | 69 |
|
70 | 70 |
# Processor frequency. |
71 | 71 |
# This will define a symbol, F_CPU, in all source code files equal to the |
... | ... | |
116 | 116 |
endif |
117 | 117 |
|
118 | 118 |
# Place -I, -L options here |
119 |
CINCS = -I$(COLONYROOT)/code/lib/include/libdragonfly
|
|
120 |
CINCS += -L$(COLONYROOT)/code/lib/bin
|
|
119 |
CINCS = -I../libbayboard
|
|
120 |
CINCS += -L../libbayboard
|
|
121 | 121 |
ifdef USE_WIRELESS |
122 | 122 |
CINCS += -I$(COLONYROOT)/code/lib/include/libwireless |
123 | 123 |
endif |
... | ... | |
196 | 196 |
ifdef USE_WIRELESS |
197 | 197 |
LDFLAGS += -lwireless |
198 | 198 |
endif |
199 |
LDFLAGS += -ldragonfly
|
|
199 |
LDFLAGS += -lbayboard
|
|
200 | 200 |
|
201 | 201 |
|
202 | 202 |
|
... | ... | |
230 | 230 |
# to submit bug reports. |
231 | 231 |
#AVRDUDE_VERBOSE = -v -v |
232 | 232 |
|
233 |
AVRDUDE_FLAGS = -p $(MCU) -P $(AVRDUDE_PORT) -c $(AVRDUDE_PROGRAMMER)
|
|
233 |
AVRDUDE_FLAGS = -p m164 -P $(AVRDUDE_PORT) -c $(AVRDUDE_PROGRAMMER)
|
|
234 | 234 |
AVRDUDE_FLAGS += $(AVRDUDE_NO_VERIFY) |
235 | 235 |
AVRDUDE_FLAGS += $(AVRDUDE_VERBOSE) |
236 | 236 |
AVRDUDE_FLAGS += $(AVRDUDE_ERASE_COUNTER) |
Also available in: Unified diff