With one c file no problem but with 2 file the ccs linker complain.
From ccs "ccsinfo.com/faq.php?page=ccs_mplab"
Scroll most down there are some hints.
Code:
If you add multiple .c files to the project, they will be compiled to .o files and then linked in the final stage. An already compiled .o file can be added to the project, and will be linked during the Make/Build process. If there is only one source in the project, it will be compiled and linked in one phase (no .o file will be created).
but it wont work, the error is that the linker wont link the 2 small module.
dnatechnical
Joined: 26 Nov 2009 Posts: 19
Posted: Tue Dec 08, 2009 8:23 am
you can include in your c or header file
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Tue Dec 08, 2009 4:49 pm
Do you have the full IDE (PCWH, PCWHD), or just one of the command
line compilers (PCM, PCH, etc) ? You only get the linker with the full IDE.
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