Page 1 of 1

Debugging FlowCode C-Code with AVR-Studio

Posted: Tue Apr 05, 2011 6:17 pm
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

Re: Debugging FlowCode C-Code with AVR-Studio

Posted: Tue Apr 05, 2011 7:38 pm
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.

Re: Debugging FlowCode C-Code with AVR-Studio

Posted: Wed Apr 06, 2011 9:57 am
by Benj
Hi Nero,

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

Re: Debugging FlowCode C-Code with AVR-Studio

Posted: Thu Apr 07, 2011 3:57 pm
by Niro
Dear Ben,

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

Many thanks!
Niro