I need to define an array statically (in a * .h file) of size 12884901888.
unsigned char sram[12884901888];
The above declaration gives an error and does not work.
Because the constants used in array declarations are unsigned int. But the constant I should use (12884901888) is more than the unsigned int prefix.
How can I define an array as indicated above with a size of 12884901888?
Thanks.
-AD
PS I know that many will say optimize this size of a huge array, but I need to use it for some reason specific to my case.
source
share