View previous topic :: View next topic |
Author |
Message |
cindyw
Joined: 21 Oct 2004 Posts: 9
|
how to set CCS menu? |
Posted: Thu Mar 17, 2005 8:45 pm |
|
|
Anybody can explane the following two issues? Thanks.
1, Menu of Project/ set language toolsuite/, there are two options: CCS compiler and CCS compiler for PIC 12/14/16/18.
May I know which to select. what is the difference?
2, in the workspace, If I add two (*.c) file under Source File, there is a lot errors. However, if I add them under Other Files. No errors anymore. Why?
These two *.c file is included by main.c
_________________ CC |
|
|
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
|
|
Posted: Sat Mar 19, 2005 7:55 pm |
|
|
CCS compiler for PIC 12/14/16/18 is the right one. The other one doesn't work.
CCS is a single source compiler and you can only have 1 source file. You can include other files from the main file. If you add mulitple C files to the project, the IDE will invoke the compiler for each of the files and give you the errors. |
|
|
Guest
|
|
Posted: Sun Mar 20, 2005 5:37 am |
|
|
Thanks.
I finally get a explanation for what I observed. |
|
|
|