AnsweredAssumed Answered

How do I declare an array in a different segment?

Question asked by DON PORADA on Jul 16, 2014
Latest reply on Jul 16, 2014 by Jorge_Gonzalez

In CodeWarrior, I did this:

 

#pragma define_section my_ram2 ".display" abs32 RW

__declspec(section "my_ram2") uint8 Display[511];

 

This does not work in KDS.  I get an error saying that Display is undeclared.

 

Please help.


Outcomes