Content originally posted in LPCWare by bavarian on Tue Apr 19 01:17:18 MST 2016
The error is created from the linker, which sees more memory allocation in your code than it has available according to the given linker script file.
I don't expect that the freertos_blinky example sets up the external SDRAM, but the camera example requires for sure more RAM than a blinky example.
A camera module with VGA and RGB565 mode requires 640*480*16bits = 614.400bytes per frame buffer.
This for sure does not fit into the internal SRAM which is limited to 136kbyte.
So please add code which sets up the SDRAM, then you can hard code the frame buffer address to this memory.
Alternatively look for an example which uses the SDRAM anyway and put the camera example mode into that.
Regards,
NXP Support Team