FLOW CODE AND C COMPILING IN MPLAB

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 2 and 3.

Moderators: Benj, Mods

Post Reply
User avatar
miguelmauricior
Flowcode V4 User
Posts: 42
Joined: Tue May 05, 2009 12:13 pm
Location: COLOMBIA
Contact:

FLOW CODE AND C COMPILING IN MPLAB

Post by miguelmauricior »

Hello Ben,
I have a problem when I compiled the program in C. I used the HI TECH 9.6 compiler and when I tried to build the code this is the error MPLAB showed me:
Error [141] C:\PIC PROJECTS\SENSOR MAGNETICO.C; 23.19 can't open include file "system.h": No such file or directory

Then I double clicked in the error and the problem is in this line which is generated by FC:
#include <system.h>

Can you tell me what it is wrong? or what I am doing wrong?

I you need I can send you and image of the problem.

Let know please.

Thanks.
MMRZ

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: FLOW CODE AND C COMPILING IN MPLAB

Post by Benj »

Hello

If you are moving the C code from Flowcode across into HI Tech C then you will have to do something called porting. This is essentially modifying the C code to allow it to work with the new compiler. This process can be a little tricky and requires a good working knowledge of C.

The system.h file simply sets up things like a few definitions and clock speeds etc.

Im afraid I have never used the HI TECH compiler so I will not be able to shine any light for you. Can I ask why you are using MPLAB if you do not have BoostC for it?

User avatar
miguelmauricior
Flowcode V4 User
Posts: 42
Joined: Tue May 05, 2009 12:13 pm
Location: COLOMBIA
Contact:

Re: FLOW CODE AND C COMPILING IN MPLAB

Post by miguelmauricior »

Hello Ben,

Can you be more specific. Let tell you that I am trying to do the same thing I did with the assembler, and despite I am not an expert in this area I supposed this tool would worked in the same way that MPASM did under MPLAB but certainly it did not. But if there any other way to get the same result please let know.
Anyway I use with MPLAB because as you know I have the PIC START and it came with a basic HITECH software.

I found a file called BOOOSTC which came with the FC software. Is this a basic C compiler software? Anyway I tried to run the software but in DOS windows appears an error that it says: Compiler can not be started with out a host program <code 118> this happens with PIC 16 and 18 so in this case what I must do?

Thanks.
MMRZ

User avatar
miguelmauricior
Flowcode V4 User
Posts: 42
Joined: Tue May 05, 2009 12:13 pm
Location: COLOMBIA
Contact:

Re: FLOW CODE AND C COMPILING IN MPLAB

Post by miguelmauricior »

miguelmauricior wrote:Hello Ben,

Can you be more specific. Let tell you that I am trying to do the same thing I did with the assembler, and despite I am not an expert in this area I supposed this tool would worked in the same way that MPASM did under MPLAB but certainly it did not. But if there any other way to get the same result please let know.
Anyway I use with MPLAB because as you know I have the PIC START and it came with a basic HITECH software.

I found a file called BOOOSTC which came with the FC software. Is this a basic C compiler software? Anyway I tried to run the software but in DOS windows appears an error that it says: Compiler can not be started with out a host program <code 118> this happens with PIC 16 and 18 so in this case what I must do?

Thanks.
MMRZ

User avatar
Steve
Matrix Staff
Posts: 3426
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times
Contact:

Re: FLOW CODE AND C COMPILING IN MPLAB

Post by Steve »

To use BoostC with MPLAB, you need to buy a separate license for it.

To use HiTech C compiler, you need to "port" the C code from Flowcode to it. This is possible, but you would need to be fairly proficient in C.

saschech@gmx.de
Posts: 714
Joined: Wed Jan 31, 2007 12:41 pm
Has thanked: 1 time
Been thanked: 26 times
Contact:

Re: FLOW CODE AND C COMPILING IN MPLAB

Post by saschech@gmx.de »

Hallo Steve

I have a full version of boost-c compiler,but i have not a flowcode v3 c-file compile without an error.
It is not so easy,is there a example for the settings in the project-box?....

Regards Wolfgang

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: FLOW CODE AND C COMPILING IN MPLAB

Post by Benj »

Hello Wolfgang

Ok firstly we have to setup MPLAB to use the BoostC compiler.

1) In MPLAB use the Project menu and select "select language toolsuite"
2) Set the active toolsuite to use the BoostC C Compiler for PIC16 / 18 depending on your target, click ok.
3) Use the Project menu and select "select language tool locations"
4) Expand the BoostC Compiler for PIC16
5) Check that the locations exist for the linker and compiler and search paths. The locations should point to files within your Sourceboost folder.

Linker - C:\Program Files\SourceBoost\boostlink.pic.exe
Compiler - C:\Program Files\SourceBoost\boostc.pic16.exe

Assembler Include - C:\Program Files\SourceBoost\include
Include - C:\Program Files\SourceBoost\include
Library - C:\Program Files\SourceBoost\Lib
Linker Script - C:\Program Files\SourceBoost\include

Then to create your project in MPLAB you will need to do the following.

1) Using Flowcode create your program and compile to C.
2) Open MPLAB and click on the Project Menu and click New.
3) Give the project a name and select a directory on your hard drive to store the project.
4) Click on Project menu and select Add files to project
5) Select your C code file created by Flowcode
6) Click on Project menu and select Add files to project
7) Select the internals.h file located inside the "Flowcode vX/FCD" folder
8 ) Click on Project menu and select Add files to project
9) Browse to the "Sourceboost/Lib" folder, type *.* into the File name parameter box and press enter, now select the "libc.pic16.lib" file and click open
10) Use the configure menu and select "select device" to specify your target microcontroller
11) Use the configure menu and select "configuration bits" to specify the microcontrollers configuration settings.
12) Use the Project menu and select Build to compile and create your source code files.

For the attached example project to work you must extract it to the root of your C drive. This will give you a folder with the path "C:\Example"
Attachments
Example.zip
(43.92 KiB) Downloaded 483 times

saschech@gmx.de
Posts: 714
Joined: Wed Jan 31, 2007 12:41 pm
Has thanked: 1 time
Been thanked: 26 times
Contact:

Re: FLOW CODE AND C COMPILING IN MPLAB

Post by saschech@gmx.de »

Hallo Benj

Thank you for the great help!!!!!!!!!
The example works inflowcode > mplab 8.33 with boost-c 6.95 ok.
Tomorrow i test my project with a 18F8722.

Regards wolfgang

saschech@gmx.de
Posts: 714
Joined: Wed Jan 31, 2007 12:41 pm
Has thanked: 1 time
Been thanked: 26 times
Contact:

Re: FLOW CODE AND C COMPILING IN MPLAB

Post by saschech@gmx.de »

Hallo Benj

For my object i add:

source files : sa_ecio.c
header files : internals.h
library files : libc.pic18.lib

if i compile , i have:

Clean: Deleting intermediary and output files.
Clean: Deleted file "sa_ecio.OBJ".
Clean: Deleted file "D:\sachs_work\ECIO\V4\sa_ecio\sa_ecio.HEX".
Clean: Done.
Executing: "C:\Program Files\SourceBoost\boostc.pic18.exe" sa_ecio.c -O1 -W1 -t 18F8722
BoostC Optimizing C Compiler Version 6.95 (for PIC18 architecture)
http://www.sourceboost.com
Copyright(C) 2004-2009 Pavel Baranov
Copyright(C) 2004-2009 David Hobday

Licensed to Wolfgang sachs under Single user Full License for 1 node(s)
Limitations: PIC18 max code size:Unlimited, max RAM banks:Unlimited, Non commercial use only


sa_ecio.c

success
Executing: "C:\Program Files\SourceBoost\boostlink.pic.exe" "D:\sachs_work\ECIO\V4\sa_ecio\sa_ecio.obj" "C:\Program Files\Matrix Multimedia\Flowcode V4\boostc\Lib\libc.pic18.lib" -O1 -p "sa_ecio" -t 18F8722
BoostLink Optimizing Linker Version 6.95
http://www.sourceboost.com
Copyright(C) 2004-2009 Pavel Baranov
Copyright(C) 2004-2009 David Hobday


Optimisation level:1
Error: Unresolved external function:'float32_to_int32(float)'
Error: Unresolved external function:'float32_to_int32(float)'
Error: Unresolved external function:'float32_to_int32(float)'
Error: Unresolved external function:'float32_to_int32(float)'
Error: Unresolved external function:'float32_from_int32(signed long)'
Error: Unresolved external function:'float32_from_int32(signed long)'
Error: Unresolved external function:'float32_from_int32(signed long)'
Error: Unresolved external function:'float32_from_int32(signed long)'
Error: Unresolved external function:'float32_le(float,float)'
Error: Unresolved external function:'float32_le(float,float)'
Error: Unresolved external function:'float32_le(float,float)'
Error: Unresolved external function:'float32_le(float,float)'
Error: Unresolved external function:'float32_le(float,float)'
Error: Unresolved external function:'float32_le(float,float)'
Error: Unresolved external function:'float32_le(float,float)'
Error: Unresolved external function:'float32_le(float,float)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'FCI_TOSTRING(signed short,unsigned char*,unsigned char)'
Error: Unresolved external function:'FCI_TOSTRING(signed short,unsigned char*,unsigned char)'
Error: Unresolved external function:'FCI_TOSTRING(signed short,unsigned char*,unsigned char)'
Error: Unresolved external function:'FCI_TOSTRING(signed short,unsigned char*,unsigned char)'
Error: Unresolved external function:'FCI_TOSTRING(signed short,unsigned char*,unsigned char)'
Error: Unresolved external function:'float32_mul(float,float)'
Error: Unresolved external function:'float32_mul(float,float)'
Error: Unresolved external function:'float32_mul(float,float)'
Error: Unresolved external function:'float32_mul(float,float)'
Error: Unresolved external function:'float32_mul(float,float)'
Error: Unresolved external function:'float32_mul(float,float)'
Error: Unresolved external function:'float32_mul(float,float)'
Error: Unresolved external function:'float32_mul(float,float)'
Error: Unresolved external function:'float32_to_int32(float)'
Error: Unresolved external function:'float32_to_int32(float)'
Error: Unresolved external function:'float32_to_int32(float)'
Error: Unresolved external function:'float32_to_int32(float)'
Error: Unresolved external function:'float32_from_int32(signed long)'
Error: Unresolved external function:'float32_from_int32(signed long)'
Error: Unresolved external function:'float32_from_int32(signed long)'
Error: Unresolved external function:'float32_from_int32(signed long)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_to_int32(float)'
Error: Unresolved external function:'float32_from_int32(signed long)'
Error: Unresolved external function:'float32_le(float,float)'
Error: Unresolved external function:'float32_le(float,float)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'FCI_TOSTRING(signed short,unsigned char*,unsigned char)'
Error: Unresolved external function:'FCI_TOSTRING(signed short,unsigned char*,unsigned char)'
Error: Unresolved external function:'FCI_TOSTRING(signed short,unsigned char*,unsigned char)'
Error: Unresolved external function:'float32_mul(float,float)'
Error: Unresolved external function:'float32_mul(float,float)'
Error: Unresolved external function:'float32_to_int32(float)'
Error: Unresolved external function:'float32_from_int32(signed long)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_from_int32(signed long)'
Error: Unresolved external function:'float32_from_int32(signed long)'
Error: Unresolved external function:'float32_from_int32(signed long)'
Error: Unresolved external function:'float32_from_int32(signed long)'
Error: Unresolved external function:'float32_mul(float,float)'
Error: Unresolved external function:'float32_mul(float,float)'
Error: Unresolved external function:'float32_mul(float,float)'
Error: Unresolved external function:'float32_mul(float,float)'
Error: Unresolved external function:'float32_mul(float,float)'
Error: Unresolved external function:'float32_mul(float,float)'
Error: Unresolved external function:'float32_mul(float,float)'
Error: Unresolved external function:'float32_mul(float,float)'
Error: Unresolved external function:'float32_from_int32(signed long)'
Error: Unresolved external function:'float32_from_int32(signed long)'
Error: Unresolved external function:'float32_from_int32(signed long)'
Error: Unresolved external function:'float32_from_int32(signed long)'
Error: Unresolved external function:'float32_mul(float,float)'
Error: Unresolved external function:'float32_mul(float,float)'
Error: Unresolved external function:'float32_mul(float,float)'
Error: Unresolved external function:'float32_mul(float,float)'
Error: Unresolved external function:'float32_mul(float,float)'
Error: Unresolved external function:'float32_mul(float,float)'
Error: Unresolved external function:'float32_mul(float,float)'
Error: Unresolved external function:'float32_mul(float,float)'
Error: Unresolved external function:'float32_from_int32(signed long)'
Error: Unresolved external function:'float32_from_int32(signed long)'
Error: Unresolved external function:'float32_from_int32(signed long)'
Error: Unresolved external function:'float32_from_int32(signed long)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_from_int32(signed long)'
Error: Unresolved external function:'float32_mul(float,float)'
Error: Unresolved external function:'float32_mul(float,float)'
Error: Unresolved external function:'float32_from_int32(signed long)'
Error: Unresolved external function:'float32_mul(float,float)'
Error: Unresolved external function:'float32_mul(float,float)'
Error: Unresolved external function:'float32_from_int32(signed long)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'
Error: Unresolved external function:'FCI_CONCATENATE(unsigned char*,unsigned char,unsigned char*,unsigned char,unsigned char*,unsigned char)'
Error: Unresolved external function:'FCI_CONCATENATE(unsigned char*,unsigned char,unsigned char*,unsigned char,unsigned char*,unsigned char)'
Error: Unresolved external function:'FCI_CONCATENATE(unsigned char*,unsigned char,unsigned char*,unsigned char,unsigned char*,unsigned char)'
Error: Unresolved external function:'FCI_CONCATENATE(unsigned char*,unsigned char,unsigned char*,unsigned char,unsigned char*,unsigned char)'
Error: Unresolved external function:'FCI_CONCATENATE(unsigned char*,unsigned char,unsigned char*,unsigned char,unsigned char*,unsigned char)'
Error: Unresolved external function:'FCI_CONCATENATE(unsigned char*,unsigned char,unsigned char*,unsigned char,unsigned char*,unsigned char)'
Error: Unresolved external function:'FCI_CONCATENATE(unsigned char*,unsigned char,unsigned char*,unsigned char,unsigned char*,unsigned char)'
Error: Unresolved external function:'FCI_CONCATENATE(unsigned char*,unsigned char,unsigned char*,unsigned char,unsigned char*,unsigned char)'
Error: Unresolved external function:'FCI_CONCATENATE(unsigned char*,unsigned char,unsigned char*,unsigned char,unsigned char*,unsigned char)'
Error: Unresolved external function:'FCI_CONCATENATE(unsigned char*,unsigned char,unsigned char*,unsigned char,unsigned char*,unsigned char)'
Error: Unresolved external function:'FCI_CONCATENATE(unsigned char*,unsigned char,unsigned char*,unsigned char,unsigned char*,unsigned char)'
Error: Unresolved external function:'FCI_CONCATENATE(unsigned char*,unsigned char,unsigned char*,unsigned char,unsigned char*,unsigned char)'
Error: Unresolved external function:'FCI_CONCATENATE(unsigned char*,unsigned char,unsigned char*,unsigned char,unsigned char*,unsigned char)'
Error: Unresolved external function:'FCI_CONCATENATE(unsigned char*,unsigned char,unsigned char*,unsigned char,unsigned char*,unsigned char)'
Error: Unresolved external function:'FCI_CONCATENATE(unsigned char*,unsigned char,unsigned char*,unsigned char,unsigned char*,unsigned char)'
Error: Unresolved external function:'float32_to_int32(float)'
Error: Unresolved external symbol, function:float32_to_int32
Error: Unresolved external function:'float32_from_int32(signed long)'

Error: Unresolved external symbol, function:float32_from_int32
Error: Unresolved external function:'float32_le(float,float)'

Error: Unresolved external symbol, function:float32_le
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'

Error: Unresolved external symbol, function:float32_addsub
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'

Error: Unresolved external symbol, function:float32_addsub
Error: Unresolved external function:'FCI_TOSTRING(signed short,unsigned char*,unsigned char)'

Error: Unresolved external symbol, function:FCI_TOSTRING
Error: Unresolved external function:'float32_mul(float,float)'

Error: Unresolved external symbol, function:float32_mul
Error: Unresolved external function:'float32_to_int32(float)'

Error: Unresolved external symbol, function:float32_to_int32
Error: Unresolved external function:'float32_from_int32(signed long)'

Error: Unresolved external symbol, function:float32_from_int32
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'

Error: Unresolved external symbol, function:float32_addsub
Error: Unresolved external function:'float32_from_int32(signed long)'
Error: Unresolved external symbol, function:float32_from_int32
Error: Unresolved external function:'float32_mul(float,float)'

Error: Unresolved external symbol, function:float32_mul
Error: Unresolved external function:'float32_from_int32(signed long)'

Error: Unresolved external symbol, function:float32_from_int32
Error: Unresolved external function:'float32_mul(float,float)'

Error: Unresolved external symbol, function:float32_mul
Error: Unresolved external function:'float32_from_int32(signed long)'

Error: Unresolved external symbol, function:float32_from_int32
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'

Error: Unresolved external symbol, function:float32_addsub
Error: Unresolved external function:'float32_addsub(float,float,unsigned char)'

Error: Unresolved external symbol, function:float32_addsub
Error: Unresolved external function:'FCI_CONCATENATE(unsigned char*,unsigned char,unsigned char*,unsigned char,unsigned char*,unsigned char)'
Error: Unresolved external symbol, function:FCI_CONCATENATE


failure
BUILD SUCCEEDED: Fri Jul 03 11:08:37 2009
-------------------------------------

after i add:
library files : float.pic18.lib , flowcode.pic18.lib

it compile ok :

Clean: Deleting intermediary and output files.
Clean: Deleted file "sa_ecio.OBJ".
Clean: Deleted file "D:\sachs_work\ECIO\V4\sa_ecio\sa_ecio.HEX".
Clean: Done.
Executing: "C:\Program Files\SourceBoost\boostc.pic18.exe" sa_ecio.c -O1 -W1 -t 18F8722
BoostC Optimizing C Compiler Version 6.95 (for PIC18 architecture)
http://www.sourceboost.com
Copyright(C) 2004-2009 Pavel Baranov
Copyright(C) 2004-2009 David Hobday

Licensed to Wolfgang sachs under Single user Full License for 1 node(s)
Limitations: PIC18 max code size:Unlimited, max RAM banks:Unlimited, Non commercial use only


sa_ecio.c

success
Executing: "C:\Program Files\SourceBoost\boostlink.pic.exe" "D:\sachs_work\ECIO\V4\sa_ecio\sa_ecio.obj" "C:\Program Files\Matrix Multimedia\Flowcode V4\boostc\Lib\libc.pic18.lib" "C:\Program Files\Matrix Multimedia\Flowcode V4\boostc\Lib\flowcode.pic18.lib" "C:\Program Files\Matrix Multimedia\Flowcode V4\boostc\Lib\float.pic18.lib" -O1 -p "sa_ecio" -t 18F8722
BoostLink Optimizing Linker Version 6.95
http://www.sourceboost.com
Copyright(C) 2004-2009 Pavel Baranov
Copyright(C) 2004-2009 David Hobday


Optimisation level:1
Caution: Delay inaccurrate: 'delay_10us', Delay overhead:0ms, Unit delay:0.0100708ms, Delay resolution:1 units
Caution: Delay inaccurrate: 'delay_ms', Delay overhead:0ms, Unit delay:1.00006ms, Delay resolution:1 units
Warning unreferenced functions removed:
FCI_FLOAT_TO_STRING in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
FCI_NUMBER_TO_HEX in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
FCI_STRING_TO_INT in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
FCI_STRING_TO_FLOAT in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
Wdt_Delay_S in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
isinf in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
FCD_LCDDisplay0_ScrollDisplay in: D:\sachs_work\ECIO\V4\sa_ecio\sa_ecio.c
FCD_LCDDisplay0_ClearLine in: D:\sachs_work\ECIO\V4\sa_ecio\sa_ecio.c
FCD_LCDDisplay0_RAM_Write in: D:\sachs_work\ECIO\V4\sa_ecio\sa_ecio.c

Building CASM file
Memory Usage Report
===================
RAM available:3936 bytes, used:364 bytes (9.3%), free:3572 bytes (90.7%),
Heap size:3572 bytes, Heap max single alloc:127 bytes
ROM available:131072 bytes, used:9540 bytes (7.3%), free:121532 bytes (92.7%)



success
Loaded D:\sachs_work\ECIO\V4\sa_ecio\sa_ecio.COF.
BUILD SUCCEEDED: Fri Jul 03 11:10:56 2009

--------------------------------
My questione: Where i can learn what files i must input in the *.mcp folder for a new procekt?

Thankyou for jour big help

Regards Wolfgang

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: FLOW CODE AND C COMPILING IN MPLAB

Post by Benj »

Hello Wolfgang

Great glad you got it working correctly., Sorry I forgot the floating point library include in my above post.

This should be all you need now as all of the Flowcode components etc are dragged into the main C code file so other files are not needed.

Post Reply