added flash instructions for n28 and t04.

This commit is contained in:
Martin Preuss
2025-09-06 00:43:05 +02:00
parent 2d15091b0c
commit 52a5078706

View File

@@ -93,6 +93,13 @@ case $NODE in
EFUSE_ARG="-U efuse:w:0xFE:m" EFUSE_ARG="-U efuse:w:0xFE:m"
FILE_ARG="-U flash:w:./0-build/avr/devices/n27/boot/n27_boot.hex" 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) r04)
DEVICE_ARG="-p t841" DEVICE_ARG="-p t841"
HFUSE_ARG="-U hfuse:w:0xD7:m" HFUSE_ARG="-U hfuse:w:0xD7:m"
@@ -121,6 +128,13 @@ case $NODE in
EFUSE_ARG="-U efuse:w:0xFE:m" EFUSE_ARG="-U efuse:w:0xFE:m"
FILE_ARG="-U flash:w:./0-build/avr/devices/t03/boot/t03_boot.hex" 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". echo "Unknown node $NODE".
exit 1 exit 1