I'm using uVision3.
My target platform is:AT91SAM9261.
I just created in project with the initial assembler code in it.
The generated code code:
; User Initial Stack & Heap AREA |.text|, CODE, READONLY
IMPORT __use_two_region_memory EXPORT __user_initial_stackheap __user_initial_stackheap LDR R0, = Heap_Mem LDR R1, =(Stack_Mem + USR_Stack_Size) LDR R2, = (Heap_Mem + Heap_Size) LDR R3, = Stack_Mem BX LR
END
When I compile and link the code I get the error message: L6218E: Undefined symbol __use_two_region_memory (referred from sam9261.o)
Where should __use_two_region_memory be defined?
This is my 1st project with uVision, any help will be appreciated.
Thank you.
Martin