gf_002/flash_atiny13.ps1

8 lines
235 B
PowerShell

# PowerShell script to flash a precompiled HEX file via avrdude.exe with a USBasp programmer
$Mcu = "t13"
$HexFile ="\pre_built\attiny13_4-8Mhz.hex"
$Programmer="usbasp"
.\avrdude.exe -p $Mxu -B 10 -c $Programmer -U flash:w:$HexFile