Show memory mode as hex number in avrdude.conf

It is a bitfield instructing STK500 how to program the memory
This commit is contained in:
Stefan Rueger 2023-01-08 16:57:09 +00:00
parent e226add045
commit dcb8165a1c
No known key found for this signature in database
GPG Key ID: B0B4F1FD86B1EC55
2 changed files with 142 additions and 142 deletions

File diff suppressed because it is too large Load Diff

View File

@ -763,7 +763,7 @@ static void dev_part_strct(const AVRPART *p, bool tsv, const AVRPART *base, bool
_if_memout(intcmp, "%d", max_write_delay); _if_memout(intcmp, "%d", max_write_delay);
_if_memout_yn(pwroff_after_write); _if_memout_yn(pwroff_after_write);
_if_n_memout_str(memcmp, 2, dev_sprintf("0x%02x 0x%02x", m->readback[0], m->readback[1]), readback); _if_n_memout_str(memcmp, 2, dev_sprintf("0x%02x 0x%02x", m->readback[0], m->readback[1]), readback);
_if_memout(intcmp, "%d", mode); _if_memout(intcmp, "0x%02x", mode);
_if_memout(intcmp, "%d", delay); _if_memout(intcmp, "%d", delay);
_if_memout(intcmp, "%d", blocksize); _if_memout(intcmp, "%d", blocksize);
_if_memout(intcmp, "%d", readsize); _if_memout(intcmp, "%d", readsize);