Merge pull request #1171 from stefanrueger/urclock

Provide Urclock programmer
This commit is contained in:
Stefan Rueger
2022-11-22 01:13:57 +00:00
committed by GitHub
22 changed files with 3001 additions and 73 deletions

View File

@@ -1393,9 +1393,12 @@ int main(int argc, char * argv [])
if (uflags & UF_NOWRITE) {
pmsg_warning("conflicting -e and -n options specified, NOT erasing chip\n");
} else {
msg_info("erasing chip\n");
pmsg_info("erasing chip\n");
exitrc = avr_chip_erase(pgm, p);
if(exitrc)
if(exitrc == LIBAVRDUDE_SOFTFAIL) {
imsg_info("delaying chip erase until first -U upload to flash\n");
exitrc = 1;
} else if(exitrc)
goto main_exit;
}
}