Is there a direct method in which the values ββof the stack_start and stack_end characters can reference the 'C' function? I can do this using a little assembler to read each character and put it in a variable that has the attribute "used" assigned to it. For instance.
static __attribute__((used)) UI_32 StkStart; __asm__ ( "LDR R0, =__stack_start__ \n" "LDR R1, =StkStart\n" "STMIA.W R1, {R0}\n" );
Is there any way to avoid using the information here?
The reason I need to do this is because my stack area is initialized with a specific template in the launcher and to determine which part of the stack was used. I can go through the memory stack by checking the changes to the original drawing.
source share