Ignore target memories not present in part

$ avrdude -qp m8 -c ... -U efuse:w:0xff:m && echo OK

avrdude: AVR device initialized and ready to accept instructions
avrdude: skipping -U efuse:... as memory not defined for part ATmega8

avrdude done.  Thank you.

OK
This commit is contained in:
Stefan Rueger
2022-08-03 00:23:15 +01:00
parent 9604a3ef36
commit 648f3319a9
2 changed files with 4 additions and 4 deletions

View File

@@ -1243,7 +1243,7 @@ int main(int argc, char * argv [])
for (ln=lfirst(updates); ln; ln=lnext(ln)) {
upd = ldata(ln);
rc = do_op(pgm, p, upd, uflags);
if (rc) {
if (rc && rc != LIBAVRDUDE_SOFTFAIL) {
exitrc = 1;
break;
}