Hi,
I apologize for a late reply. But, the SP is configure at a library level.
You can see on the connectivity.ld file:
PROVIDE(_vStackTop = DEFINED(__user_stack_top) ? __user_stack_top : __top_RAM_Bank7 );
The _vStackTop is used on the g_pfnVectors (from the startup_qn9090.c).
But, could you please give more details about your stack issue? The SP should be correctly configured at the start of the application.
Regards,
Ricardo