Rewrite avrdude.conf.in file from avrdude -c* -p* output
Some manual editing is still necessary to cater for the @HAVE_PARPORT_BEGIN@ etc sections. This commit also fixes superfluous whitesapce at the end of avrdude.conf.in lines Although the avrdude.conf file has changed much, the internal representation in avrdude has not. This can be verified by exporting the raw internal data through avrdude -c*/r -p*/r >/tmp/avrdude.raw before the change and by comparing again after the change: avrdude -c*/r -p*/r | diff - /tmp/avrdude.raw
This commit is contained in:
parent
09d14601af
commit
57ebd36a01
24099
src/avrdude.conf.in
24099
src/avrdude.conf.in
File diff suppressed because it is too large
Load Diff
|
@ -345,7 +345,7 @@ static void dev_stack_out(bool tsv, const AVRPART *p, const char *name, const un
|
||||||
dev_info(tsv? "NULL\n": "NULL;");
|
dev_info(tsv? "NULL\n": "NULL;");
|
||||||
else
|
else
|
||||||
for(int i=0; i<ns; i++)
|
for(int i=0; i<ns; i++)
|
||||||
dev_info("%s0x%02x%s", !tsv && ns > 8 && i%8 == 0? "\n ": "", stack[i], i+1<ns? ", ": tsv? "\n": ";");
|
dev_info("%s0x%02x%s", !tsv && ns > 8 && i%8 == 0? "\n ": " ", stack[i], i+1<ns? ",": tsv? "\n": ";");
|
||||||
|
|
||||||
dev_cout(p->comments, name, 1, 1);
|
dev_cout(p->comments, name, 1, 1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue