View previous topic :: View next topic |
Author |
Message |
epitalon
Joined: 11 Mar 2010 Posts: 11 Location: france
|
Pic 32bits compiler |
Posted: Wed Mar 17, 2010 10:38 am |
|
|
Hello all,
I am about to switch from PIC18 to PIC32 family;
I need to choose a compiler and need some advice.
Which, in your opinion, is the best :
CCS PCD
or
Microchip C30 ?
Not that I am reluctant to paying for a new compiler but rather, I want to be sure that I am not going to use a buggy compiler.
Jean-Marie |
|
|
MikeW
Joined: 15 Sep 2003 Posts: 184 Location: Warrington UK
|
|
Posted: Wed Mar 17, 2010 11:10 am |
|
|
The choice is made for you.
CCS don't have a PIC32 compiler. PCD is for the 24bit family not PIC32.
Mike |
|
|
bkamen
Joined: 07 Jan 2004 Posts: 1615 Location: Central Illinois, USA
|
|
Posted: Wed Mar 17, 2010 6:31 pm |
|
|
Yup. You have to get C32, not C30.
I'm doing a project right now in C32...
It's different - that's for sure.
I feel like I'm compiling with gcc....
Oh wait! I AM!
-Ben _________________ Dazed and confused? I don't think so. Just "plain lost" will do. :D |
|
|
epitalon
Joined: 11 Mar 2010 Posts: 11 Location: france
|
|
Posted: Thu Mar 18, 2010 12:45 pm |
|
|
Thanks for the information. |
|
|
mbradley
Joined: 11 Jul 2009 Posts: 118 Location: California, USA
|
|
Posted: Thu Mar 18, 2010 5:09 pm |
|
|
I am working on this, its a header file with defines to make things similar to the way ccs uses them.
example, turn on an led:
#define PWR_LED PIN_C3
mOutput_high(PWR_LED);
in C32 there is no PIN_C3, so I defined it.
http://www.mculabs.com/drivers/mcompat.html
I hope it helps _________________ Michael Bradley
www.mculabs.com
Open Drivers and Projects |
|
|
|