#!/bin/bash # SPDX-License-Identifier: Apache-2.0 # Copyright (c) 2012-2024 Scott Penrose and WII5 Buoy contributors # # This file is part of WII5 Buoy firmware. # See LICENSE for full terms. # Burn only the bootloader via ICSP (no application). : "${WII5_AVRDUDE:=avrdude}" "$WII5_AVRDUDE" \ -C./avrdude.conf \ -v \ -patmega2560 \ -cstk500v2 \ -Pusb \ -Ulock:w:0x0F:m \ -Uflash:w:optiboot_flash_atmega2560_UART0_230400_11059200L_BIGBOOT.hex