AnsweredAssumed Answered

8-16 bit: using constants in segments?

Question asked by ROB LUND on Nov 6, 2006
Latest reply on Nov 7, 2006 by CompilerGuru
I'm trying to carve out a section of RAM in my *.PRM file. This works:

MY_DATA = READ_WRITE 0x008C SIZE 3;

This does not:

MY_DATA = READ_WRITE 0x008C SIZE PARAMETERS;

... where PARAMETERS is defined in my header file as:

#define PARAMETERS 3

Is there a way to do the above, putting in a defined constant in the PRM file? I'd prefer this, as sometimes the value of PARAMETERS changes depending on the version of firmware I'm working with.

Message Edited by CrasyCat on 2007-04-13 01:23 PM

Outcomes