Questions about the CodeWarrior V2.10 limit the length of the .rodata area

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Questions about the CodeWarrior V2.10 limit the length of the .rodata area

980件の閲覧回数
hanghang
Contributor I

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

0 件の賞賛
返信
1 返信

966件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

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

0 件の賞賛
返信