Project

General

Profile

Revision 649

The bay board library now compiles, usb communication has been verified. Next commit I will add the source, makefile, and hex for the bootloader. The main.c in charging_bay/main.c now has something I'm working on to be able to switch to bootloader by pushing the button

View differences:

Makefile
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 = m164
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$../libbayboard
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