Page 1 of 1

Compiler HEX File too big

Posted: Tue Mar 19, 2019 8:38 am
by DirkB
Hello,

i have build a little test project to show differents between compilers different flowcode versions.
V5:

RAM available:1024 bytes, used:62 bytes (6.1%), free:962 bytes (93.9%),
Heap size:336 bytes, Heap max single alloc:95 bytes
ROM available:8192 words, used:974 words (11.9%), free:7218 words (88.1%)


V6:

RAM available:1024 bytes, used:67 bytes (6.6%), free:957 bytes (93.4%),
Heap size:336 bytes, Heap max single alloc:95 bytes
ROM available:8192 words, used:1424 words (17.4%), free:6768 words (82.6%)


V8:

Memory Summary:
Program space used 567h ( 1383) of 2000h words ( 16.9%)
Data space used 4Ah ( 74) of 3F0h bytes ( 7.3%)
EEPROM space used 10h ( 16) of 100h bytes ( 6.2%)
Data stack space used 0h ( 0) of 3B2h bytes ( 0.0%)
Configuration bits used 2h ( 2) of 2h words (100.0%)
ID Location space used 0h ( 0) of 4h bytes ( 0.0%)

You have compiled in FREE mode.
Using Omniscient Code Generation that is available in PRO mode,
you could have produced up to 60% smaller and 400% faster code.
See http://www.microchip.com/MPLABXCcompilers for more information.

Compilation successful!

Start von Linker/Assembler...
C:\Program Files (x86)\Flowcode v8\tools\DoNothing\DoNothing.exe
The Project is complete the same. If i used flowcode v.6 or v.8 my Projects are too big for space in chips.
If i use flowcode v.5 i have no Problems. If the project is bigger the different is bigger too. Is it possible
to use compiler from flowcode v.5 with flowcode v.8?

thanks

Dirk

Re: Compiler HEX File too big

Posted: Tue Mar 19, 2019 1:28 pm
by Benj
Hi Dirk,

Maybe you would like to run the same tests using the free 60-day trial of the XC8 compiler. This will likely improve things considerably.
Is it possible to use compiler from flowcode v.5 with flowcode v.8?
Not without a lot of fiddling, we moved away from the v5 compiler for numerous reasons. e.g. very long time to compile, lack of support for new chips, lack of support in general etc.