Page 1 of 1

C source code option

Posted: Thu Oct 06, 2011 5:37 pm
by allpicproject
Hi all,

My suggestion is to have a menu ( radio button/check box / etc ) to set which C format to be generated when push button of 'generate C sourcecode'.

What I'm doing now, doing some project for student/friend, whenever they want C source code, I need to trim the source code in Hitech C code ( they compile using Hitech C ) as I dont want them to confuse with the many pages code.

If we have choice of C format to generate then we can learn C language more clear ( I use flowcode to learn C in PIC ). By doing so, I won't confuse with sourcebootC , formula C etc. Also we have small C file.

Sorry for my bad english, hope you will get my point.

Regards
Allpic

Re: C source code option

Posted: Fri Oct 07, 2011 8:30 am
by Steve
Thanks for the great suggestion.

We have implemented something similar to this for the upcoming V5 release. The C code generated will be much cleaner because the processor- (and compiler-) specific code will be hidden within what we call the CAL (code abstraction layer). I hope this will satisfy your need.

Re: C source code option

Posted: Fri Oct 07, 2011 11:57 am
by allpicproject
Yes, that's my intention. (Please also make for the include file ie internal.h n definition.h ).

I'm volunteer to test it in ver5.x (if there is opportunity ).

Rgds
Allpic