add devices r04 and r05 to flash script.
This commit is contained in:
14
flashnode.sh
14
flashnode.sh
@@ -93,6 +93,20 @@ case $NODE in
|
||||
EFUSE_ARG="-U efuse:w:0xFE:m"
|
||||
FILE_ARG="-U flash:w:./0-build/avr/devices/n27/boot/n27_boot.hex"
|
||||
;;
|
||||
r04)
|
||||
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/r04/boot/r04_boot.hex"
|
||||
;;
|
||||
r05)
|
||||
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/r05/boot/r05_boot.hex"
|
||||
;;
|
||||
t03)
|
||||
DEVICE_ARG="-p t841"
|
||||
HFUSE_ARG="-U hfuse:w:0xD7:m"
|
||||
|
||||
Reference in New Issue
Block a user