Page 1 of 1

Change predefinite c compiler and programmer

Posted: Sat Jul 07, 2007 4:07 pm
by ITISVARESE
I have a CCS c compiler and we see that in option is possible change
c compiler and linker; it's possibile use that and how set option?
I have picstart plus how i can use this like predefinited programmer?

Posted: Mon Jul 09, 2007 9:21 am
by Steve
As far as I know, PICSTART+ can only be run via MPLAB, so you would need to take the ASM file generated by Flowcode and create a new project around it in MPLAB.

As for the compiler, you might be able to change Flowcode to work with the CCS compiler, but it might not be easy. Setting the compiler up in the "compiler options" dialog should be straight forward enough.

But the code produced by Flowcode is geared around the BoostC compiler we currently use. A lot of code produced by Flowcode is contained in the FCD files, so you may need to modify the FCD file for the chip you are working with.

Also, the code produced by the components within Flowcode is also designed for BoostC. Altering this code may not be easy, but you may be able to get it to work using a load of definitions and/or functions to modify the code produced.

Obviously, we can only provide minimal support if you do decide to change the compiler. But if you do, then we'd like to hear from you to find out if it was possible and, if not, where the problems were. Perhaps this information will allow us to produce more generic C code so that any compiler can be used in future.

Posted: Mon Jul 09, 2007 9:37 am
by ITISVARESE
Thanks for Your reply,
if I will able to do, after more experience with flowcode,
send You my experience