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

Suppressing Fuses

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



Joined: 10 Jul 2007
Posts: 465

View user's profile Send private message

Suppressing Fuses
PostPosted: Wed Dec 24, 2014 3:59 pm     Reply with quote

I have not always had an easy time finding just the right FUSE desginators from the .H file, so I want to skip all that and specify them myself with the #ROM directive, as in:

#ROM 0x8007 = {0x09C4} //(config settings)
#ROM 0x8008 = {0x1AFF} //(config settings)

for a 16F1823 project of mine. When I look at the generated HEX file, I see my config settings all right:

:04000E00C409FF1A08
:04000E00E739FF0FC0

The first line is my settings. The second line is the CCS default config settings for this PIC. Is there a directive to tell the compiler to omit the default config bits so my #ROM-specified config bits can take effect?
_________________
Robert Scott
Real-Time Specialties
Embedded Systems Consulting
RLScott



Joined: 10 Jul 2007
Posts: 465

View user's profile Send private message

Re: Suppressing Fuses
PostPosted: Wed Dec 24, 2014 4:23 pm     Reply with quote

Never mind. I found it:

#FUSES none
_________________
Robert Scott
Real-Time Specialties
Embedded Systems Consulting
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