mirror of
https://github.com/anklimov/lighthub
synced 2025-12-06 03:39:49 +03:00
firmware upload scripts for osx
some debug code removed
This commit is contained in:
1
compiled/DUE_16u2_reflash/reflash16u2DUE.sh
Normal file
1
compiled/DUE_16u2_reflash/reflash16u2DUE.sh
Normal file
@@ -0,0 +1 @@
|
||||
../tools/mac/tool-avrdude/avrdude -C ../tools/mac/tool-avrdude/avrdude.conf -c arduino -P /dev/cu.usbmodem1411 -b 19200 -p m16u2 -vvv -U flash:w:16u2.hex:i
|
||||
3
compiled/due-5100/upload.sh
Executable file
3
compiled/due-5100/upload.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
export PORT=cu.usbmodem1451
|
||||
echo . | stty -f /dev/$PORT speed 1200
|
||||
../tools/mac/tool-bossac/bossac -U false -p $PORT -i -e -w -v -b firmware.bin -R
|
||||
3
compiled/due-5500/upload.sh
Executable file
3
compiled/due-5500/upload.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
export PORT=cu.usbmodem1411
|
||||
echo . | stty -f /dev/$PORT speed 1200
|
||||
../tools/mac/tool-bossac/bossac -U false -p $PORT -i -e -w -v -b firmware.bin -R
|
||||
3
compiled/lighthub21/upload.sh
Executable file
3
compiled/lighthub21/upload.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
export PORT=cu.usbmodem1451
|
||||
echo . | stty -f /dev/$PORT speed 1200
|
||||
../tools/mac/tool-bossac/bossac -U false -p $PORT -i -e -w -v -b firmware.bin -R
|
||||
@@ -1,13 +0,0 @@
|
||||
#!/bin/bash
|
||||
echo $@
|
||||
killall avrdude
|
||||
echo Reset..
|
||||
#/usr/bin/curl "http://192.168.88.31/console/reset"
|
||||
echo AvrDude..
|
||||
#/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avrdude -Pnet:192.168.88.31:23 $@
|
||||
/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avrdude -Pnet:192.168.88.2:23000 $@
|
||||
|
||||
|
||||
#/usr/bin/curl "http://192.168.8.94/console/reset"
|
||||
#echo AvrDude..
|
||||
#/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avrdude -Pnet:192.168.8.94:23 $@
|
||||
@@ -1 +0,0 @@
|
||||
..\tools\win\tool-avrdude\avrdude -C ../tools/mac/tool-avrdude/avrdude.conf -v -V -P com3 -patmega2560 -cwiring -b115200 -D -Uflash:w:firmware.hex:i
|
||||
@@ -1 +0,0 @@
|
||||
../tools/mac/tool-avrdude/avrdude -C ../tools/mac/tool-avrdude/avrdude.conf -v -V -P /dev/cu.usbmodem1411 -patmega2560 -cwiring -b115200 -D -Uflash:w:firmware.hex:i
|
||||
Reference in New Issue
Block a user