View previous topic :: View next topic |
Author |
Message |
simran.siliconlabs Guest
|
Compiling first program in CCS C |
Posted: Tue Jan 29, 2008 1:21 am |
|
|
Hi,
I am newbie in CCS C...
How can i compile my first program in CCS C...
any link...
Regards,
Simran.. |
|
|
wollibk
Joined: 25 Jan 2008 Posts: 4 Location: Stuttgart / Germany
|
... |
Posted: Tue Jan 29, 2008 2:37 am |
|
|
General:
ccsc.exe <options> <c-filename>
Try:
ccsc.exe +FM +EA +OW +T +A +Y9 +ES mytest.c for 14bit devices
ccsc.exe +FB +EA +OW +T +A +Y9 +ES mytest.c for 12bit devices
ccsc.exe +FH +EA +OW +T +A +Y9 +ES mytest.c for PIC18xxx
For valid option on ccsc see:
ccsc.exe +?
Or look into the compiler reference manual (page 4ff)... ;-)
regards Thomas |
|
|
Guest
|
Hi... |
Posted: Tue Jan 29, 2008 3:28 am |
|
|
Hi,
I am unable to understand the commands given by you...
Please a clarity is needed...
Regards,
Simran.. |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Tue Jan 29, 2008 12:31 pm |
|
|
Post the CCS compiler that you have.
Which one of these do you have ?
1. PCWH
2. PCWH demo version.
3. PCB free version bundled with MPLAB.
4. PCM or PCH command line compilers, that are integrated into MPLAB.
5. Student edition.
6. etc.
Also post the compiler version if you know it. |
|
|
simran.siliconlabs Guest
|
PCM 3.107D |
Posted: Tue Jan 29, 2008 10:58 pm |
|
|
It is written PCM compiler version 3.107D
Regards,
Simran.. |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
|
|