View previous topic :: View next topic |
Author |
Message |
stma
Joined: 16 Feb 2004 Posts: 26
|
More compiling errors!! |
Posted: Thu May 10, 2007 4:13 am |
|
|
CCSC Version 3.181
PIC16LF876
Now getting message
Quote: | main
Seg 0800-0FFF, 04D8 left, need 2754
Seg 1000-17FF, 0800 left, need 2754
Seg 1800-1FFF, 0800 left, need 2754
Seg 0000-0003, 0000 left, need 2754
Seg 0004-0039, 0000 left, need 2754
Seg 003A-07FF, 0064 left, need 2754
Error[44] C:\PIC_C_Code\RAPID2006\rapid2006.c 1042 : Internal Error - Contact CCS PC_PR |
If I reduce the code the error dissapears.
I know its probably a page thing but have tried dividing the subroutines into smaller chunks with no effect.
Any help? |
|
|
SherpaDoug
Joined: 07 Sep 2003 Posts: 1640 Location: Cape Cod Mass USA
|
|
Posted: Thu May 10, 2007 8:04 am |
|
|
Have you contacted CCS? They don't read this BBS often. You should contact them directly. _________________ The search for better is endless. Instead simply find very good and get the job done. |
|
|
ckielstra
Joined: 18 Mar 2004 Posts: 3680 Location: The Netherlands
|
|
Posted: Thu May 10, 2007 8:27 am |
|
|
Just splitting the functions into smaller parts is not enough as the compiler will try to optimize code by inlining the code. Add #seperate to several of your functions to avoid this type of optimization. |
|
|
|