Hai
I am a new user of CCS and a beginner to C compilers for pic.
I am using ccs from MPLAB. I have installed the latest plugin also.
like some other compilers (keil for 8051) can we use multiple sourse files in MPLAB project?
When I had attached different sourse files to the project in mplab it is not working, but when I included the other sourse (.C) files into main file it is working.
What is wrong? is CCS supports only include method other than multiple files for project or it is some other mistake by me?
Picstudent
StuH_CC
Joined: 07 May 2004 Posts: 16 Location: Shropshire, UK
Posted: Wed Dec 08, 2004 5:35 am
Unfortunately, "#include"ing source files into the main file is the only way of using multiple source files in CCS (that I know about!)
Does anyone know if "real" project support is ever likely to happen?
Skipper
Joined: 20 Nov 2004 Posts: 12 Location: Austria
Posted: Wed Dec 08, 2004 8:14 am
In "Source File" you can only set one xx.c File - the main.c File.
With #include xxx.c you can include other c-Files.
The other c-Files I put in "Other Files" so you can see it in MPlab and edit it. The Header Files in "Header Files".
That�s the way I am working with MPLAB and CCS.
Greetings !!!!
Skipper
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
Posted: Wed Dec 08, 2004 8:47 am
Quote:
Does anyone know if "real" project support is ever likely to happen?
Read on their website. I saw something a while back.
picstudent
Joined: 16 Jun 2004 Posts: 5
Posted: Thu Dec 09, 2004 10:45 pm
hai everybody
Thanks for the clarifications.
I have wasted a lot of time trying to work as in Keil.
There examples are also showing include method only.
Picstudent
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