Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] malloc external memory

2005-08-29 by Charles Manning

On Monday 29 August 2005 23:20, szemzoandras 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?
> How can I mix internal sram with external space?
>
> Thanks!!

This is too little information to work from.

malloc is a library function that is implemented differently by different 
development tools and the symbols you set will vary accordingly.

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.