Has anyone been successful in setting up the Keil tools and changing the Startup.s file to place the heap in external location (on SD/MMC Card or off-chip memory)?
The only reason that I want to use external memory is because I am using a library for the file system that needs to dynamically allocate space. The amount of space it needs to allocate is more than I have in internal memory.
Iam working on LPC2378 with keil uvision4.
Any help will be appreciated. Thanks in advance
You can place the stack/heap using a scatter file, like this:
IRAM_STACK 0x40002040 0xE000 { ; RW data LPC2400.o (STACK) .ANY (+RW +ZI) }
since the linker creates a sections called STACK and HEAP.