Project

General

Profile

Revision 1390

Added by Rich Hong about 9 years ago

fixes #570 avrdude port detection

View differences:

trunk/code/tools/eeprom/Makefile
14 14
USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = /dev/ttyUSB0
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#
19 19
#
20 20
###################################
trunk/code/behaviors/bfs_fsm/test_decoy/Makefile
14 14
USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = com7
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#/dev/tty.usbserial*
19 19
#
20 20
#
trunk/code/behaviors/bfs_fsm/Makefile
14 14
USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = com9
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#/dev/tty.usbserial*
19 19
#
20 20
#
trunk/code/behaviors/orbit_fsm/decoy/Makefile
14 14
USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = com7
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#/dev/tty.usbserial*
19 19
#
20 20
#
trunk/code/behaviors/orbit_fsm/Makefile
14 14
USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = com7
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#/dev/tty.usbserial*
19 19
#
20 20
#
trunk/code/behaviors/lemmings/Makefile
14 14
USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = com9
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#/dev/tty.usbserial*
19 19
#
20 20
#
trunk/code/projects/test/Makefile
14 14
USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = /dev/ttyUSB0
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#
19 19
#
20 20
###################################
trunk/code/projects/autonomous_recharging/archs/Makefile
201 201
AVRDUDE_PROGRAMMER = avrisp
202 202

  
203 203
# com1 = serial port. Use lpt1 to connect to parallel port.
204
AVRDUDE_PORT = com1

204
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
205 205
# programmer connected to serial device
206 206

  
207 207
AVRDUDE_WRITE_FLASH = -b 4800 -U flash:w:$(TARGET).hex
trunk/code/projects/colonet/robot/joystick/discrete_control/Makefile
14 14
 USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = /dev/ttyUSB0
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#
19 19
#
20 20
###################################
trunk/code/projects/colonet/robot/joystick/simple_slave/Makefile
14 14
 USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = /dev/ttyUSB0
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#
19 19
#
20 20
###################################
trunk/code/projects/colonet/robot/joystick/continuous_control/Makefile
14 14
 USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = /dev/ttyUSB0
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#
19 19
#
20 20
###################################
trunk/code/projects/colonet/robot/joystick/keyboard_slave/Makefile
14 14
 USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = /dev/ttyUSB0
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#
19 19
#
20 20
###################################
trunk/code/projects/colonet/robot/robot_slave/Makefile
14 14
USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = /dev/ttyUSB1
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#AVRDUDE_PORT = /dev/ttyUSB0
19 19
#AVRDUDE_PORT = /dev/ttyUSB2
20 20

  
trunk/code/projects/colonet/robot/dragonfly_wireless_relay/Makefile
209 209
AVRDUDE_PROGRAMMER = avrisp
210 210

  
211 211
# com1 = serial port. Use lpt1 to connect to parallel port.
212
AVRDUDE_PORT = /dev/ttyUSB0

212
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
213 213
# programmer connected to serial device
214 214

  
215 215
AVRDUDE_WRITE_FLASH = -b 57600 -U flash:w:$(TARGET).hex
trunk/code/projects/colonet/server/manual_control/manualControlRobot/Makefile
208 208
AVRDUDE_PROGRAMMER = avrisp
209 209

  
210 210
# com1 = serial port. Use lpt1 to connect to parallel port.
211
AVRDUDE_PORT = com1

211
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
212 212
# programmer connected to serial device
213 213

  
214 214
AVRDUDE_WRITE_FLASH = -b 9600 -U flash:w:$(TARGET).hex
trunk/code/projects/colonet/server/manual_control/manualControlServer/Makefile
6 6
	gcc -I ../../wireless manualControlServer.c -o manualControlServer
7 7

  
8 8
clean: 
9
	rm -rf *o manualControlServer
9
	rm -rf *o manualControlServer
trunk/code/projects/libwireless/jni/robot_test/Makefile
211 211
AVRDUDE_PROGRAMMER = avrisp
212 212

  
213 213
# com1 = serial port. Use lpt1 to connect to parallel port.
214
AVRDUDE_PORT = /dev/ttyUSB1

214
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
215 215
# programmer connected to serial device
216 216

  
217 217
AVRDUDE_WRITE_FLASH = -b 57600 -U flash:w:$(TARGET).hex
trunk/code/projects/libwireless/robotTest/Makefile
211 211
AVRDUDE_PROGRAMMER = avrisp
212 212

  
213 213
# com1 = serial port. Use lpt1 to connect to parallel port.
214
AVRDUDE_PORT = /dev/ttyUSB1

214
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
215 215
# programmer connected to serial device
216 216

  
217 217
AVRDUDE_WRITE_FLASH = -b 57600 -U flash:w:$(TARGET).hex
trunk/code/projects/diagnostic_station/station/Makefile
15 15
USE_WIRELESS = 1
16 16

  
17 17
# com1 = serial port. Use lpt1 to connect to parallel port.
18
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB1'; fi)
18
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
19 19
#
20 20
#
21 21
###################################
trunk/code/projects/object_manipulation/obj_detect_swarm/Makefile
14 14
USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = com2
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#/dev/tty.usbserial*
19 19
#
20 20
#
trunk/code/projects/mapping/test/Makefile
14 14
USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = /dev/cu.usbserial-A4001hAA
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#
19 19
#
20 20
###################################
trunk/code/projects/mapping/matlab/testRobot/Makefile
14 14
USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = /dev/ttyUSB0
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#
19 19
#
20 20
###################################
trunk/code/projects/mapping/python/Makefile
9 9
	$(CC) $(CFLAGS) $(INCS) $(DEFS) ../../libwireless/lib/*.c server.c netserv.c robots.c -o server
10 10

  
11 11
clean :
12
	rm -f server
12
	rm -f server
trunk/code/projects/mapping/odometry/Makefile
13 13
USE_WIRELESS = 1
14 14

  
15 15
# com1 = serial port. Use lpt1 to connect to parallel port.
16
AVRDUDE_PORT = /dev/ttyUSB0
16
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
17 17
#
18 18
#
19 19
###################################
trunk/code/projects/mapping/new_run_around/Makefile
14 14
USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = $(shell if uname -s | grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#
19 19
#
20 20
###################################
trunk/code/projects/mapping/auto/Makefile
14 14
USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = /dev/ttyUSB0
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#
19 19
#
20 20
###################################
trunk/code/projects/mapping/drive/Makefile
14 14
USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = /dev/ttyUSB0
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#
19 19
#
20 20
###################################
trunk/code/projects/girlscouts/Makefile
14 14
# USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = /dev/ttyUSB0
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#
19 19
#
20 20
###################################
branches/rbom/code/projects/autonomous_recharging/archs/Makefile
201 201
AVRDUDE_PROGRAMMER = avrisp
202 202

  
203 203
# com1 = serial port. Use lpt1 to connect to parallel port.
204
AVRDUDE_PORT = com1

204
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
205 205
# programmer connected to serial device
206 206

  
207 207
AVRDUDE_WRITE_FLASH = -b 4800 -U flash:w:$(TARGET).hex
branches/rbom/code/projects/colonet/utilities/robot_slave/Makefile
14 14
USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = /dev/ttyUSB1
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#
19 19
#
20 20
###################################
branches/rbom/code/projects/colonet/utilities/manual_control/manualControlRobot/Makefile
208 208
AVRDUDE_PROGRAMMER = avrisp
209 209

  
210 210
# com1 = serial port. Use lpt1 to connect to parallel port.
211
AVRDUDE_PORT = com1

211
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
212 212
# programmer connected to serial device
213 213

  
214 214
AVRDUDE_WRITE_FLASH = -b 9600 -U flash:w:$(TARGET).hex
branches/rbom/code/projects/colonet/utilities/manual_control/manualControlServer/Makefile
6 6
	gcc -I ../../wireless manualControlServer.c -o manualControlServer
7 7

  
8 8
clean: 
9
	rm -rf *o manualControlServer
9
	rm -rf *o manualControlServer
branches/rbom/code/projects/colonet/utilities/dragonfly_wireless_relay/Makefile
209 209
AVRDUDE_PROGRAMMER = avrisp
210 210

  
211 211
# com1 = serial port. Use lpt1 to connect to parallel port.
212
AVRDUDE_PORT = /dev/ttyUSB0

212
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
213 213
# programmer connected to serial device
214 214

  
215 215
AVRDUDE_WRITE_FLASH = -b 57600 -U flash:w:$(TARGET).hex
branches/rbom/code/projects/colonet/utilities/robot_wireless_relay/Makefile
208 208
AVRDUDE_PROGRAMMER = avrisp
209 209

  
210 210
# com1 = serial port. Use lpt1 to connect to parallel port.
211
AVRDUDE_PORT = com1

211
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
212 212
# programmer connected to serial device
213 213

  
214 214
AVRDUDE_WRITE_FLASH = -b 9600 -U flash:w:$(TARGET).hex
branches/rbom/code/projects/colonet/testing/robot_routine_reg_test/Makefile
201 201
AVRDUDE_PROGRAMMER = avrisp
202 202

  
203 203
# com1 = serial port. Use lpt1 to connect to parallel port.
204
AVRDUDE_PORT = com1

204
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
205 205
# programmer connected to serial device
206 206

  
207 207
AVRDUDE_WRITE_FLASH = -b 9600 -U flash:w:$(TARGET).hex
branches/rbom/code/projects/colonet/testing/dongle/robot_receiver/Makefile
208 208
AVRDUDE_PROGRAMMER = avrisp
209 209

  
210 210
# com1 = serial port. Use lpt1 to connect to parallel port.
211
AVRDUDE_PORT = com1

211
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
212 212
# programmer connected to serial device
213 213

  
214 214
AVRDUDE_WRITE_FLASH = -b 9600 -U flash:w:$(TARGET).hex
branches/rbom/code/projects/colonet/testing/wl_network_colonet/Makefile
202 202
AVRDUDE_PROGRAMMER = avrisp
203 203

  
204 204
# com1 = serial port. Use lpt1 to connect to parallel port.
205
AVRDUDE_PORT = com1

205
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
206 206
# programmer connected to serial device
207 207

  
208 208
AVRDUDE_WRITE_FLASH = -b 9600 -U flash:w:$(TARGET).hex
branches/rbom/code/projects/libwireless/robotTest/Makefile
211 211
AVRDUDE_PROGRAMMER = avrisp
212 212

  
213 213
# com1 = serial port. Use lpt1 to connect to parallel port.
214
AVRDUDE_PORT = /dev/ttyUSB0

214
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
215 215
# programmer connected to serial device
216 216

  
217 217
AVRDUDE_WRITE_FLASH = -b 57600 -U flash:w:$(TARGET).hex
branches/rbom/code/projects/template/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 = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#
19 19
#
20 20
###################################
branches/rbom/code/projects/slam/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 = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18

  
19 19
robot: all
20 20
	TARGET = robot_main
branches/simulator/projects/smart_run_around/Makefile
3 3
#
4 4

  
5 5
# COMX in Windows. /dev/ttyUSBX in Linux.
6
AVRDUDE_PORT = /dev/ttyUSB0
6
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
7 7

  
8 8
# Target file name (without extension).
9 9
TARGET = template
branches/simulator/projects/libwireless/robotTest/Makefile
211 211
AVRDUDE_PROGRAMMER = avrisp
212 212

  
213 213
# com1 = serial port. Use lpt1 to connect to parallel port.
214
AVRDUDE_PORT = /dev/ttyUSB0

214
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
215 215
# programmer connected to serial device
216 216

  
217 217
AVRDUDE_WRITE_FLASH = -b 57600 -U flash:w:$(TARGET).hex
branches/simulator/projects/template/Makefile
3 3
#
4 4

  
5 5
# COMX in Windows. /dev/ttyUSBX in Linux.
6
AVRDUDE_PORT = /dev/ttyUSB0
6
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
7 7

  
8 8
# Target file name (without extension).
9 9
TARGET = template
branches/analog/code/tools/eeprom/Makefile
14 14
USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = /dev/ttyUSB0
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#
19 19
#
20 20
###################################
branches/analog/code/behaviors/bfs_fsm/test_decoy/Makefile
14 14
USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = com7
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#/dev/tty.usbserial*
19 19
#
20 20
#
branches/analog/code/behaviors/bfs_fsm/Makefile
14 14
USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = com9
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#/dev/tty.usbserial*
19 19
#
20 20
#
branches/analog/code/behaviors/orbit_fsm/decoy/Makefile
14 14
USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = com7
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#/dev/tty.usbserial*
19 19
#
20 20
#
branches/analog/code/behaviors/orbit_fsm/Makefile
14 14
USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = com7
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#/dev/tty.usbserial*
19 19
#
20 20
#
branches/analog/code/behaviors/lemmings/Makefile
14 14
USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = com9
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#/dev/tty.usbserial*
19 19
#
20 20
#
branches/analog/code/projects/test/Makefile
14 14
USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = /dev/ttyUSB0
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#
19 19
#
20 20
###################################
branches/analog/code/projects/autonomous_recharging/archs/Makefile
201 201
AVRDUDE_PROGRAMMER = avrisp
202 202

  
203 203
# com1 = serial port. Use lpt1 to connect to parallel port.
204
AVRDUDE_PORT = com1

204
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
205 205
# programmer connected to serial device
206 206

  
207 207
AVRDUDE_WRITE_FLASH = -b 4800 -U flash:w:$(TARGET).hex
branches/analog/code/projects/colonet/robot/joystick/discrete_control/Makefile
14 14
 USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = /dev/ttyUSB0
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#
19 19
#
20 20
###################################
branches/analog/code/projects/colonet/robot/joystick/simple_slave/Makefile
14 14
 USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = /dev/ttyUSB0
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#
19 19
#
20 20
###################################
branches/analog/code/projects/colonet/robot/joystick/continuous_control/Makefile
14 14
 USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = /dev/ttyUSB0
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#
19 19
#
20 20
###################################
branches/analog/code/projects/colonet/robot/joystick/keyboard_slave/Makefile
14 14
 USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = /dev/ttyUSB0
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#
19 19
#
20 20
###################################
branches/analog/code/projects/colonet/robot/robot_slave/Makefile
14 14
USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = /dev/ttyUSB1
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#AVRDUDE_PORT = /dev/ttyUSB0
19 19
#AVRDUDE_PORT = /dev/ttyUSB2
20 20

  
branches/analog/code/projects/colonet/robot/dragonfly_wireless_relay/Makefile
209 209
AVRDUDE_PROGRAMMER = avrisp
210 210

  
211 211
# com1 = serial port. Use lpt1 to connect to parallel port.
212
AVRDUDE_PORT = /dev/ttyUSB0

212
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
213 213
# programmer connected to serial device
214 214

  
215 215
AVRDUDE_WRITE_FLASH = -b 57600 -U flash:w:$(TARGET).hex
branches/analog/code/projects/colonet/server/manual_control/manualControlRobot/Makefile
208 208
AVRDUDE_PROGRAMMER = avrisp
209 209

  
210 210
# com1 = serial port. Use lpt1 to connect to parallel port.
211
AVRDUDE_PORT = com1

211
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
212 212
# programmer connected to serial device
213 213

  
214 214
AVRDUDE_WRITE_FLASH = -b 9600 -U flash:w:$(TARGET).hex
branches/analog/code/projects/colonet/server/manual_control/manualControlServer/Makefile
6 6
	gcc -I ../../wireless manualControlServer.c -o manualControlServer
7 7

  
8 8
clean: 
9
	rm -rf *o manualControlServer
9
	rm -rf *o manualControlServer
branches/analog/code/projects/libwireless/jni/robot_test/Makefile
211 211
AVRDUDE_PROGRAMMER = avrisp
212 212

  
213 213
# com1 = serial port. Use lpt1 to connect to parallel port.
214
AVRDUDE_PORT = /dev/ttyUSB1

214
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
215 215
# programmer connected to serial device
216 216

  
217 217
AVRDUDE_WRITE_FLASH = -b 57600 -U flash:w:$(TARGET).hex
branches/analog/code/projects/libwireless/robotTest/Makefile
211 211
AVRDUDE_PROGRAMMER = avrisp
212 212

  
213 213
# com1 = serial port. Use lpt1 to connect to parallel port.
214
AVRDUDE_PORT = /dev/ttyUSB1

214
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
215 215
# programmer connected to serial device
216 216

  
217 217
AVRDUDE_WRITE_FLASH = -b 57600 -U flash:w:$(TARGET).hex
branches/analog/code/projects/diagnostic_station/station/Makefile
15 15
USE_WIRELESS = 1
16 16

  
17 17
# com1 = serial port. Use lpt1 to connect to parallel port.
18
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB1'; fi)
18
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
19 19
#
20 20
#
21 21
###################################
branches/analog/code/projects/object_manipulation/obj_detect_swarm/Makefile
14 14
USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = com2
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#/dev/tty.usbserial*
19 19
#
20 20
#
branches/analog/code/projects/mapping/test/Makefile
14 14
USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = /dev/cu.usbserial-A4001hAA
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#
19 19
#
20 20
###################################
branches/analog/code/projects/mapping/matlab/testRobot/Makefile
14 14
USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = /dev/ttyUSB0
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#
19 19
#
20 20
###################################
branches/analog/code/projects/mapping/python/Makefile
9 9
	$(CC) $(CFLAGS) $(INCS) $(DEFS) ../../libwireless/lib/*.c server.c netserv.c robots.c -o server
10 10

  
11 11
clean :
12
	rm -f server
12
	rm -f server
branches/analog/code/projects/mapping/odometry/Makefile
13 13
USE_WIRELESS = 1
14 14

  
15 15
# com1 = serial port. Use lpt1 to connect to parallel port.
16
AVRDUDE_PORT = /dev/ttyUSB0
16
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
17 17
#
18 18
#
19 19
###################################
branches/analog/code/projects/mapping/new_run_around/Makefile
14 14
USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = $(shell if uname -s | grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#
19 19
#
20 20
###################################
branches/analog/code/projects/mapping/auto/Makefile
14 14
USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = /dev/ttyUSB0
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#
19 19
#
20 20
###################################
branches/analog/code/projects/mapping/drive/Makefile
14 14
USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = /dev/ttyUSB0
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#
19 19
#
20 20
###################################
branches/analog/code/projects/girlscouts/Makefile
14 14
# USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = /dev/ttyUSB0
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#
19 19
#
20 20
###################################
branches/autonomous_recharging/code/projects/Test/Makefile
14 14
#USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = com5
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#
19 19
#
20 20
###################################
branches/autonomous_recharging/code/projects/autonomous_recharging/archs/test/Makefile
201 201
AVRDUDE_PROGRAMMER = avrisp
202 202

  
203 203
# com1 = serial port. Use lpt1 to connect to parallel port.
204
AVRDUDE_PORT = com1

204
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
205 205
# programmer connected to serial device
206 206

  
207 207
AVRDUDE_WRITE_FLASH = -b 4800 -U flash:w:$(TARGET).hex
branches/autonomous_recharging/code/projects/autonomous_recharging/archs/Makefile
201 201
AVRDUDE_PROGRAMMER = avrisp
202 202

  
203 203
# com1 = serial port. Use lpt1 to connect to parallel port.
204
AVRDUDE_PORT = com1

204
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
205 205
# programmer connected to serial device
206 206

  
207 207
AVRDUDE_WRITE_FLASH = -b 4800 -U flash:w:$(TARGET).hex
branches/autonomous_recharging/code/projects/autonomous_recharging/charging_station/Makefile
202 202
AVRDUDE_PROGRAMMER = avrisp
203 203

  
204 204
# com1 = serial port. Use lpt1 to connect to parallel port.
205
AVRDUDE_PORT = /dev/ttyUSB0

205
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
206 206
# programmer connected to serial device
207 207

  
208 208
AVRDUDE_WRITE_FLASH = -b 9600 -U flash:w:$(TARGET).hex
branches/autonomous_recharging/code/projects/autonomous_recharging/dragonfly/Makefile
15 15
 USE_WIRELESS = 1
16 16

  
17 17
# com1 = serial port. Use lpt1 to connect to parallel port.
18
AVRDUDE_PORT = /dev/ttyUSB0
18
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
19 19
#
20 20
#
21 21
###################################
branches/autonomous_recharging/code/projects/colonet/utilities/robot_slave/Makefile
210 210
AVRDUDE_PROGRAMMER = avrisp
211 211

  
212 212
# com1 = serial port. Use lpt1 to connect to parallel port.
213
AVRDUDE_PORT = /dev/ttyUSB1 #com4

213
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
214 214
# programmer connected to serial device
215 215

  
216 216
AVRDUDE_WRITE_FLASH = -b 57600 -U flash:w:$(TARGET).hex
branches/autonomous_recharging/code/projects/colonet/utilities/manual_control/manualControlRobot/Makefile
208 208
AVRDUDE_PROGRAMMER = avrisp
209 209

  
210 210
# com1 = serial port. Use lpt1 to connect to parallel port.
211
AVRDUDE_PORT = com1

211
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
212 212
# programmer connected to serial device
213 213

  
214 214
AVRDUDE_WRITE_FLASH = -b 9600 -U flash:w:$(TARGET).hex
branches/autonomous_recharging/code/projects/colonet/utilities/manual_control/manualControlServer/Makefile
6 6
	gcc -I ../../wireless manualControlServer.c -o manualControlServer
7 7

  
8 8
clean: 
9
	rm -rf *o manualControlServer
9
	rm -rf *o manualControlServer
branches/autonomous_recharging/code/projects/colonet/utilities/dragonfly_wireless_relay/Makefile
209 209
AVRDUDE_PROGRAMMER = avrisp
210 210

  
211 211
# com1 = serial port. Use lpt1 to connect to parallel port.
212
AVRDUDE_PORT = /dev/ttyUSB0

212
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
213 213
# programmer connected to serial device
214 214

  
215 215
AVRDUDE_WRITE_FLASH = -b 57600 -U flash:w:$(TARGET).hex
branches/autonomous_recharging/code/projects/colonet/utilities/robot_wireless_relay/Makefile
208 208
AVRDUDE_PROGRAMMER = avrisp
209 209

  
210 210
# com1 = serial port. Use lpt1 to connect to parallel port.
211
AVRDUDE_PORT = com1

211
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
212 212
# programmer connected to serial device
213 213

  
214 214
AVRDUDE_WRITE_FLASH = -b 9600 -U flash:w:$(TARGET).hex
branches/autonomous_recharging/code/projects/colonet/testing/robot_routine_reg_test/Makefile
201 201
AVRDUDE_PROGRAMMER = avrisp
202 202

  
203 203
# com1 = serial port. Use lpt1 to connect to parallel port.
204
AVRDUDE_PORT = com1

204
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
205 205
# programmer connected to serial device
206 206

  
207 207
AVRDUDE_WRITE_FLASH = -b 9600 -U flash:w:$(TARGET).hex
branches/autonomous_recharging/code/projects/colonet/testing/dongle/robot_receiver/Makefile
208 208
AVRDUDE_PROGRAMMER = avrisp
209 209

  
210 210
# com1 = serial port. Use lpt1 to connect to parallel port.
211
AVRDUDE_PORT = com1

211
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
212 212
# programmer connected to serial device
213 213

  
214 214
AVRDUDE_WRITE_FLASH = -b 9600 -U flash:w:$(TARGET).hex
branches/autonomous_recharging/code/projects/colonet/testing/wl_network_colonet/Makefile
202 202
AVRDUDE_PROGRAMMER = avrisp
203 203

  
204 204
# com1 = serial port. Use lpt1 to connect to parallel port.
205
AVRDUDE_PORT = com1

205
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
206 206
# programmer connected to serial device
207 207

  
208 208
AVRDUDE_WRITE_FLASH = -b 9600 -U flash:w:$(TARGET).hex
branches/autonomous_recharging/code/projects/libwireless/bayboardTest/Makefile
14 14
USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = COM9
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#
19 19
#
20 20
###################################
branches/autonomous_recharging/code/projects/libwireless/robotTest/Makefile
211 211
AVRDUDE_PROGRAMMER = avrisp
212 212

  
213 213
# com1 = serial port. Use lpt1 to connect to parallel port.
214
AVRDUDE_PORT = /dev/ttyUSB1

214
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
215 215
# programmer connected to serial device
216 216

  
217 217
AVRDUDE_WRITE_FLASH = -b 57600 -U flash:w:$(TARGET).hex
branches/autonomous_recharging/code/projects/template/Makefile
14 14
# USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = com3
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#
19 19
#
20 20
###################################
branches/autonomous_recharging/code/projects/slam/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 = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18

  
19 19
robot: all
20 20
	TARGET = robot_main
branches/autonomous_recharging/code/projects/charging_bay/Makefile
14 14
# USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = com3
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#
19 19
#
20 20
###################################
branches/encoders/code/behaviors/spline/slave/Makefile
14 14
 USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = /dev/ttyUSB0
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#
19 19
#
20 20
###################################
branches/encoders/code/behaviors/spline/master/Makefile
14 14
 USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = /dev/ttyUSB0
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#
19 19
#
20 20
###################################
branches/encoders/code/behaviors/encoder_test/Makefile
14 14
# USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = com4 # /dev/ttyUSB0
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#
19 19
###################################
20 20

  
branches/encoders/code/projects/autonomous_recharging/archs/Makefile
201 201
AVRDUDE_PROGRAMMER = avrisp
202 202

  
203 203
# com1 = serial port. Use lpt1 to connect to parallel port.
204
AVRDUDE_PORT = com1

204
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
205 205
# programmer connected to serial device
206 206

  
207 207
AVRDUDE_WRITE_FLASH = -b 4800 -U flash:w:$(TARGET).hex
branches/encoders/code/projects/odometry/Makefile
14 14
# USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = /dev/tty.usbserial-A4001hAr
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#
19 19
###################################
20 20

  
branches/encoders/code/projects/colonet/utilities/robot_slave/Makefile
210 210
AVRDUDE_PROGRAMMER = avrisp
211 211

  
212 212
# com1 = serial port. Use lpt1 to connect to parallel port.
213
AVRDUDE_PORT = /dev/ttyUSB1 #com4

213
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
214 214
# programmer connected to serial device
215 215

  
216 216
AVRDUDE_WRITE_FLASH = -b 57600 -U flash:w:$(TARGET).hex
branches/encoders/code/projects/colonet/utilities/manual_control/manualControlRobot/Makefile
208 208
AVRDUDE_PROGRAMMER = avrisp
209 209

  
210 210
# com1 = serial port. Use lpt1 to connect to parallel port.
211
AVRDUDE_PORT = com1

211
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
212 212
# programmer connected to serial device
213 213

  
214 214
AVRDUDE_WRITE_FLASH = -b 9600 -U flash:w:$(TARGET).hex
branches/encoders/code/projects/colonet/utilities/manual_control/manualControlServer/Makefile
6 6
	gcc -I ../../wireless manualControlServer.c -o manualControlServer
7 7

  
8 8
clean: 
9
	rm -rf *o manualControlServer
9
	rm -rf *o manualControlServer
branches/encoders/code/projects/colonet/utilities/dragonfly_wireless_relay/Makefile
209 209
AVRDUDE_PROGRAMMER = avrisp
210 210

  
211 211
# com1 = serial port. Use lpt1 to connect to parallel port.
212
AVRDUDE_PORT = /dev/ttyUSB0

212
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
213 213
# programmer connected to serial device
214 214

  
215 215
AVRDUDE_WRITE_FLASH = -b 57600 -U flash:w:$(TARGET).hex
branches/encoders/code/projects/colonet/utilities/robot_wireless_relay/Makefile
208 208
AVRDUDE_PROGRAMMER = avrisp
209 209

  
210 210
# com1 = serial port. Use lpt1 to connect to parallel port.
211
AVRDUDE_PORT = com1

211
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
212 212
# programmer connected to serial device
213 213

  
214 214
AVRDUDE_WRITE_FLASH = -b 9600 -U flash:w:$(TARGET).hex
branches/encoders/code/projects/colonet/testing/robot_routine_reg_test/Makefile
201 201
AVRDUDE_PROGRAMMER = avrisp
202 202

  
203 203
# com1 = serial port. Use lpt1 to connect to parallel port.
204
AVRDUDE_PORT = com1

204
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
205 205
# programmer connected to serial device
206 206

  
207 207
AVRDUDE_WRITE_FLASH = -b 9600 -U flash:w:$(TARGET).hex
branches/encoders/code/projects/colonet/testing/dongle/robot_receiver/Makefile
208 208
AVRDUDE_PROGRAMMER = avrisp
209 209

  
210 210
# com1 = serial port. Use lpt1 to connect to parallel port.
211
AVRDUDE_PORT = com1

211
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
212 212
# programmer connected to serial device
213 213

  
214 214
AVRDUDE_WRITE_FLASH = -b 9600 -U flash:w:$(TARGET).hex
branches/encoders/code/projects/colonet/testing/wl_network_colonet/Makefile
202 202
AVRDUDE_PROGRAMMER = avrisp
203 203

  
204 204
# com1 = serial port. Use lpt1 to connect to parallel port.
205
AVRDUDE_PORT = com1

205
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
206 206
# programmer connected to serial device
207 207

  
208 208
AVRDUDE_WRITE_FLASH = -b 9600 -U flash:w:$(TARGET).hex
branches/encoders/code/projects/libwireless/robotTest/Makefile
211 211
AVRDUDE_PROGRAMMER = avrisp
212 212

  
213 213
# com1 = serial port. Use lpt1 to connect to parallel port.
214
AVRDUDE_PORT = /dev/ttyUSB1

214
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
215 215
# programmer connected to serial device
216 216

  
217 217
AVRDUDE_WRITE_FLASH = -b 57600 -U flash:w:$(TARGET).hex
branches/encoders/code/projects/template/Makefile
14 14
# USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = /dev/ttyUSB0
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#
19 19
###################################
20 20

  
branches/encoders/code/projects/slam/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 = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18

  
19 19
robot: all
20 20
	TARGET = robot_main
branches/encoders/code/projects/encoder_test/Makefile
14 14
# USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = /dev/ttyUSB0
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#
19 19
###################################
20 20

  
branches/library_refactor/tools/eeprom/Makefile
14 14
USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = /dev/ttyUSB0
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#
19 19
#
20 20
###################################
branches/library_refactor/behaviors/bfs_fsm/test_decoy/Makefile
14 14
USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = com7
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#/dev/tty.usbserial*
19 19
#
20 20
#
branches/library_refactor/behaviors/bfs_fsm/Makefile
14 14
USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = com9
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#/dev/tty.usbserial*
19 19
#
20 20
#
branches/library_refactor/behaviors/library_test/Makefile
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17 17
#AVRDUDE_PORT = com4
18
AVRDUDE_PORT = $(shell if [ -e /dev/ttyUSB0 ]; then echo /dev/ttyUSB0; else echo 'COM4:'; fi)
18
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
19 19
#
20 20
#
21 21
###################################
branches/library_refactor/behaviors/orbit_fsm/decoy/Makefile
14 14
USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = com7
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#/dev/tty.usbserial*
19 19
#
20 20
#
branches/library_refactor/behaviors/orbit_fsm/Makefile
14 14
USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = com7
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#/dev/tty.usbserial*
19 19
#
20 20
#
branches/library_refactor/behaviors/smart_run_around_fsm/Makefile
14 14
# USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = /dev/ttyUSB0
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#
19 19
#
20 20
###################################
branches/library_refactor/behaviors/lemmings/Makefile
14 14
USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = com9
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#/dev/tty.usbserial*
19 19
#
20 20
#
branches/library_refactor/projects/test/Makefile
14 14
USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = /dev/ttyUSB0
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#
19 19
#
20 20
###################################
branches/library_refactor/projects/autonomous_recharging/archs/Makefile
201 201
AVRDUDE_PROGRAMMER = avrisp
202 202

  
203 203
# com1 = serial port. Use lpt1 to connect to parallel port.
204
AVRDUDE_PORT = com1

204
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
205 205
# programmer connected to serial device
206 206

  
207 207
AVRDUDE_WRITE_FLASH = -b 4800 -U flash:w:$(TARGET).hex
branches/library_refactor/projects/colonet/robot/joystick/discrete_control/Makefile
14 14
 USE_WIRELESS = 1
15 15

  
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff