Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

XC8 Compiler Problem

Status
Not open for further replies.

qwertyuiop415263

Full Member level 4
Joined
Mar 26, 2010
Messages
232
Helped
50
Reputation
102
Reaction score
39
Trophy points
1,308
Location
Pakistan
Activity points
2,414
I am getting following error while compiling my firmware. "Internal error - no stack allocated to function" in XC8 compiler with MPLABX 1.41. After some search and reading documents i found that this error occurs when you do some complex floating point calculation. I am doing floating point calculation in my program's function and that calculation is very important. When i comment the line which does the rigorous calculation every thing compiles well.
My MCU is PIC18LF8720

Now my questions are

1. Is this error means that my stack size is full?
2. Can I manually allocate Stack size to that special function?
3. How to fix this error? Is there ant way?

Any suggestions are welcome
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top