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 support@ccsinfo.com

#DEVICE HIGH_INTS=TRUE doesn't work

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







#DEVICE HIGH_INTS=TRUE doesn't work
PostPosted: Wed Jan 17, 2007 6:25 am     Reply with quote

Hi,

I'm using CCS compiler V4.020
and the HIGH_INTS=TRUE option doesn't work

I tried
#DEVICE PIC18F4520 HIGH_INTS=TRUE

or
#DEVICE PIC18F4520
#DEVICE HIGH_INTS=TRUE

In both cases the compiler told me: Error 104 "..." Line 2(9,73): Extra characters on preprocessor command line

What is wrong?
Ttelmah
Guest







PostPosted: Wed Jan 17, 2007 10:12 am     Reply with quote

You shouldn't need the processor definition, if you are including the header file for the chip:
Code:

#include <18F4520.h>
#device HIGH_INTS=TRUE


Compiles fine for me.

Best Wishes
Guest








PostPosted: Wed Jan 17, 2007 10:51 am     Reply with quote

yeah, but I did this in the 18F4520.h and this header file is the first included in the project
It doesn't compile, I don't know why



Code:

//////// Standard Header file for the PIC18F4520 device ////////////////
#device PIC18F4520 WRITE_EEPROM=ASYNC PASS_STRINGS=IN_RAM HIGH_INTS=TRUE
maikelmeyers
Guest







PostPosted: Wed Jan 17, 2007 11:03 am     Reply with quote

Ah, now I know
He don't know the TRUE, because this is defined later in the device header file

tricky Smile
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