View previous topic :: View next topic |
Author |
Message |
koenbielen
Joined: 23 Apr 2009 Posts: 42
|
MPLAB X |
Posted: Thu May 26, 2011 10:49 am |
|
|
Hi,
is it possible to use CCS on MPLAB X
if yes, how to do?
The error I get is :
invalid option:out=dist/default/production
thanks
byby |
|
|
ckielstra
Joined: 18 Mar 2004 Posts: 3680 Location: The Netherlands
|
|
Posted: Fri May 27, 2011 12:40 am |
|
|
MPLAB X is still in Beta and as I understand it you need a special beta release of the CCS compiler to make them work together. More info in this thread. |
|
|
koenbielen
Joined: 23 Apr 2009 Posts: 42
|
mplab x |
Posted: Fri Dec 09, 2011 5:28 pm |
|
|
Tried V 7.12
CCS is not working
invalid option out="dist/default/production"
to bad we cannot use this program mplab X with CCS
lets see in 2 months if this is solved
|
|
|
jrbrown59
Joined: 27 Sep 2011 Posts: 3 Location: USA, midwest
|
|
Posted: Wed Dec 14, 2011 6:31 am |
|
|
What is the version of your CCS compiler?
I am using PCM 4.121 and it works for me, just make sure that your
file and project names do not have spaces. |
|
|
koenbielen
Joined: 23 Apr 2009 Posts: 42
|
PIC CCS MPLAB X not working |
Posted: Wed Dec 14, 2011 12:22 pm |
|
|
Hi,
thank you for comment.
Version is 4.3.0.220
filename should be fine.
Code: |
make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make[1]: Entering directory `C:/Documents and Settings/koen/MPLABXProjects/test.X'
make -f nbproject/Makefile-default.mk dist/default/production/test.X.production.cof
make[2]: Entering directory `C:/Documents and Settings/koen/MPLABXProjects/test.X'
gnumkdir -p build/default/production
gnumkdir -p dist/default/production
"C:\Program Files\PICC\CCSC.exe" out="dist/default/production" "test.c" +FH +DF +Y=9 +EA +DF +LN +T +A +M +J +ES +Z +PE #__18F4525=TRUE
make[2]: *** [build/default/production/test.o] Error 11
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
make[2]: Leaving directory `C:/Documents and Settings/koen/MPLABXProjects/test.X'
make[1]: Leaving directory `C:/Documents and Settings/koen/MPLABXProjects/test.X'
BUILD FAILED (exit value 2, total time: 36s) |
|
|
|
koenbielen
Joined: 23 Apr 2009 Posts: 42
|
any update on the mplab ide X compiling error |
Posted: Thu Mar 15, 2012 1:01 pm |
|
|
any update on the mplab ide X compiling error?
thanks |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Thu Mar 15, 2012 1:11 pm |
|
|
Quote: | Version is 4.3.0.220
|
That's not the compiler version. That number is from right-clicking on the
icon for the CCSC.exe file, and selecting Properties, and then the Version tab.
To find the compiler version, look at the top of a .LST file, for a project
that you have successfully compiled (the .LST file is only present after
a successful compilation). It's a 4-digit number (only) in this format: x.xxx
Examples of version numbers:
http://www.ccsinfo.com/devices.php?page=versioninfo |
|
|
koenbielen
Joined: 23 Apr 2009 Posts: 42
|
compiler version |
Posted: Thu Mar 15, 2012 1:40 pm |
|
|
hello
CCS PCH C Compiler, Version 4.093, 46967
thanks |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Thu Mar 15, 2012 2:24 pm |
|
|
Well the other guy said it worked with vs. 4.121, so your version may
be too early for it to work successfully.
Vs. 4.093 came out in May of 2009, and 4.121 came out two years later
in May 2011. |
|
|
jeremiah
Joined: 20 Jul 2010 Posts: 1345
|
|
Posted: Thu Mar 15, 2012 4:14 pm |
|
|
I have been using it with both 4.124 and 4.130 without much issue. The biggest gripe is sometimes it cannot locate the device files anymore and you have to manually add the device directory to the "include directories" section of your project options. Aside from that, it annoys me that it highlights CCS functions as warnings, but I can understand that since they aren't actually functions and aren't declared or defined in most cases.
The simulator is also starting to come around. It can't fully handle table based instructions, but can do simple stuff so far. Just bear in mind that it isn't 100% like real hardware. |
|
|
|