Debugging FlowCode C-Code with AVR-Studio

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
Niro
Posts: 77
Joined: Mon Jan 03, 2011 8:58 pm
Has thanked: 29 times
Been thanked: 10 times

Debugging FlowCode C-Code with AVR-Studio

Post by Niro »

Hi All,

I'm trying to find a way to get a FlowCode C-File compiled/build in the AVR-Studio (with WinAVR), to simlate and debug it there.
In my FlowCode-programm there is some implemented C-Code, and unfortunately the built in silmuator can't handle C-code.

What I several times tried, is copying the C-Code from Flowcode directly into an AVR-studio project, but the compiler always reports warnings and errors....

Is there anybody who can help me?

Many thanks,
Niro

Spanish_dude
Posts: 594
Joined: Thu Sep 17, 2009 7:52 am
Location: Belgium
Has thanked: 63 times
Been thanked: 102 times

Re: Debugging FlowCode C-Code with AVR-Studio

Post by Spanish_dude »

It could be some include errors.
AVR-Studio could be searching for the flowcode includes in his include folder.
These are most likely not there or not the same so that's why you get errors.

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: Debugging FlowCode C-Code with AVR-Studio

Post by Benj »

Hi Nero,

Could be that your missing the internals include file. Its located in the "Flowcode AVR V4/FCD" folder.

Niro
Posts: 77
Joined: Mon Jan 03, 2011 8:58 pm
Has thanked: 29 times
Been thanked: 10 times

Re: Debugging FlowCode C-Code with AVR-Studio

Post by Niro »

Dear Ben,

you're right!
I included "...Tools\avr\include" and "...\FCD". Now it works!

Many thanks!
Niro

Post Reply