Why does CodeWarrior V2.10 limit the length of the .rodata area?
When I was doing CPU stress testing, I allocated too many read-only constants and got the following error:
Specified length of memory directive 'pseudo_rom' was exceeded within section '.rodata':specified 0x00040000 but length is now 0x00054228
Hi,
this is not limited by CodeWarrior itself, this is limited by size of segment used for rodata. For example, if the rodata is forced to internal_flash segment, which size is 0x40000 then it won't allow you to put more data than 0x40000 to this segment. You need to enlarge the segment (if there's enough space in physical flash) or you need to remove some other data from the segment.
Regards,
Lukas