malloc using external SDRAM

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

How can I setup malloc to use external SDRAM.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

It should be possible to do that with a linker script. Check if your project includes a file with “.lds” extension and search it for “heap”. Then set the heap to reside inside your SDRAM.

I actually haven’t tried it, but I don’t know of other methods.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

There is an application note for this:
http://www.atmel.com/Images/doc3...

-Deven