View previous topic :: View next topic |
Author |
Message |
maikelmeyers Guest
|
#DEVICE HIGH_INTS=TRUE doesn't work |
Posted: Wed Jan 17, 2007 6:25 am |
|
|
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
|
|
Posted: Wed Jan 17, 2007 10:12 am |
|
|
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
|
|
Posted: Wed Jan 17, 2007 10:51 am |
|
|
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
|
|
Posted: Wed Jan 17, 2007 11:03 am |
|
|
Ah, now I know
He don't know the TRUE, because this is defined later in the device header file
tricky |
|
|
|