How to place heap into ram2 using LPC4078

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by phuockal on Sun Jan 10 03:06:06 MST 2016
Hello NXP

I am using lpc4078 with total 96kb RAM (60k CPU RAM + 36k peripharal RAM), code using c++.
My application while running new a lot of object, so that I have problem about memory not enough.

May I ask are there any way to move heap memory, or stack memory into peripheral RAM. I referred to some topic, they teach me to manually place data in RAM2, but I need a general solution to move all heap memory to RAM2, not manually 1 by 1 object.

Thanks in advance