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

L251 user defined memory classes

It is said in the L251 documentation that by default, the linker would use below address ranges for a all memory classes

Question 1:

In a linker file that i was checking,  the two are declared in the input directive file

HDATA (0x100-0x2EBF),
HDATA_EEP (0xF80080-0xF800E0),

is the range of HDATA_EEP valid? I thought that because of the first declaration, we are limiting the HDATA memory space from 100 to 2EFB only. 

Question 2: 

If the above HDATA_EEP declaration is valid.. 

then is this the correct pragma to use?

#pragma userclass(hdata = eep)