Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: malloc external memory

2005-08-29 by Ken Wada

--- In lpc2000@yahoogroups.com, "szemzoandras" <a.szemzo@k...> wrote:
> Hi,
> 
> 
> How it is possible to allocate memory in the external ram?
> I'd try this 
> "-Wl,--defsym=__heap_start=0x81000000,
--defsym=__heap_end=0x81ffffff"
> 
> Is it ok?
In general, you need to call some kind of subroutine to properly 
initialize your heap/memory manager. Since I do not know which tool 
you are using, I cannot give you more information here.


> How can I mix internal sram with external space?
Absolutely, I do this all the time. What exactly do you want to do?

Ken Wada
> 
> Thanks!!
> 
> Andrew

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.