flashnode.sh: added devices e02 and e03
This commit is contained in:
16
flashnode.sh
16
flashnode.sh
@@ -137,6 +137,22 @@ case $NODE in
|
|||||||
FILE_ARG="-U flash:w:./0-build/avr/devices/e01/boot/e01_boot.hex"
|
FILE_ARG="-U flash:w:./0-build/avr/devices/e01/boot/e01_boot.hex"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
e02)
|
||||||
|
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/e02/boot/e02_boot.hex"
|
||||||
|
;;
|
||||||
|
|
||||||
|
e03)
|
||||||
|
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/e03/boot/e03_boot.hex"
|
||||||
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
echo "Unknown node $NODE".
|
echo "Unknown node $NODE".
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user