diff --git a/flashnode.sh b/flashnode.sh index 6370233..2b9adf8 100755 --- a/flashnode.sh +++ b/flashnode.sh @@ -93,6 +93,13 @@ case $NODE in EFUSE_ARG="-U efuse:w:0xFE:m" 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) DEVICE_ARG="-p t841" HFUSE_ARG="-U hfuse:w:0xD7:m" @@ -121,6 +128,13 @@ case $NODE in EFUSE_ARG="-U efuse:w:0xFE:m" 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". exit 1