Using compiler in MPLab - difference to IDE version?

Coding and general discussion relating to the compiler

Moderators: David Barker, Jerry Messina

Post Reply
SHughes_Fusion
Posts: 219
Joined: Wed Sep 11, 2013 1:27 pm
Location: Chesterfield

Using compiler in MPLab - difference to IDE version?

Post by SHughes_Fusion » Wed Mar 05, 2014 2:01 pm

I'm looking at the options for using Swordfish through MPLAB as I'm now working on a collaborative project and the other team member can only get their PICKit working though MPLAB - the stand-alone programmer software doesn't seem to be 64-bit compatible.

I have followed the instructions and got a project set up OK, however I get the following error:
305 : Identifier not declared : _ProjectVersionStr

I use this as per a suggestion from David a few months back as a way to get a compile revision. I'm guessing this isn't compatible between the two versions of Swordfish? If there an alternative for the command-line compiler and is there any way to do this that is compatible with both?

User avatar
David Barker
Swordfish Developer
Posts: 1214
Joined: Tue Oct 03, 2006 7:01 pm
Location: Saltburn by the Sea, UK
Contact:

Re: Using compiler in MPLab - difference to IDE version?

Post by David Barker » Wed Mar 05, 2014 3:06 pm

Project information is managed by the Swordfish IDE - if you use MPLAB, this information is not available...

SHughes_Fusion
Posts: 219
Joined: Wed Sep 11, 2013 1:27 pm
Location: Chesterfield

Re: Using compiler in MPLab - difference to IDE version?

Post by SHughes_Fusion » Wed Mar 05, 2014 3:08 pm

Makes sense I guess! I notice that in MPLAB there is a box for Version Control - is this accessible in any way to Swordfish, or is the only way to get it in my code to have manually updated consts?

User avatar
David Barker
Swordfish Developer
Posts: 1214
Joined: Tue Oct 03, 2006 7:01 pm
Location: Saltburn by the Sea, UK
Contact:

Re: Using compiler in MPLab - difference to IDE version?

Post by David Barker » Wed Mar 05, 2014 3:09 pm

> I notice that in MPLAB there is a box for Version Control - is this accessible in any way to Swordfish

No

User avatar
David Barker
Swordfish Developer
Posts: 1214
Joined: Tue Oct 03, 2006 7:01 pm
Location: Saltburn by the Sea, UK
Contact:

Re: Using compiler in MPLab - difference to IDE version?

Post by David Barker » Wed Mar 05, 2014 3:11 pm

Why not create a project in MPLAB but build in the Swordfish IDE? When you switch to MPLAB, it should reload the *.hex file ready for programming

Post Reply