region RamLoc32 overflowed

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by george079 on Tue Aug 31 19:45:44 MST 2010
Hi I have a project with LPC1768 as below

#define TEST_SIZE 0x8000 /*32KB*/
uint8_t test_table[TEST_SIZE];

int main(void) {
    uint32_t x;

volatile static int i = 0 ;
    while(1) {
        i++ ;
    return 0 ;
and compiled with  error

region RamLoc32 overflowed by 528 bytes
As i know there is 2 block of SRAM  ,each with 32KB .
In this project , it seems the RamLoc32 SRAM is overflowed,
and how could i assign to another block AHBSRAM ?