[SOLVED] Mplab ide stack size setting ?

Status
Not open for further replies.

LOSTISLAND

Member level 3
Joined
Jun 8, 2010
Messages
54
Helped
6
Reputation
12
Reaction score
5
Trophy points
1,288
Visit site
Activity points
1,682
Hi all ,

I have problem to increase size of stack in MPLAB IDE
In Project => Build Options => Linker
Stack size setting is disabled
How can I increase the stack size ?

Thanks
 

I see you are using XC8 compiler which appears to have a fixed stack size, see discussion
https://www.microchip.com/forums/m786101.aspx

and try reading section 5.5.2.2.2 of the XC8 compiler manual

if you have an application that is running out of stack space it could be time to upgrade to a PIC16, dsPIC or PIC32 whill allow one to set stack and heap size
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…