How to place heap into ram2 using LPC4078

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to place heap into ram2 using LPC4078

1,055 Views
lpcware
NXP Employee
NXP Employee
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
Labels (1)
0 Kudos
Reply
2 Replies

987 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by phuockal on Mon Jan 11 03:08:48 MST 2016
Dear friends,

I finally found the way to solve it:

https://www.lpcware.com/content/forum/pvheapstart-and-actual-heap-location-differ

Thank you very much,
0 Kudos
Reply

987 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by vtw.433e on Sun Jan 10 11:09:15 MST 2016
You need to tell us which tool Jain you are using.
0 Kudos
Reply