This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Disable duplicate string merging for code space

Hello,

Is it possible to disable the merging of duplicate strings when declared in code space?

I use a number of language tables to provide run-time multi-lingual support for an LCD. These are simple arrays, with position dependent strings.

I have tried the OPTIMIZE directive at the top of my strings module:

#pragma OPTIMIZE(0)

It made no difference.

Some European languages are unavoidably similar, and therefore I cannot rely on a string being unique.

C51 is version 7.10

I would be most grateful for any help.

Many thanks,
Gary

0