Page 1 of 1

error compilation

Posted: Wed Mar 14, 2018 1:16 am
by RLOPES780
I am creating a flowchart, however this is becoming quite large (5.8k). My processor is a dspicep512mu810.
By the time I was compiling everything ok.
But now I add a macro and it compiles with error.
Can someone help me.
The compiler error message is attached.
Thankful;
Ricardo

Re: error compilation

Posted: Wed Mar 14, 2018 1:19 am
by RLOPES780
file anexed

Re: error compilation

Posted: Wed Mar 14, 2018 10:38 am
by mnf
Please post the Flowcode causing the error.

Re: error compilation

Posted: Wed Mar 14, 2018 12:04 pm
by Benj
Hello,

I agree with Martin having the Flowcode project to hand would be helpful.

It looks like this is the error your getting.
c:\progra~1\flowco~1\compil~1\pic16\bin\bin\..\bin/coff-as.exe: NANO EM CONSTRUCAO.o: .text: reloc overflow: 0x10007 > 0xffff
NANO EM CONSTRUCAO.o: File truncated
C:\Users\RICARDO\AppData\Local\Temp\ccznCDm6.00000b84.s: Assembler messages:
C:\Users\RICARDO\AppData\Local\Temp\ccznCDm6.00000b84.s:96053: FATAL: can't close NANO EM CONSTRUCAO.o
: File truncated
Are you calling the same macro an excessive number of times in your program or maybe calling macros in a cycle e.g. macroA calls macroB which calls macroA etc.