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?
Change predefinite c compiler and programmer
-
- Posts: 56
- Joined: Sat Jul 07, 2007 3:00 pm
- Has thanked: 9 times
- Been thanked: 3 times
- Steve
- Matrix Staff
- Posts: 3433
- Joined: Tue Jan 03, 2006 3:59 pm
- Has thanked: 114 times
- Been thanked: 422 times
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.
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.
-
- Posts: 56
- Joined: Sat Jul 07, 2007 3:00 pm
- Has thanked: 9 times
- Been thanked: 3 times