Merge pull request #1272 from stefanrueger/mode_memdelay

Correct memory mode, delay and readback for classic parts
This commit is contained in:
Stefan Rueger 2023-01-14 14:29:19 +00:00 committed by GitHub
commit a3b7072b7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 211 additions and 272 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);