cancel
Showing results for 
Search instead for 
Did you mean: 

Knowledge Base Articles

PSoC® Creator™ Auto-complete Does Not Work in PSoC 3 Projects with ISRs - KBA223190

chaitanyav_41
Employee

PSoC® Creator™ Auto-complete Does Not Work in PSoC 3 Projects with ISRs - KBA223190

Version: **

Translation - Japanese: PSoC®Creator™のオートコンプリートがISRを含むPSoC 3プロジェクトで機能しない -KBA223190 - Community Translated (JA)

Question:

When I add ISR routines to a C file in my PSoC 3 project, the auto-complete feature fails to work. Why?

Answer:

PSoC Creator uses the Clang compiler to enable the auto-complete feature.
The Keil compiler uses non-standard C syntax for interrupts; this causes Clang to become corrupt. This error only affects PSoC 3 where Keil is used.

Workaround:

Move the CY_ISR to the bottom of the affected C files.

Example:

CY_ISR_PROTO(Interrupt_Handler);

int main(void)

{

CyGlobalIntEnable; /* Enable global interrupts. */

ISR_StartEx(Interrupt_Handler);

……

}

CY_ISR(Interrupt_Handler)

{

     ……

}

0 Likes
Version history
Revision #:
1 of 1
Last update:
‎Mar 15, 2018 07:27 AM
Updated by:
 
Contributors