Hi,
I have a C6A8168 EVM and I build my project for C6000 or ARM, it doesn't matter for which one, using CCSv5.2. The SDCARD is not in its slot, meaning, there is no OS(Linux Kernel) running.
Now In the debug mode, when I build the following code, I get this error :
Why is this happening, it is less than 20MB of memory that I'm allocating, the EVM claims to have 1GB of DDR3 RAM?
---------------------------------------------------Error----------------------------------------------------------
>> INTERNAL ERROR: Space required for local variables exceeds maximum in main
This may be a serious problem. Please contact customer support with a
description of this problem and a sample of the source files that caused this
INTERNAL ERROR message to appear.
Cannot continue compilation - ABORTING!
---------------------------------------------------Code----------------------------------------------------------
#include <stdio.h>
/*
* hello.c
*/
void main(void) {
char temp[20070400];
int i;
printf("Hello World!\n");
for(i=0;i<20070400;i++)
temp[i] = i;
}