AnsweredAssumed Answered

Stack placed in RAM2

Question asked by mark van der Heijden on Jun 29, 2017
Latest reply on Jul 3, 2017 by jeremyzhou

My stack is placed at location 0x20080000 on my LPC1766. Thats AHB SRAM - bank 1. I like to have my stack on the On-chip SRAM(0x10000000). my linker script is defined like this:


PROVIDE(_pvHeapStart = DEFINED(__user_heap_base) ? __user_heap_base : .);
PROVIDE(_vStackTop = DEFINED(__user_stack_top) ? __user_stack_top : __top_RamLoc32 - 0);


What can be the reason that it still writing in RAM2(bank1)?