CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

RTOS and Multiple Compilation Units

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
pjlopes



Joined: 09 Mar 2005
Posts: 3

View user's profile Send private message

RTOS and Multiple Compilation Units
PostPosted: Fri Sep 05, 2008 7:26 am     Reply with quote

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

View user's profile Send private message

PostPosted: Sun Sep 07, 2008 2:27 am     Reply with quote

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 Sad .

Good luck,
Franck.
pjlopes



Joined: 09 Mar 2005
Posts: 3

View user's profile Send private message

PostPosted: Sun Sep 07, 2008 10:24 am     Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group