C source code option

Moderator: Benj

Post Reply
allpicproject
Flowcode V4 User
Posts: 36
Joined: Thu Sep 01, 2011 11:10 am
Has thanked: 17 times
Been thanked: 1 time
Contact:

C source code option

Post 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

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

Re: C source code option

Post 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.

allpicproject
Flowcode V4 User
Posts: 36
Joined: Thu Sep 01, 2011 11:10 am
Has thanked: 17 times
Been thanked: 1 time
Contact:

Re: C source code option

Post 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

Post Reply