From 785e4ef28c0420f267f44402fe8305d44a09a5b1 Mon Sep 17 00:00:00 2001 From: Martin Preuss Date: Thu, 29 May 2025 20:23:53 +0200 Subject: [PATCH] added n16 --- flashnode.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/flashnode.sh b/flashnode.sh index bc3358b..ccb0196 100755 --- a/flashnode.sh +++ b/flashnode.sh @@ -16,12 +16,19 @@ case $NODE in LFUSE_ARG="-U lfuse:w:0xE4:m" FILE_ARG="-U flash:w:./0-build/avr/devices/c01/boot/c01_boot.hex" ;; + n16) + 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/n16/boot/n16_boot.hex" + ;; n21) DEVICE_ARG="-p t84" HFUSE_ARG="-U hfuse:w:0xD7:m" LFUSE_ARG="" EFUSE_ARG="-U efuse:w:0xFE:m" - FILE="-U flash:w:./0-build/avr/devices/n21/boot/n21_boot.hex" + FILE_ARG="-U flash:w:./0-build/avr/devices/n21/boot/n21_boot.hex" ;; n22) DEVICE_ARG="-p t85"