On the CC3200, is there a way to get the stack pointer? I have tried embedded assembly in C to obtain the pointer but since it returns a value it won't compile. See code below.
unsigned int getStackPointer(void)
unsigned int result;
__asm("mrs %0, psp" : "=r" (result)); return(result);
I need the stack pointer to pass into PRCMLPDSRestoreInfoSet.