|
|
View previous topic :: View next topic |
Author |
Message |
Guest
|
Switching between different compilers..... |
Posted: Thu Feb 04, 2010 10:49 am |
|
|
Hi All,
After programming with the PIC16 series devices, I'm about to start work on my first PIC18 project. How easy is it to switch between different compilers when using MPLAB? Is it pretty painless, or would I be better off installing a 2nd instance of MPLAB and running them separately?
Jeff |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Thu Feb 04, 2010 2:03 pm |
|
|
Quote: |
I'm about to start work on my first PIC18 project. How easy is it to
switch between different compilers when using MPLAB?
|
It's automatic. When you use the Project Wizard in MPLAB to create a
new project, you are asked to specify the PIC. The Wizard then
automatically sets up the specified PIC in the "Configure - Select Device"
menu. When you compile the new project, it automatically selects the
PCH compiler. So it's very easy.
Just remember that only the main source file in your project should be
"added to the project" when you're in the Wizard. Later, you can add
all the included .c modules (if you have any) to the "Other Files" section
in the MPLAB Navigation window. This is not required. It's just done
for easy access to the files.
Also, it's best if the PCM and PCH compilers are the same version.
There can be a conflict in the .DLL files if they are different versions.
This is only an issue if you buy the individual PCM and PCH command
line compilers separately from CCS at different times (and you don't
buy the maintenance). It's not an issue if you bought the IDE compiler.
In that case, all the compilers are automatically the same version. |
|
|
Guest
|
|
Posted: Fri Feb 05, 2010 10:16 am |
|
|
Hi PCM,
Thanks for the reply!
Related to this new project, I'd like to upgrade to the latest version of MPLAB. I'm currently running v7.6 and it's working fine, but it won't open project files created using later versions. I'm really loathe to make changes here because I'm afraid I'll pooch what is already working.....
So, if I upgrade to the latest MPLAB will I have to run some integration tool again from CCS to make it play well with the compiler?
Thanks,
Jeff |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|