Hi,
I wanted to allocate a particular structure member in my choice of memory, so i declared the structure as followed,
struct xyz
{
#pragma DATA_SECTION( x, ".sbsram")
int x[10000];
int y[10000];
int z[10000];
};
When i compile i get the error
#837-D pragma can only be applied to a file level symbol, not 'x,',
How to rectify it, and place a stucture member in the particular segment of memory.
Regards,
Deepa