View previous topic :: View next topic |
Author |
Message |
pjlopes
Joined: 09 Mar 2005 Posts: 3
|
RTOS and Multiple Compilation Units |
Posted: Fri Sep 05, 2008 7:26 am |
|
|
Hi,
Has anyone succesfully built a project with multiple compilation units and RTOS using PCW 4.076?
In order to simplify, I have two *.c and two *.h. Main.c has the RTOS tasks and other unit has a function I only run once from main.c.
Both compile but getting errors on link:
C:\Program Files\PICC_demo\Temp\RTOS_syntax\RTOS_001.o ===> 0 Errors, 0 Warnings.
*** "Task_1.c" Line 16: Error #44: Internal Error - Contact CCS LABEL SCR=1154
1 Errors, 0 Warnings. |
|
|
Franck26
Joined: 29 Dec 2007 Posts: 122 Location: Ireland
|
|
Posted: Sun Sep 07, 2008 2:27 am |
|
|
Hello pjlopes,
I have tried several time to use the multicompilation unit with CCS, but never successfully...
There are a lot of post about problem with the mutlicompilation unit and I as far as I remember nobody made it working .
Good luck,
Franck. |
|
|
pjlopes
Joined: 09 Mar 2005 Posts: 3
|
|
Posted: Sun Sep 07, 2008 10:24 am |
|
|
Thank you for your reply Franck.
Fortunately, I have figured out how to get multiple compilation units going with the help of the documentation and this forum. My problem is I can not take a working multiple compilation project and simply add the RTOS. Seems like it is one or the other but not both...
This problem has been forwarded to CCS directly as the error message suggests but, no response yet. So, I thought I would throw it out there.
Again, I know you can do multiple compilation projects AND I know you can compile and build an RTOS project. Has anyone done both in the same project?
Thanks again,
Paul |
|
|
|