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

Problem with fuses 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
sjb



Joined: 13 Apr 2010
Posts: 34
Location: UK

View user's profile Send private message

Problem with fuses and multiple compilation units
PostPosted: Thu Apr 22, 2010 5:04 am     Reply with quote

I have traditional c style project with multiple .c files that are compiled and then linked with ccs v4.1.06 but the fuse setting in the .hex file are wrong (target is a PIC18F8720).

Each .c file #includes the same header that contains all the fuse settings.

The reference manual has only brief information on how the linker works and no specific mention of the #fuses but what I'm doing seems correct.

If I compile with just one .c file the the fuse setting are correct.

Can anyone confirm that #fuse settings are handled correctly when linking multiple .o files, or suggest what I might be missing.

Steven
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