avr-libc icon indicating copy to clipboard operation
avr-libc copied to clipboard

PROGMEM_PAGE_SIZE wrong in iox64a1u.h

Open stefanrueger opened this issue 4 years ago • 1 comments

Should be 256, not 512, see page 21, Table 7.2 of datasheet

Also then in line with SPM_PAGESIZE and/or PROGMEM_PAGE_SIZE of iox64a1.h iox64a3.h iox64a3u.h iox64a4u.h iox64b1.h iox64b3.h iox64c3.h iox64d3.h iox64d4.h

stefanrueger avatar Mar 05 '22 21:03 stefanrueger

Also, other constants in iox64a1u.h such as APPTABLE_SECTION_START, BOOT_SECTION_START, APP_SECTION_PAGE_SIZE, BOOT_SECTION_PAGE_SIZE are too big by a factor of 2. Copy/paste error from iox128a1u.h?

Couldn't help noticing that iox128a1u.h too is wrong: it defines FUSE_MEMORY_SIZE as 0 instead of 6.

Both is a regression. Earlier versions of avr-libc looked good.

stefanrueger avatar Mar 26 '22 15:03 stefanrueger