Pic 30F6012A Int macro fehler

Support-Forum für Deutschsprachige, die in ihrer Muttersprache schreiben möchten.

Moderator: Benj

Post Reply
saschech@gmx.de
Posts: 714
Joined: Wed Jan 31, 2007 12:41 pm
Has thanked: 1 time
Been thanked: 26 times
Contact:

Pic 30F6012A Int macro fehler

Post by saschech@gmx.de »

Hallo

Habe ein problem mit dem INT_Macro:

Int0,Int1,Int2 kann ich nach hex compilieren.

Int3,Int4 ergibt:

master_ecio40pin30F6012A.c: In function 'FCM_i2c_read_byte':
master_ecio40pin30F6012A.c:9549: warning: unused variable 'FCL_RET_VAL_DUMMI'
master_ecio40pin30F6012A.c: In function 'main':
master_ecio40pin30F6012A.c:10257: error: 'IEC3bits' undeclared (first use in this function)
master_ecio40pin30F6012A.c:10257: error: (Each undeclared identifier is reported only once
master_ecio40pin30F6012A.c:10257: error: for each function it appears in.)
master_ecio40pin30F6012A.c: In function '_INT3Interrupt':
master_ecio40pin30F6012A.c:10809: error: 'IFS3bits' undeclared (first use in this function)

Error returned from [pic30-gcc.exe]

Return code = 1



master_ecio40pin30F6012A.c: In function 'FCM_i2c_read_byte':
master_ecio40pin30F6012A.c:9549: warning: unused variable 'FCL_RET_VAL_DUMMI'
master_ecio40pin30F6012A.c: In function 'main':
master_ecio40pin30F6012A.c:10257: error: 'IEC3bits' undeclared (first use in this function)
master_ecio40pin30F6012A.c:10257: error: (Each undeclared identifier is reported only once
master_ecio40pin30F6012A.c:10257: error: for each function it appears in.)
master_ecio40pin30F6012A.c: In function '_INT4Interrupt':
master_ecio40pin30F6012A.c:10809: error: 'IFS3bits' undeclared (first use in this function)

Error returned from [pic30-gcc.exe]

Return code = 1

Was kann ich tun?

Gruss Wolfgang

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Pic 30F6012A Int macro fehler

Post by Benj »

Hallo Wolfgang

Ok kann dies durch Hinzufügen der folgenden Zeilen, die definiert, Code-Abschnitt des ergänzenden Code-Fenster befestigt werden.

#define IEC3bits IEC2bits
#define IFS3bits IFS2bits

Lassen Sie mich wissen, wie Sie zu erhalten.


Hello Wolfgang

Ok this can be fixed by adding the following lines to the defines code section of the supplementary code window.

#define IEC3bits IEC2bits
#define IFS3bits IFS2bits

Let me know how you get on.

saschech@gmx.de
Posts: 714
Joined: Wed Jan 31, 2007 12:41 pm
Has thanked: 1 time
Been thanked: 26 times
Contact:

Re: Pic 30F6012A Int macro fehler

Post by saschech@gmx.de »

Hallo Benj

Das Einfügen de Cod`s in das supplementary code fenster hat funktioniert.
Kann man das nicht direkt in das 30F6012A.fcd file einfügen?
Der Mensch vergisst schnell.............

Danke und gruss Wolfgang

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Pic 30F6012A Int macro fehler

Post by Benj »

Hallo Wolfgang,

Hier sind die aktualisierten FCD-Dateien mit dem Problem behoben.


Hi Wolfgang,

Here are the updated FCD files with the problem fixed.
Attachments
30F_Updated_INT3&4.zip
(39.41 KiB) Downloaded 389 times

saschech@gmx.de
Posts: 714
Joined: Wed Jan 31, 2007 12:41 pm
Has thanked: 1 time
Been thanked: 26 times
Contact:

Re: Pic 30F6012A Int macro fehler

Post by saschech@gmx.de »

Hallo Benj

Für V4.5 gibt es einen Update-Ordner:

Temporary fixes for V4.5 PICmicro release
by Steve » 29 Jul 2011, 10:00
Rating:40%

Wird solch ein Ordner auch für die anderen Versionen erstellt?
Ich würde es begrüßen.

Gruß Wolfgang

saschech@gmx.de
Posts: 714
Joined: Wed Jan 31, 2007 12:41 pm
Has thanked: 1 time
Been thanked: 26 times
Contact:

Re: Pic 30F6012A Int macro fehler

Post by saschech@gmx.de »

Hallo Team

Davida schriebt:
Hallo Wolfgang,

Ich denke, das ist das, was wir uns nicht los. Wir werden ein Thema in den Foren für die neueste Version von Flowcode für PIC / dsPIC / AVR / ARM haben. Diese Themen werden enthalten alle Fixes für diese Version.

--------------

Hello Wolfgang,

I think this is what we will do going forward. We will have a topic on the forums for the latest version of Flowcode for PIC/dsPIC/AVR/ARM. These topics will contain all the temporary fixes for that version.

Gruss Wolfgang

Post Reply