CW 10 Eclipse Interrupt Yellow Underline

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

CW 10 Eclipse Interrupt Yellow Underline

2,008件の閲覧回数
emh203
Contributor II

Hello:

 

In CW10 all of my interrupt routines:

 

 

interrupt VectorNumber_Vtpm2ovf void TPM1_Overflow(void)

 

are all yellow underlined and reports as a syntax error (with a question mark beside it).

 

The code compiles fine.  I just want to get rid of the marker.

ラベル(1)
タグ(1)
0 件の賞賛
返信
4 返答(返信)

1,006件の閲覧回数
darknight
Contributor III

Hi,

 

I have the same problem, if I use vector in prm file only the first line on interrupt is syntax error,

and without use prm file like emh203 the interrupt is underlined with syntax error. 

 

:smileysad:

 

0 件の賞賛
返信

1,006件の閲覧回数
CarlFST60L
Senior Contributor II

All these years later and it is still not fixed, I just submitted a service request.

0 件の賞賛
返信

1,006件の閲覧回数
robert_t
Contributor I

Same problem, any response?

0 件の賞賛
返信

1,006件の閲覧回数
kef
Specialist I

Interrupt keyword isn't standard. You could use Eclipse friendly #pragma TRAP_PROC to make function returning with RTI instruction. But then you need vectors table.

0 件の賞賛
返信