Bug 175685 - support interrupt functions
Summary: support interrupt functions
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 4.0   Edit
Hardware: All Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-27 07:19 EST by Christo CLA
Modified: 2020-09-04 15:21 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christo CLA 2007-02-27 07:19:04 EST
Would it be possible to make the parser understand interrupt functions used by embedded compilers.
The ones we use look like this.
void funct(void) __interrupt[TIMERA1_VECTOR]
interrupt (TIMERB0_VECTOR) funct (void)

At the moment these don't show up in the outline and code completion is not working in that function.
Comment 1 Doug Schaefer CLA 2018-10-22 10:23:21 EDT
Which compiler is this. It's an interesting extension to C.
Comment 2 Christo CLA 2018-10-23 05:56:12 EDT
The first format is the IAR compiler, TIMERA1_VECTOR is a offset.

The second one is for Rowley CrossWorks for MSP430, only version 1, they updated their compiler to use the IAR format in the later versions.