Hallo
ich arbeite zum ersten mal mit CC5X zusammen mit MPLAB und erhalte beim
Build folgende Fehlermeldung:
1 | CC5X Version 3.4B, Copyright (c) B Knudsen Data, Norway 1992-2009
|
2 | --> FREE edition, 8-16 bit int, 24 bit float, 32k code, reduced optim.
|
3 | GLCD_2.c:
|
4 |
|
5 | #if !defined ICD_DEBUG && !defined ICD2_DEBUG
|
6 | #pragma chip PIC16F877, core 14, code 8192, ram 32 : 0x1FF
|
7 | ^------
|
8 | Error[1] C:\Program Files\bknd\CC5X\16F877.H 3 : Duplicate chip definition
|
9 | (Multiple chip definitions detected (option -p<chip> and #include <header.h>).The #include statement should be removed)
|
10 |
|
11 | Error options: -ew: no warning details -ed: no error details -eL: list details
|
Im FAQ von BKN habe ich schon nachgelesen;
7.I got error message: "OPTION ERROR: Duplicate file name or option
error 'Files\bknd\CC5X' ".
MPLAB supplies the include files path as a command line option to CC5X.
However, you need to add doublequotes if the path name contains spaces.
The string should look like "C:\Program Files\bknd\CC5X".
Darauf hin habe ich das Verzeichnis, wo die Header Files liegen in
"" gesetzt, wie es beschrieben war, die brachte allerdings keinen
Erfolg!
Danach erhielt ich diesen Error;
1 | CC5X Version 3.4B, Copyright (c) B Knudsen Data, Norway 1992-2009
|
2 | --> FREE edition, 8-16 bit int, 24 bit float, 32k code, reduced optim.
|
3 | OPTION ERROR: Duplicate file name or option error 'Files\bknd\CC5X'
|
4 | (Check for spaces and misaligned "". Options should not contain
|
5 | spaces, except when using "" to surround file or path names
|
6 | that contain spaces, example -I"c:\Program Files\..")
|
Kann mir jemand weiter helfen?
LG Nico