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

Auto define Memory Class range

Hi,

I am using “Linker Control File” to create MEMORY CLASS using the following directive,

CLASSES(
 HCONST_EeSet1              (0xC00000-0xC003FF),
 HCONST_EeSet2              (0xC00400-0xC004FF),
 HCONST_EeSet3              (0xC00500-0xC006FF),
 HCONST_EeSet4              (0xC00700-0xC00FFF),
)

Is there a way to define the MEMORY CLASS so that the next class follows the one before it? For example I want to declare a range from 0xC00000 to 0xC00FFF, where HCONST_EeSet1, HCONST_EeSet2, HCONST_EeSet3, HCONST_EeSet4 are placed inside this range.

With the current method, if one of the CLASS increases in size, I need to manually re-adjust the range value.

Thanks in advance.