Task #570
avrdude port detection
Description
Change all Makefiles (that program robots) in the repo to use avrdude port detection (com4 vs /dev/ttyUSB0).
Associated revisions
fixes #570 avrdude port detection
History
#1 Updated by Rich Hong about 14 years ago
- Target version set to Misc.
One line bash to update all Makefile.
for file in `find . -name Makefile | grep -v " "`; do; sed -E 's/^AVRDUDE_PORT.*/AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >\/dev\/null; then echo \''COM4:\''; else echo \''\/dev\/ttyUSB0\''; fi)/' "$file" > "${file}_new"; mv "${file}_new" "${file}"; done
#2 Updated by Rich Hong about 14 years ago
- Status changed from Assigned to Fixed
- % Done changed from 0 to 100
Applied in changeset r1390.