projects
/
Arduino
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45c45a2
)
use newest hex file when flasing
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 27 Apr 2015 13:14:22 +0000
(15:14 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 27 Apr 2015 13:14:22 +0000
(15:14 +0200)
wlan_si/Makefile
patch
|
blob
|
history
diff --git
a/wlan_si/Makefile
b/wlan_si/Makefile
index
77db1f5
..
b1b4134
100644
(file)
--- a/
wlan_si/Makefile
+++ b/
wlan_si/Makefile
@@
-4,7
+4,7
@@
all:
pi=10.60.1.201
flash:
- scp
/tmp/build*.tmp/*.hex
pi@${pi}:/tmp/arduino.hex
+ scp
`ls -t /tmp/build*.tmp/*.hex | head -1`
pi@${pi}:/tmp/arduino.hex
ssh pi@${pi} sudo avrdude -c linuxgpio -p atmega328p -U flash:w:/tmp/arduino.hex
serial: