Hello,
Thanks for the reply,
I have the RAM definition done as
define symbol __ICFEDIT_region_RAM_start__ = 0x20007000;
define symbol __ICFEDIT_region_RAM_end__ = 0x2000EFFF;
define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__];
define region _COS_DMAM_1ST_POOL = mem:[from 0x20009000 to 0x2000BFFF ];
place in _COS_DMAM_1ST_POOL { readwrite section COS_DMAM_1ST_POOL };
//In the code I am using
#pragma default_variable_attributes = @ "COS_DMAM_1ST_POOL"
int y3[1000];
I am expecting the "y3" to present between 0x20009000 to 0x2000BFFF
Am I missing something? as I get following error if i allocate y3[1000]
Error[Lp011]: section placement failed
unable to allocate space for sections/blocks with a total estimated minimum size of 0x8d3c bytes (max align 0x8) in <[0x2000'7000-0x2000'efff]> (total uncommitted space 0x8000).
Needed:
[0x2000'7000-0x2000'efff]: 0x7d9c min, align 0x8 (size: 0x8000)
[0x2000'9000-0x2000'bfff]: 0xfa0 min, align 0x4 (size: 0x3000)