Page 1 of 1

BUG: Error when using CAN and FAT

Posted: Sat Aug 31, 2013 9:55 pm
by Jordy101091
I'm getting an error when I use a CAN component and a FAT component I the same Flowcode,
It gives an error that has something to do with a prescaler.

Code: Select all

Target folder: \\NASHJJAKL\Jordy Kleian\D6ULV5~V\FKZ0BJ~O\PB83OU~D\AY92OP~W\FY6XBH~1.0\Test
Source name:   \\NASHJJAKL\Jordy Kleian\Documenten\Flowcode Projects\Projecten\Aquarium Automatics\Firmware v1.0\Test\Test2.fcfx
Title:         
Description:   
Device:        PIC.18F.18F6722
Generated by:  Flowcode v6.0.0.60
Date:          Saturday, August 31, 2013 22:52:00
Users:         0
Registered to: 30day_62150048
Licence key:   H9023P
   NOT FOR COMMERCIAL USE
http://www.matrixmultimedia.com
Launching the compiler...
C:\Program Files (x86)\Flowcode 6 Beta\compilers\pic\boostc\boostc_18F.exe  -v -t PIC18F6722 "Test2.c"
.
Launched program C:\Program Files (x86)\Flowcode 6 Beta\compilers\pic\boostc\boostc_18F.exe
Launching BoostC...
..
BoostC Optimizing C Compiler Version 7.11 (for PIC18 architecture)
http://www.sourceboost.com
Copyright(C) 2004-2013 Pavel Baranov
Copyright(C) 2004-2013 David Hobday

Licensed to FlowCode User under Single user Pro License for 1 node(s)
Limitations: PIC18 max code size:Unlimited, max RAM banks:Unlimited


Test2.c
Starting preprocessor: "C:\Program Files (x86)\Flowcode 6 Beta\compilers\pic\boostc\pp.exe" Test2.c -i "C:\Program Files (x86)\Flowcode 6 Beta\compilers\pic\boostc\include" -d _PIC18F6722 -la -c2 -o Test2.pp -v -d _BOOSTC -d _PIC18 -d _CHAR_INDEX 

C:\Program Files (x86)\Flowcode 6 Beta\CAL\PIC\PIC_CAL_SPI.c(69): Illegal redefinition of symbol: MX_SPI_PR_SCALE_X

1 errors detected
Error: preprocessing error

failure
Launched program C:\Program Files (x86)\Flowcode 6 Beta\compilers\pic\boostc\boostc_18F.exe
Completed BoostC compilation, return = 1

C:\Program Files (x86)\Flowcode 6 Beta\compilers\pic\boostc\boostc_18F.exe reported error code 1


FINISHED
Hope this bug will be fixed soon,

Regards Jordy

PS. I cannot upload C code file its to big 264KiB my limit is 256KiB

Re: BUG: Error when using CAN and FAT

Posted: Sat Aug 31, 2013 10:06 pm
by kersing
Hi Jordy,

You could put the C file in a ZIP archive. Usually C files compress to a fraction of their original size.

Jac

Re: BUG: Error when using CAN and FAT

Posted: Mon Sep 02, 2013 9:43 am
by Benj
Hi Jordy,

This file fixes the issue and will go into the release. Simply pop it into your "Flowcode Beta/CAL/PIC" folder to apply the changes.
PIC_CAL_SPI.c
(11.82 KiB) Downloaded 339 times
Thanks for the spot.