diff --git a/flashnode.sh b/flashnode.sh index b5f5cb0..0a99458 100755 --- a/flashnode.sh +++ b/flashnode.sh @@ -137,6 +137,22 @@ case $NODE in 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". exit 1