AnsweredAssumed Answered

MC56F8366 - CW 5.9: How to force const into ROM

Question asked by hiswitsend on Jan 24, 2014
Latest reply on Jan 30, 2014 by Pascal Irrle

Hi,

 

Have a several ain the code that contain strings amongst other constant data and have run out of data memory as these are not being stored in ROM.

 

 

 

Not been using this device/environment long and wondered if it was possible to force the linker to put the constant data in P memory?

 

I found a Freescale Application Note AN1952.pdf, that seems to indicate that this is possible but the use_rodata pragma is not recognised by the IDE.

 

Any help would be appreciated before I resort to more convoluted processing to achieve the same.

 

Cheers


Dave

Outcomes