added flash instructions for n28 and t04.
This commit is contained in:
14
flashnode.sh
14
flashnode.sh
@@ -93,6 +93,13 @@ case $NODE in
|
|||||||
EFUSE_ARG="-U efuse:w:0xFE:m"
|
EFUSE_ARG="-U efuse:w:0xFE:m"
|
||||||
FILE_ARG="-U flash:w:./0-build/avr/devices/n27/boot/n27_boot.hex"
|
FILE_ARG="-U flash:w:./0-build/avr/devices/n27/boot/n27_boot.hex"
|
||||||
;;
|
;;
|
||||||
|
n28)
|
||||||
|
DEVICE_ARG="-p t84"
|
||||||
|
HFUSE_ARG="-U hfuse:w:0xD7:m"
|
||||||
|
LFUSE_ARG=""
|
||||||
|
EFUSE_ARG="-U efuse:w:0xFE:m"
|
||||||
|
FILE_ARG="-U flash:w:./0-build/avr/devices/n28/boot/n28_boot.hex"
|
||||||
|
;;
|
||||||
r04)
|
r04)
|
||||||
DEVICE_ARG="-p t841"
|
DEVICE_ARG="-p t841"
|
||||||
HFUSE_ARG="-U hfuse:w:0xD7:m"
|
HFUSE_ARG="-U hfuse:w:0xD7:m"
|
||||||
@@ -121,6 +128,13 @@ case $NODE in
|
|||||||
EFUSE_ARG="-U efuse:w:0xFE:m"
|
EFUSE_ARG="-U efuse:w:0xFE:m"
|
||||||
FILE_ARG="-U flash:w:./0-build/avr/devices/t03/boot/t03_boot.hex"
|
FILE_ARG="-U flash:w:./0-build/avr/devices/t03/boot/t03_boot.hex"
|
||||||
;;
|
;;
|
||||||
|
t04)
|
||||||
|
DEVICE_ARG="-p t841"
|
||||||
|
HFUSE_ARG="-U hfuse:w:0xD7:m"
|
||||||
|
LFUSE_ARG=""
|
||||||
|
EFUSE_ARG="-U efuse:w:0xFE:m"
|
||||||
|
FILE_ARG="-U flash:w:./0-build/avr/devices/t04/boot/t04_boot.hex"
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Unknown node $NODE".
|
echo "Unknown node $NODE".
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user